array A_nextFree204 integer A_firstFree177 integer A_maxIndex200 array A_typeId119 integer A_firstFree177 = 0 integer A_maxIndex200 = 0 function initGlobals496() { } function main306() { initGlobals496(); init_test117(); } function config192() { } function init_test117() { local integer this170 if (A_firstFree_177 == 0) { if (A_maxIndex_200 < 32768) { A_maxIndex_200 = (A_maxIndex_200 + 1); this_170 = A_maxIndex_200; A_typeId_119[this_170] = 3; } else { error146("Out of memory: Could not create B_test."); this_170 = 0; }; } else { A_firstFree_177 = (A_firstFree_177 - 1); this_170 = A_nextFree_204[A_firstFree_177]; A_typeId_119[this_170] = 3; }; if (A_typeId_119[this_170] == 0) { if (this_170 == 0) { error146("Nullpointer exception when calling B.bar"); } else { error146("Called B.bar on invalid object."); }; } else { }; testSuccess174(); } IS_NATIVE function testSuccess174() { } function error146(string msg721) { $debugPrint121((msg_721 + (" " + #getStackTrace()))); }