integer Test_x729 array VoidFunction_nextFree766 integer VoidFunction_firstFree114 integer VoidFunction_maxIndex214 array VoidFunction_typeId112 integer Test_x729 = 0 integer VoidFunction_firstFree114 = 0 integer VoidFunction_maxIndex214 = 0 function initGlobals118() { } function main809() { initGlobals118(); cyc_foo818(2, 10, 0); if (Test_x_729 == 11) { testSuccess525(); } else { }; } function config470() { } IS_NATIVE function testSuccess525() { } function error111(string msg322) { $debugPrint141((msg_322 + (" " + #getStackTrace()))); } function cyc_foo818(integer funcChoice582, integer i637, any t628) { if (funcChoice_582 == 0) { Test_x_729 = (Test_x_729 + 1); if (VoidFunction_firstFree_114 == 0) { if (VoidFunction_maxIndex_214 < 32768) { VoidFunction_maxIndex_214 = (VoidFunction_maxIndex_214 + 1); funcChoice_582 = VoidFunction_maxIndex_214; VoidFunction_typeId_112[funcChoice_582] = 2; } else { error111("Out of memory: Could not create VoidFunction_Test."); funcChoice_582 = 0; }; } else { VoidFunction_firstFree_114 = (VoidFunction_firstFree_114 - 1); funcChoice_582 = VoidFunction_nextFree_766[VoidFunction_firstFree_114]; VoidFunction_typeId_112[funcChoice_582] = 2; }; cyc_foo818(1, funcChoice_582, i_637); } else { if (funcChoice_582 == 1) { if (VoidFunction_typeId_112[i_637] == 0) { if (i_637 == 0) { error111("Nullpointer exception when calling VoidFunction.call"); } else { error111("Called VoidFunction.call on invalid object."); }; } else { }; if (VoidFunction_typeId_112[i_637] <= 2) { cyc_foo818(2, (t_628 - 1), 0); } else { cyc_foo818(0, (t_628 - 1), 0); }; } else { if (funcChoice_582 == 2) { Test_x_729 = (Test_x_729 + 1); if (VoidFunction_firstFree_114 == 0) { if (VoidFunction_maxIndex_214 < 32768) { VoidFunction_maxIndex_214 = (VoidFunction_maxIndex_214 + 1); funcChoice_582 = VoidFunction_maxIndex_214; VoidFunction_typeId_112[funcChoice_582] = 3; } else { error111("Out of memory: Could not create VoidFunction_Test."); funcChoice_582 = 0; }; } else { VoidFunction_firstFree_114 = (VoidFunction_firstFree_114 - 1); funcChoice_582 = VoidFunction_nextFree_766[VoidFunction_firstFree_114]; VoidFunction_typeId_112[funcChoice_582] = 3; }; if (i_637 > 0) { cyc_foo818(1, funcChoice_582, i_637); } else { }; } else { }; }; }; }