array I_nextFree466 integer I_firstFree199 integer I_maxIndex472 array I_typeId306 integer I_firstFree199 = 0 integer I_maxIndex472 = 0 function initGlobals175() { } function main747() { initGlobals175(); init_test868(); } function config189() { } function init_test868() { dispatch_I_test_I_foo178(new_C188(), 7); } IS_NATIVE function testSuccess111() { } function C_foo940(integer this262, integer x211) { testSuccess111(); } function C_init928(integer this761) { } function new_C188() returns integer { local integer this807 this_807 = alloc_C218(); construct_C114(this_807); return this_807; } function construct_C114(integer this255) { C_init928(this_255); } function alloc_C218() returns integer { local integer this126 if (I_firstFree_199 == 0) { if (I_maxIndex_472 < 32768) { I_maxIndex_472 = (I_maxIndex_472 + 1); this_126 = I_maxIndex_472; I_typeId_306[this_126] = 2; } else { error112("Out of memory: Could not create C."); this_126 = 0; }; } else { I_firstFree_199 = (I_firstFree_199 - 1); this_126 = I_nextFree_466[I_firstFree_199]; I_typeId_306[this_126] = 2; }; return this_126; } function error112(string msg609) { $debugPrint211((msg_609 + (" " + #getStackTrace()))); } function dispatch_I_test_I_foo178(integer this194, integer x211) { if (I_typeId_306[this_194] == 0) { if (this_194 == 0) { error112("Nullpointer exception when calling I.foo"); } else { error112("Called I.foo on invalid object."); }; } else { }; C_foo940(this_194, x_211); }