array C_nextFree179 integer C_firstFree947 integer C_maxIndex205 array C_typeId308 integer C_firstFree947 = 0 integer C_maxIndex205 = 0 function initGlobals143() { } function main171() { initGlobals143(); dispatch_C_Test_C_foo_4141(new_C127(), 1, 2, 3, 4); } function config149() { } IS_NATIVE function testSuccess120() { } function new_C127() returns integer { local integer this200 if (C_firstFree_947 == 0) { if (C_maxIndex_205 < 32768) { C_maxIndex_205 = (C_maxIndex_205 + 1); this_200 = C_maxIndex_205; C_typeId_308[this_200] = 1; } else { error181("Out of memory: Could not create C."); this_200 = 0; }; } else { C_firstFree_947 = (C_firstFree_947 - 1); this_200 = C_nextFree_179[C_firstFree_947]; C_typeId_308[this_200] = 1; }; return this_200; } function error181(string msg213) { $debugPrint465((msg_213 + (" " + #getStackTrace()))); } function dispatch_C_Test_C_foo_4141(integer this758, integer ints_0128, integer ints_1183, integer ints_2110, integer ints_3167) { if (C_typeId_308[this_758] == 0) { if (this_758 == 0) { error181("Nullpointer exception when calling C.foo"); } else { error181("Called C.foo on invalid object."); }; } else { }; this_758 = ints_1_183; ints_1_183 = ints_2_110; ints_2_110 = ints_3_167; ints_3_167 = (3 + ints_0_128); ints_0_128 = 1; loop { exitwhen (ints_0_128 > 4); ints_3_167 = (ints_3_167 + ints_0_128); exitwhen (ints_0_128 > 2); ints_0_128 = (ints_0_128 + 1); }; ints_3_167 = (ints_3_167 + this_758); ints_0_128 = 1; loop { exitwhen (ints_0_128 > 4); ints_3_167 = (ints_3_167 + ints_0_128); exitwhen (ints_0_128 > 2); ints_0_128 = (ints_0_128 + 1); }; ints_3_167 = (ints_3_167 + ints_1_183); ints_0_128 = 1; loop { exitwhen (ints_0_128 > 4); ints_3_167 = (ints_3_167 + ints_0_128); exitwhen (ints_0_128 > 2); ints_0_128 = (ints_0_128 + 1); }; ints_3_167 = (ints_3_167 + ints_2_110); ints_0_128 = 1; loop { exitwhen (ints_0_128 > 4); ints_3_167 = (ints_3_167 + ints_0_128); exitwhen (ints_0_128 > 2); ints_0_128 = (ints_0_128 + 1); }; if (ints_3_167 == 37) { testSuccess120(); } else { }; }