integer Test_x513 array VoidFunction_nextFree598 integer VoidFunction_firstFree154 integer VoidFunction_maxIndex190 array VoidFunction_typeId114 integer Test_x513 = 0 integer VoidFunction_firstFree154 = 0 integer VoidFunction_maxIndex190 = 0 function initGlobals172() { VoidFunction_firstFree_154 = 0; VoidFunction_maxIndex_190 = 0; } function main199() { initGlobals172(); init_Test265(); } function config576() { } function init_Test265() { Test_x_513 = 0; cyc_foo116(4, 10, 0); if (Test_x_513 == 11) { testSuccess204(); } else { }; } IS_NATIVE function testSuccess204() { } function VoidFunction_init128(integer this184) { } function construct_VoidFunction114(integer this805) { VoidFunction_init128(this_805); } function alloc_VoidFunction_Test153() returns integer { local integer this169 if (VoidFunction_firstFree_154 == 0) { if (VoidFunction_maxIndex_190 < 32768) { VoidFunction_maxIndex_190 = (VoidFunction_maxIndex_190 + 1); this_169 = VoidFunction_maxIndex_190; VoidFunction_typeId_114[this_169] = 2; } else { error845("Out of memory: Could not create VoidFunction_Test."); this_169 = 0; }; } else { VoidFunction_firstFree_154 = (VoidFunction_firstFree_154 - 1); this_169 = VoidFunction_nextFree_598[VoidFunction_firstFree_154]; VoidFunction_typeId_114[this_169] = 2; }; return this_169; } function error845(string msg517) { $debugPrint184((msg_517 + (" " + #getStackTrace()))); } function alloc_VoidFunction_Test_2914() returns integer { local integer this142 if (VoidFunction_firstFree_154 == 0) { if (VoidFunction_maxIndex_190 < 32768) { VoidFunction_maxIndex_190 = (VoidFunction_maxIndex_190 + 1); this_142 = VoidFunction_maxIndex_190; VoidFunction_typeId_114[this_142] = 3; } else { error845("Out of memory: Could not create VoidFunction_Test."); this_142 = 0; }; } else { VoidFunction_firstFree_154 = (VoidFunction_firstFree_154 - 1); this_142 = VoidFunction_nextFree_598[VoidFunction_firstFree_154]; VoidFunction_typeId_114[this_142] = 3; }; return this_142; } function cyc_foo116(integer funcChoice321, integer i163, integer j199) { local integer f187 local integer clVar274 local integer f100 local integer clVar177 if (funcChoice_321 == 0) { Test_x_513 = (Test_x_513 + 1); clVar_274 = alloc_VoidFunction_Test153(); construct_VoidFunction114(clVar_274); f_187 = clVar_274; cyc_foo116(3, f_187, i_163); } else { if (funcChoice_321 == 1) { cyc_foo116(0, (j_199 - 1), 0); } else { if (funcChoice_321 == 2) { cyc_foo116(4, (j_199 - 1), 0); } else { if (funcChoice_321 == 3) { if (VoidFunction_typeId_114[i_163] == 0) { if (i_163 == 0) { error845("Nullpointer exception when calling VoidFunction.call"); } else { error845("Called VoidFunction.call on invalid object."); }; } else { }; if (VoidFunction_typeId_114[i_163] <= 2) { cyc_foo116(2, i_163, j_199); } else { cyc_foo116(1, i_163, j_199); }; } else { if (funcChoice_321 == 4) { Test_x_513 = (Test_x_513 + 1); clVar_177 = alloc_VoidFunction_Test_2914(); construct_VoidFunction114(clVar_177); f_100 = clVar_177; if (i_163 > 0) { cyc_foo116(3, f_100, i_163); } else { }; } else { }; }; }; }; }; }