integer Test_x737 array VoidFunction_nextFree803 integer VoidFunction_firstFree112 integer VoidFunction_maxIndex188 array VoidFunction_typeId177 integer Test_x737 = 0 integer VoidFunction_firstFree112 = 0 integer VoidFunction_maxIndex188 = 0 function initGlobals126() { } function main150() { initGlobals126(); cyc_foo723(2, 10, 0); if (Test_x_737 == 11) { testSuccess166(); } else { }; } function config899() { } IS_NATIVE function testSuccess166() { } function error707(string msg143) { $debugPrint902((msg_143 + (" " + #getStackTrace()))); } function cyc_foo723(integer funcChoice152, integer i849, any t785) { local integer f690 local integer clVar159 local integer this162 local integer j995 local integer j186 local integer f478 local integer clVar190 local integer this798 if (funcChoice_152 == 0) { Test_x_737 = (Test_x_737 + 1); if (VoidFunction_firstFree_112 == 0) { if (VoidFunction_maxIndex_188 < 32768) { VoidFunction_maxIndex_188 = (VoidFunction_maxIndex_188 + 1); this_162 = VoidFunction_maxIndex_188; VoidFunction_typeId_177[this_162] = 2; } else { error707("Out of memory: Could not create VoidFunction_Test."); this_162 = 0; }; } else { VoidFunction_firstFree_112 = (VoidFunction_firstFree_112 - 1); this_162 = VoidFunction_nextFree_803[VoidFunction_firstFree_112]; VoidFunction_typeId_177[this_162] = 2; }; clVar_159 = this_162; f_690 = clVar_159; cyc_foo723(1, f_690, i_849); } else { if (funcChoice_152 == 1) { if (VoidFunction_typeId_177[i_849] == 0) { if (i_849 == 0) { error707("Nullpointer exception when calling VoidFunction.call"); } else { error707("Called VoidFunction.call on invalid object."); }; } else { }; if (VoidFunction_typeId_177[i_849] <= 2) { j_995 = t_785; cyc_foo723(2, (j_995 - 1), 0); } else { j_186 = t_785; cyc_foo723(0, (j_186 - 1), 0); }; } else { if (funcChoice_152 == 2) { Test_x_737 = (Test_x_737 + 1); if (VoidFunction_firstFree_112 == 0) { if (VoidFunction_maxIndex_188 < 32768) { VoidFunction_maxIndex_188 = (VoidFunction_maxIndex_188 + 1); this_798 = VoidFunction_maxIndex_188; VoidFunction_typeId_177[this_798] = 3; } else { error707("Out of memory: Could not create VoidFunction_Test."); this_798 = 0; }; } else { VoidFunction_firstFree_112 = (VoidFunction_firstFree_112 - 1); this_798 = VoidFunction_nextFree_803[VoidFunction_firstFree_112]; VoidFunction_typeId_177[this_798] = 3; }; clVar_190 = this_798; f_478 = clVar_190; if (i_849 > 0) { cyc_foo723(1, f_478, i_849); } else { }; } else { }; }; }; }