array A_nextFree826 integer A_firstFree150 integer A_maxIndex563 array A_typeId209 integer A_firstFree150 = 0 integer A_maxIndex563 = 0 function initGlobals203() { } function main189() { initGlobals203(); init_test206(); } function config370() { } function init_test206() { local integer this129 if (A_firstFree_150 == 0) { if (A_maxIndex_563 < 32768) { A_maxIndex_563 = (A_maxIndex_563 + 1); this_129 = A_maxIndex_563; A_typeId_209[this_129] = 3; } else { error132("Out of memory: Could not create B_test."); this_129 = 0; }; } else { A_firstFree_150 = (A_firstFree_150 - 1); this_129 = A_nextFree_826[A_firstFree_150]; A_typeId_209[this_129] = 3; }; if (A_typeId_209[this_129] == 0) { if (this_129 == 0) { error132("Nullpointer exception when calling B.bar"); } else { error132("Called B.bar on invalid object."); }; } else { }; testSuccess146(); } IS_NATIVE function testSuccess146() { } function error132(string msg153) { $debugPrint182((msg_153 + (" " + #getStackTrace()))); }