integer Test_a115 array A_nextFree175 integer A_firstFree236 integer A_maxIndex461 array A_typeId120 integer Test_a115 = new_A110() integer A_firstFree236 = 0 integer A_maxIndex461 = 0 function initGlobals181() { A_firstFree_236 = 0; A_maxIndex_461 = 0; } function main133() { initGlobals181(); init_Test200(); } function config208() { } function init_Test200() { Test_a_115 = new_A110(); EXECUTE foo194(); } IS_NATIVE function testSuccess120() { } function foo194() { dispatch_A_Test_A_bar112(Test_a_115); } function A_bar428(integer this881) { testSuccess120(); } function A_init369(integer this393) { } function new_A110() returns integer { local integer this190 this_190 = alloc_A236(); construct_A171(this_190); return this_190; } function construct_A171(integer this412) { A_init369(this_412); } function alloc_A236() returns integer { local integer this116 if (A_firstFree_236 == 0) { if (A_maxIndex_461 < 32768) { A_maxIndex_461 = (A_maxIndex_461 + 1); this_116 = A_maxIndex_461; A_typeId_120[this_116] = 1; } else { error716("Out of memory: Could not create A."); this_116 = 0; }; } else { A_firstFree_236 = (A_firstFree_236 - 1); this_116 = A_nextFree_175[A_firstFree_236]; A_typeId_120[this_116] = 1; }; return this_116; } function error716(string msg199) { $debugPrint661((msg_199 + (" " + #getStackTrace()))); } function dispatch_A_Test_A_bar112(integer this110) { if (A_typeId_120[this_110] == 0) { if (this_110 == 0) { error716("Nullpointer exception when calling A.bar"); } else { error716("Called A.bar on invalid object."); }; } else { }; A_bar428(this_110); }