array ABC_nextFree626 integer ABC_firstFree913 integer ABC_maxIndex136 array A_nextFree113 integer A_firstFree144 integer A_maxIndex201 integer ABC_firstFree913 = 0 integer ABC_maxIndex136 = 0 integer A_firstFree144 = 0 integer A_maxIndex201 = 0 integer B_firstFree111 = 0 integer B_maxIndex150 = 0 function initGlobals214() { } function main126() { initGlobals214(); init_A407(); } function config681() { } function init_A407() { local integer clVar157 local integer this135 if (ABC_firstFree_913 == 0) { if (ABC_maxIndex_136 < 32768) { ABC_maxIndex_136 = (ABC_maxIndex_136 + 1); this_135 = ABC_maxIndex_136; } else { error177("Out of memory: Could not create ABC_A."); this_135 = 0; }; } else { ABC_firstFree_913 = (ABC_firstFree_913 - 1); this_135 = ABC_nextFree_626[ABC_firstFree_913]; }; clVar_157 = this_135; new_A204(clVar_157); } IS_NATIVE function testSuccess108() { } function new_A204(integer a114) returns integer { local integer this101 local integer this111 if (A_firstFree_144 == 0) { if (A_maxIndex_201 < 32768) { A_maxIndex_201 = (A_maxIndex_201 + 1); this_111 = A_maxIndex_201; } else { error177("Out of memory: Could not create A."); this_111 = 0; }; } else { A_firstFree_144 = (A_firstFree_144 - 1); this_111 = A_nextFree_113[A_firstFree_144]; }; this_101 = this_111; testSuccess108(); return this_101; } function error177(string msg209) { $debugPrint183((msg_209 + (" " + #getStackTrace()))); }