array I_nextFree684 integer I_firstFree103 integer I_maxIndex178 code ref_function_code__foo_test780 integer I_firstFree103 = 0 integer I_maxIndex178 = 0 code ref_function_code__foo_test780 = function code__foo_test function initGlobals445() { ref_function_code__foo_test_780 = function code__foo_test; } function main176() { initGlobals445(); init_test121(); } function config151() { } function init_test121() { foo137(ref_function_code__foo_test_780); } function foo137(code c159) { } function bar814(integer i770) { } function code__foo_test208() { bar814(alloc_I_bar_foo_test107()); } function alloc_I_bar_foo_test107() returns integer { local integer this102 if (I_firstFree_103 == 0) { if (I_maxIndex_178 < 32768) { I_maxIndex_178 = (I_maxIndex_178 + 1); this_102 = I_maxIndex_178; } else { error144("Out of memory: Could not create I_bar_foo_test."); this_102 = 0; }; } else { I_firstFree_103 = (I_firstFree_103 - 1); this_102 = I_nextFree_684[I_firstFree_103]; }; return this_102; } function error144(string msg304) { $debugPrint647((msg_304 + (" " + #getStackTrace()))); }