array C_nextFree105 integer C_firstFree842 integer C_maxIndex136 array C_typeId513 integer C_firstFree842 = 0 integer C_maxIndex136 = 0 function initGlobals690() { } function main917() { initGlobals690(); init_Test683(); } function config165() { } function init_Test683() { dispatch_C_Test_C_foo_4420(new_C166(), 1, 2, 3, 4); } IS_NATIVE function testSuccess572() { } function C_init105(integer this167) { } function new_C166() returns integer { local integer this123 this_123 = alloc_C807(); construct_C106(this_123); return this_123; } function construct_C106(integer this118) { C_init105(this_118); } function alloc_C807() returns integer { local integer this210 if (C_firstFree_842 == 0) { if (C_maxIndex_136 < 32768) { C_maxIndex_136 = (C_maxIndex_136 + 1); this_210 = C_maxIndex_136; C_typeId_513[this_210] = 1; } else { error109("Out of memory: Could not create C."); this_210 = 0; }; } else { C_firstFree_842 = (C_firstFree_842 - 1); this_210 = C_nextFree_105[C_firstFree_842]; C_typeId_513[this_210] = 1; }; return this_210; } function error109(string msg392) { $debugPrint198((msg_392 + (" " + #getStackTrace()))); } function C_foo_4120(integer this164, integer ints_0102, integer ints_1749, integer ints_2168, integer ints_3450) { this_164 = (3 + ints_0_102); ints_0_102 = 1; loop { exitwhen (ints_0_102 > 4); this_164 = (this_164 + ints_0_102); exitwhen (ints_0_102 > 2); ints_0_102 = (ints_0_102 + 1); }; this_164 = (this_164 + ints_1_749); ints_0_102 = 1; loop { exitwhen (ints_0_102 > 4); this_164 = (this_164 + ints_0_102); exitwhen (ints_0_102 > 2); ints_0_102 = (ints_0_102 + 1); }; this_164 = (this_164 + ints_2_168); ints_0_102 = 1; loop { exitwhen (ints_0_102 > 4); this_164 = (this_164 + ints_0_102); exitwhen (ints_0_102 > 2); ints_0_102 = (ints_0_102 + 1); }; this_164 = (this_164 + ints_3_450); ints_0_102 = 1; loop { exitwhen (ints_0_102 > 4); this_164 = (this_164 + ints_0_102); exitwhen (ints_0_102 > 2); ints_0_102 = (ints_0_102 + 1); }; if (this_164 == 37) { testSuccess572(); } else { }; } function dispatch_C_Test_C_foo_4420(integer this110, integer ints_0123, integer ints_1142, integer ints_2332, integer ints_3322) { if (C_typeId_513[this_110] == 0) { if (this_110 == 0) { error109("Nullpointer exception when calling C.foo"); } else { error109("Called C.foo on invalid object."); }; } else { }; C_foo_4120(this_110, ints_0_123, ints_1_142, ints_2_332, ints_3_322); }