integer Test_x343 array VoidFunction_nextFree481 integer VoidFunction_firstFree188 integer VoidFunction_maxIndex462 array VoidFunction_typeId145 integer Test_x343 = 0 integer VoidFunction_firstFree188 = 0 integer VoidFunction_maxIndex462 = 0 function initGlobals189() { } function main546() { initGlobals189(); cyc_foo213(2, 10, 0); if (Test_x_343 == 11) { testSuccess152(); } else { }; } function config851() { } IS_NATIVE function testSuccess152() { } function error111(string msg127) { $debugPrint191((msg_127 + (" " + #getStackTrace()))); } function cyc_foo213(integer funcChoice630, integer i176, any t390) { if (funcChoice_630 == 0) { Test_x_343 = (Test_x_343 + 1); if (VoidFunction_firstFree_188 == 0) { if (VoidFunction_maxIndex_462 < 32768) { VoidFunction_maxIndex_462 = (VoidFunction_maxIndex_462 + 1); funcChoice_630 = VoidFunction_maxIndex_462; VoidFunction_typeId_145[funcChoice_630] = 2; } else { error111("Out of memory: Could not create VoidFunction_Test."); funcChoice_630 = 0; }; } else { VoidFunction_firstFree_188 = (VoidFunction_firstFree_188 - 1); funcChoice_630 = VoidFunction_nextFree_481[VoidFunction_firstFree_188]; VoidFunction_typeId_145[funcChoice_630] = 2; }; cyc_foo213(1, funcChoice_630, i_176); } else { if (funcChoice_630 == 1) { if (VoidFunction_typeId_145[i_176] == 0) { if (i_176 == 0) { error111("Nullpointer exception when calling VoidFunction.call"); } else { error111("Called VoidFunction.call on invalid object."); }; } else { }; if (VoidFunction_typeId_145[i_176] <= 2) { cyc_foo213(2, (t_390 - 1), 0); } else { cyc_foo213(0, (t_390 - 1), 0); }; } else { if (funcChoice_630 == 2) { Test_x_343 = (Test_x_343 + 1); if (VoidFunction_firstFree_188 == 0) { if (VoidFunction_maxIndex_462 < 32768) { VoidFunction_maxIndex_462 = (VoidFunction_maxIndex_462 + 1); funcChoice_630 = VoidFunction_maxIndex_462; VoidFunction_typeId_145[funcChoice_630] = 3; } else { error111("Out of memory: Could not create VoidFunction_Test."); funcChoice_630 = 0; }; } else { VoidFunction_firstFree_188 = (VoidFunction_firstFree_188 - 1); funcChoice_630 = VoidFunction_nextFree_481[VoidFunction_firstFree_188]; VoidFunction_typeId_145[funcChoice_630] = 3; }; if (i_176 > 0) { cyc_foo213(1, funcChoice_630, i_176); } else { }; } else { }; }; }; }