array A_nextFree304 integer A_firstFree845 integer A_maxIndex205 array A_typeId188 integer A_firstFree845 = 0 integer A_maxIndex205 = 0 function initGlobals798() { } function main128() { initGlobals798(); init_test618(); } function config134() { } function init_test618() { local integer b128 local integer clVar136 local integer this164 local integer this104 if (A_firstFree_845 == 0) { if (A_maxIndex_205 < 32768) { A_maxIndex_205 = (A_maxIndex_205 + 1); this_164 = A_maxIndex_205; A_typeId_188[this_164] = 3; } else { error126("Out of memory: Could not create B_test."); this_164 = 0; }; } else { A_firstFree_845 = (A_firstFree_845 - 1); this_164 = A_nextFree_304[A_firstFree_845]; A_typeId_188[this_164] = 3; }; clVar_136 = this_164; b_128 = clVar_136; this_104 = b_128; if (A_typeId_188[this_104] == 0) { if (this_104 == 0) { error126("Nullpointer exception when calling B.bar"); } else { error126("Called B.bar on invalid object."); }; } else { }; testSuccess947(); } IS_NATIVE function testSuccess947() { } function error126(string msg105) { $debugPrint151((msg_105 + (" " + #getStackTrace()))); }