array I_nextFree421 integer I_firstFree720 integer I_maxIndex547 code ref_function_code__foo_test210 integer I_firstFree720 = 0 integer I_maxIndex547 = 0 code ref_function_code__foo_test210 = function code__foo_test function initGlobals127() { ref_function_code__foo_test_210 = function code__foo_test; } function main209() { initGlobals127(); init_test204(); } function config388() { } function init_test204() { foo949(ref_function_code__foo_test_210); } function foo949(code c114) { } function bar852(integer i141) { } function code__foo_test231() { bar852(alloc_I_bar_foo_test614()); } function alloc_I_bar_foo_test614() returns integer { local integer this951 if (I_firstFree_720 == 0) { if (I_maxIndex_547 < 32768) { I_maxIndex_547 = (I_maxIndex_547 + 1); this_951 = I_maxIndex_547; } else { error180("Out of memory: Could not create I_bar_foo_test."); this_951 = 0; }; } else { I_firstFree_720 = (I_firstFree_720 - 1); this_951 = I_nextFree_421[I_firstFree_720]; }; return this_951; } function error180(string msg809) { $debugPrint142((msg_809 + (" " + #getStackTrace()))); }