integer Test_x210 array VoidFunction_nextFree100 integer VoidFunction_firstFree513 integer VoidFunction_maxIndex555 array VoidFunction_typeId177 integer Test_x210 = 0 integer VoidFunction_firstFree513 = 0 integer VoidFunction_maxIndex555 = 0 function initGlobals221() { VoidFunction_firstFree_513 = 0; VoidFunction_maxIndex_555 = 0; } function main130() { initGlobals221(); init_Test795(); } function config152() { } function init_Test795() { Test_x_210 = 0; cyc_foo169(4, 10, 0); if (Test_x_210 == 11) { testSuccess207(); } else { }; } IS_NATIVE function testSuccess207() { } function VoidFunction_init978(integer this199) { } function construct_VoidFunction871(integer this336) { VoidFunction_init978(this_336); } function alloc_VoidFunction_Test192() returns integer { local integer this131 if (VoidFunction_firstFree_513 == 0) { if (VoidFunction_maxIndex_555 < 32768) { VoidFunction_maxIndex_555 = (VoidFunction_maxIndex_555 + 1); this_131 = VoidFunction_maxIndex_555; VoidFunction_typeId_177[this_131] = 2; } else { error114("Out of memory: Could not create VoidFunction_Test."); this_131 = 0; }; } else { VoidFunction_firstFree_513 = (VoidFunction_firstFree_513 - 1); this_131 = VoidFunction_nextFree_100[VoidFunction_firstFree_513]; VoidFunction_typeId_177[this_131] = 2; }; return this_131; } function error114(string msg140) { $debugPrint211((msg_140 + (" " + #getStackTrace()))); } function alloc_VoidFunction_Test_2146() returns integer { local integer this120 if (VoidFunction_firstFree_513 == 0) { if (VoidFunction_maxIndex_555 < 32768) { VoidFunction_maxIndex_555 = (VoidFunction_maxIndex_555 + 1); this_120 = VoidFunction_maxIndex_555; VoidFunction_typeId_177[this_120] = 3; } else { error114("Out of memory: Could not create VoidFunction_Test."); this_120 = 0; }; } else { VoidFunction_firstFree_513 = (VoidFunction_firstFree_513 - 1); this_120 = VoidFunction_nextFree_100[VoidFunction_firstFree_513]; VoidFunction_typeId_177[this_120] = 3; }; return this_120; } function cyc_foo169(integer funcChoice845, integer i517, integer j184) { local integer f184 local integer clVar112 local integer f390 local integer clVar771 if (funcChoice_845 == 0) { Test_x_210 = (Test_x_210 + 1); clVar_112 = alloc_VoidFunction_Test192(); construct_VoidFunction871(clVar_112); f_184 = clVar_112; cyc_foo169(3, f_184, i_517); } else { if (funcChoice_845 == 1) { cyc_foo169(0, (j_184 - 1), 0); } else { if (funcChoice_845 == 2) { cyc_foo169(4, (j_184 - 1), 0); } else { if (funcChoice_845 == 3) { if (VoidFunction_typeId_177[i_517] == 0) { if (i_517 == 0) { error114("Nullpointer exception when calling VoidFunction.call"); } else { error114("Called VoidFunction.call on invalid object."); }; } else { }; if (VoidFunction_typeId_177[i_517] <= 2) { cyc_foo169(2, i_517, j_184); } else { cyc_foo169(1, i_517, j_184); }; } else { if (funcChoice_845 == 4) { Test_x_210 = (Test_x_210 + 1); clVar_771 = alloc_VoidFunction_Test_2146(); construct_VoidFunction871(clVar_771); f_390 = clVar_771; if (i_517 > 0) { cyc_foo169(3, f_390, i_517); } else { }; } else { }; }; }; }; }; }