integer Test_x152 array VoidFunction_nextFree202 integer VoidFunction_firstFree119 integer VoidFunction_maxIndex761 array VoidFunction_typeId182 integer Test_x152 = 0 integer VoidFunction_firstFree119 = 0 integer VoidFunction_maxIndex761 = 0 function initGlobals785() { } function main554() { initGlobals785(); cyc_foo609(2, 10, 0); if (Test_x_152 == 11) { testSuccess429(); } else { }; } function config205() { } IS_NATIVE function testSuccess429() { } function error109(string msg181) { $debugPrint127((msg_181 + (" " + #getStackTrace()))); } function cyc_foo609(integer funcChoice965, integer i141, any t108) { if (funcChoice_965 == 0) { Test_x_152 = (Test_x_152 + 1); if (VoidFunction_firstFree_119 == 0) { if (VoidFunction_maxIndex_761 < 32768) { VoidFunction_maxIndex_761 = (VoidFunction_maxIndex_761 + 1); funcChoice_965 = VoidFunction_maxIndex_761; VoidFunction_typeId_182[funcChoice_965] = 2; } else { error109("Out of memory: Could not create VoidFunction_Test."); funcChoice_965 = 0; }; } else { VoidFunction_firstFree_119 = (VoidFunction_firstFree_119 - 1); funcChoice_965 = VoidFunction_nextFree_202[VoidFunction_firstFree_119]; VoidFunction_typeId_182[funcChoice_965] = 2; }; cyc_foo609(1, funcChoice_965, i_141); } else { if (funcChoice_965 == 1) { if (VoidFunction_typeId_182[i_141] == 0) { if (i_141 == 0) { error109("Nullpointer exception when calling VoidFunction.call"); } else { error109("Called VoidFunction.call on invalid object."); }; } else { }; if (VoidFunction_typeId_182[i_141] <= 2) { cyc_foo609(2, (t_108 - 1), 0); } else { cyc_foo609(0, (t_108 - 1), 0); }; } else { if (funcChoice_965 == 2) { Test_x_152 = (Test_x_152 + 1); if (VoidFunction_firstFree_119 == 0) { if (VoidFunction_maxIndex_761 < 32768) { VoidFunction_maxIndex_761 = (VoidFunction_maxIndex_761 + 1); funcChoice_965 = VoidFunction_maxIndex_761; VoidFunction_typeId_182[funcChoice_965] = 3; } else { error109("Out of memory: Could not create VoidFunction_Test."); funcChoice_965 = 0; }; } else { VoidFunction_firstFree_119 = (VoidFunction_firstFree_119 - 1); funcChoice_965 = VoidFunction_nextFree_202[VoidFunction_firstFree_119]; VoidFunction_typeId_182[funcChoice_965] = 3; }; if (i_141 > 0) { cyc_foo609(1, funcChoice_965, i_141); } else { }; } else { }; }; }; }