array A_nextFree164 integer A_firstFree968 integer A_maxIndex869 integer A_firstFree968 = 0 integer A_maxIndex869 = 0 function initGlobals145() { } function main574() { initGlobals145(); init_test185(); } function config109() { } function init_test185() { new_A945(1); testSuccess102(); } IS_NATIVE function testSuccess102() { } function A_init420(integer this790) { } function new_A945(integer i440) returns integer { local integer this123 this_123 = alloc_A189(); construct_A212(this_123, i_440); return this_123; } function construct_A212(integer this200, integer i126) { A_init420(this_200); } function alloc_A189() returns integer { local integer this109 if (A_firstFree_968 == 0) { if (A_maxIndex_869 < 32768) { A_maxIndex_869 = (A_maxIndex_869 + 1); this_109 = A_maxIndex_869; } else { error111("Out of memory: Could not create A."); this_109 = 0; }; } else { A_firstFree_968 = (A_firstFree_968 - 1); this_109 = A_nextFree_164[A_firstFree_968]; }; return this_109; } function error111(string msg218) { $debugPrint108((msg_218 + (" " + #getStackTrace()))); }