array A_nextFree198 integer A_firstFree584 integer A_maxIndex180 array A_typeId208 integer A_firstFree584 = 0 integer A_maxIndex180 = 0 function initGlobals164() { } function main724() { local integer a131 local integer instanceOfTemp545 initGlobals164(); a_131 = new_C522(); instanceOfTemp_545 = A_typeId_208[a_131]; if ((instanceOfTemp_545 >= 2) and (instanceOfTemp_545 <= 3)) { testSuccess125(); } else { }; } function config119() { } IS_NATIVE function testSuccess125() { } function new_C522() returns integer { local integer this200 local integer this153 local integer this104 if (A_firstFree_584 == 0) { if (A_maxIndex_180 < 32768) { A_maxIndex_180 = (A_maxIndex_180 + 1); this_153 = A_maxIndex_180; A_typeId_208[this_153] = 3; } else { error313("Out of memory: Could not create C."); this_153 = 0; }; } else { A_firstFree_584 = (A_firstFree_584 - 1); this_153 = A_nextFree_198[A_firstFree_584]; A_typeId_208[this_153] = 3; }; this_200 = this_153; this_104 = this_200; return this_200; } function error313(string msg138) { $debugPrint480((msg_138 + (" " + #getStackTrace()))); }