integer Test_a202 array A_nextFree955 integer A_firstFree144 integer A_maxIndex165 array A_typeId122 integer Test_a202 = new_A130() integer A_firstFree144 = 0 integer A_maxIndex165 = 0 function initGlobals927() { } function main376() { initGlobals927(); init_Test147(); } function config400() { } function init_Test147() { Test_a_202 = new_A130(); EXECUTE foo213(); } IS_NATIVE function testSuccess158() { } function foo213() { dispatch_A_Test_A_bar145(Test_a_202); } function A_bar716(integer this591) { testSuccess158(); } function A_init576(integer this180) { } function new_A130() returns integer { local integer this730 this_730 = alloc_A984(); construct_A197(this_730); return this_730; } function construct_A197(integer this434) { A_init576(this_434); } function alloc_A984() returns integer { local integer this108 if (A_firstFree_144 == 0) { if (A_maxIndex_165 < 32768) { A_maxIndex_165 = (A_maxIndex_165 + 1); this_108 = A_maxIndex_165; A_typeId_122[this_108] = 1; } else { error167("Out of memory: Could not create A."); this_108 = 0; }; } else { A_firstFree_144 = (A_firstFree_144 - 1); this_108 = A_nextFree_955[A_firstFree_144]; A_typeId_122[this_108] = 1; }; return this_108; } function error167(string msg415) { $debugPrint202((msg_415 + (" " + #getStackTrace()))); } function dispatch_A_Test_A_bar145(integer this767) { if (A_typeId_122[this_767] == 0) { if (this_767 == 0) { error167("Nullpointer exception when calling A.bar"); } else { error167("Called A.bar on invalid object."); }; } else { }; A_bar716(this_767); }