array A_nextFree668 integer A_firstFree561 integer A_maxIndex270 integer A_firstFree561 = 0 integer A_maxIndex270 = 0 function initGlobals240() { } function main452() { initGlobals240(); init_test202(); } function config593() { } function init_test202() { new_A165(1); testSuccess364(); } IS_NATIVE function testSuccess364() { } function A_init196(integer this479) { } function new_A165(integer i263) returns integer { local integer this104 this_104 = alloc_A123(); construct_A133(this_104, i_263); return this_104; } function construct_A133(integer this724, integer i204) { A_init196(this_724); } function alloc_A123() returns integer { local integer this342 if (A_firstFree_561 == 0) { if (A_maxIndex_270 < 32768) { A_maxIndex_270 = (A_maxIndex_270 + 1); this_342 = A_maxIndex_270; } else { error398("Out of memory: Could not create A."); this_342 = 0; }; } else { A_firstFree_561 = (A_firstFree_561 - 1); this_342 = A_nextFree_668[A_firstFree_561]; }; return this_342; } function error398(string msg184) { $debugPrint107((msg_184 + (" " + #getStackTrace()))); }