array C_nextFree863 integer C_firstFree238 integer C_maxIndex829 array C_typeId260 integer C_firstFree238 = 0 integer C_maxIndex829 = 0 function initGlobals205() { } function main943() { initGlobals205(); init_Test207(); } function config967() { } function init_Test207() { dispatch_C_Test_C_foo_4620(new_C533(), 1, 2, 3, 4); } IS_NATIVE function testSuccess132() { } function C_init168(integer this906) { } function new_C533() returns integer { local integer this154 this_154 = alloc_C528(); construct_C214(this_154); return this_154; } function construct_C214(integer this150) { C_init168(this_150); } function alloc_C528() returns integer { local integer this170 if (C_firstFree_238 == 0) { if (C_maxIndex_829 < 32768) { C_maxIndex_829 = (C_maxIndex_829 + 1); this_170 = C_maxIndex_829; C_typeId_260[this_170] = 1; } else { error205("Out of memory: Could not create C."); this_170 = 0; }; } else { C_firstFree_238 = (C_firstFree_238 - 1); this_170 = C_nextFree_863[C_firstFree_238]; C_typeId_260[this_170] = 1; }; return this_170; } function error205(string msg657) { $debugPrint153((msg_657 + (" " + #getStackTrace()))); } function C_foo_4278(integer this287, integer ints_0342, integer ints_1148, integer ints_2897, integer ints_3140) { this_287 = (3 + ints_0_342); ints_0_342 = 1; loop { exitwhen (ints_0_342 > 4); this_287 = (this_287 + ints_0_342); exitwhen (ints_0_342 > 2); ints_0_342 = (ints_0_342 + 1); }; this_287 = (this_287 + ints_1_148); ints_0_342 = 1; loop { exitwhen (ints_0_342 > 4); this_287 = (this_287 + ints_0_342); exitwhen (ints_0_342 > 2); ints_0_342 = (ints_0_342 + 1); }; this_287 = (this_287 + ints_2_897); ints_0_342 = 1; loop { exitwhen (ints_0_342 > 4); this_287 = (this_287 + ints_0_342); exitwhen (ints_0_342 > 2); ints_0_342 = (ints_0_342 + 1); }; this_287 = (this_287 + ints_3_140); ints_0_342 = 1; loop { exitwhen (ints_0_342 > 4); this_287 = (this_287 + ints_0_342); exitwhen (ints_0_342 > 2); ints_0_342 = (ints_0_342 + 1); }; if (this_287 == 37) { testSuccess132(); } else { }; } function dispatch_C_Test_C_foo_4620(integer this680, integer ints_0738, integer ints_1151, integer ints_2146, integer ints_3211) { if (C_typeId_260[this_680] == 0) { if (this_680 == 0) { error205("Nullpointer exception when calling C.foo"); } else { error205("Called C.foo on invalid object."); }; } else { }; C_foo_4278(this_680, ints_0_738, ints_1_151, ints_2_146, ints_3_211); }