array Test_nextFree385 integer Test_firstFree137 integer Test_maxIndex213 array Test_typeId157 integer Test_firstFree137 = 0 integer Test_maxIndex213 = 0 function initGlobals329() { } function main121() { initGlobals329(); init_Test128(); } function config100() { } function init_Test128() { local integer this934 if (Test_firstFree_137 == 0) { if (Test_maxIndex_213 < 32768) { Test_maxIndex_213 = (Test_maxIndex_213 + 1); this_934 = Test_maxIndex_213; Test_typeId_157[this_934] = 2; } else { error168("Out of memory: Could not create Test_Test."); this_934 = 0; }; } else { Test_firstFree_137 = (Test_firstFree_137 - 1); this_934 = Test_nextFree_385[Test_firstFree_137]; Test_typeId_157[this_934] = 2; }; if (Test_typeId_157[this_934] == 0) { if (this_934 == 0) { error168("Nullpointer exception when calling Test.call"); } else { error168("Called Test.call on invalid object."); }; } else { }; } function error168(string msg101) { $debugPrint380((msg_101 + (" " + #getStackTrace()))); }