integer Test_x200 array VoidFunction_nextFree478 integer VoidFunction_firstFree983 integer VoidFunction_maxIndex990 array VoidFunction_typeId190 integer Test_x200 = 0 integer VoidFunction_firstFree983 = 0 integer VoidFunction_maxIndex990 = 0 function initGlobals984() { } function main130() { initGlobals984(); cyc_foo193(2, 10, 0); if (Test_x_200 == 11) { testSuccess548(); } else { }; } function config114() { } IS_NATIVE function testSuccess548() { } function error102(string msg162) { $debugPrint153((msg_162 + (" " + #getStackTrace()))); } function cyc_foo193(integer funcChoice752, integer i126, any t590) { local integer f155 local integer clVar244 local integer this199 local integer j707 local integer j902 local integer f128 local integer clVar929 local integer this378 if (funcChoice_752 == 0) { Test_x_200 = (Test_x_200 + 1); if (VoidFunction_firstFree_983 == 0) { if (VoidFunction_maxIndex_990 < 32768) { VoidFunction_maxIndex_990 = (VoidFunction_maxIndex_990 + 1); this_199 = VoidFunction_maxIndex_990; VoidFunction_typeId_190[this_199] = 2; } else { error102("Out of memory: Could not create VoidFunction_Test."); this_199 = 0; }; } else { VoidFunction_firstFree_983 = (VoidFunction_firstFree_983 - 1); this_199 = VoidFunction_nextFree_478[VoidFunction_firstFree_983]; VoidFunction_typeId_190[this_199] = 2; }; clVar_244 = this_199; f_155 = clVar_244; cyc_foo193(1, f_155, i_126); } else { if (funcChoice_752 == 1) { if (VoidFunction_typeId_190[i_126] == 0) { if (i_126 == 0) { error102("Nullpointer exception when calling VoidFunction.call"); } else { error102("Called VoidFunction.call on invalid object."); }; } else { }; if (VoidFunction_typeId_190[i_126] <= 2) { j_707 = t_590; cyc_foo193(2, (j_707 - 1), 0); } else { j_902 = t_590; cyc_foo193(0, (j_902 - 1), 0); }; } else { if (funcChoice_752 == 2) { Test_x_200 = (Test_x_200 + 1); if (VoidFunction_firstFree_983 == 0) { if (VoidFunction_maxIndex_990 < 32768) { VoidFunction_maxIndex_990 = (VoidFunction_maxIndex_990 + 1); this_378 = VoidFunction_maxIndex_990; VoidFunction_typeId_190[this_378] = 3; } else { error102("Out of memory: Could not create VoidFunction_Test."); this_378 = 0; }; } else { VoidFunction_firstFree_983 = (VoidFunction_firstFree_983 - 1); this_378 = VoidFunction_nextFree_478[VoidFunction_firstFree_983]; VoidFunction_typeId_190[this_378] = 3; }; clVar_929 = this_378; f_128 = clVar_929; if (i_126 > 0) { cyc_foo193(1, f_128, i_126); } else { }; } else { }; }; }; }