array Test_nextFree112 integer Test_firstFree188 integer Test_maxIndex205 array Test_typeId162 integer Test_firstFree188 = 0 integer Test_maxIndex205 = 0 function initGlobals233() { } function main478() { initGlobals233(); init_Test176(); } function config142() { } function init_Test176() { local integer x174 local integer clVar161 local integer this168 local integer this214 if (Test_firstFree_188 == 0) { if (Test_maxIndex_205 < 32768) { Test_maxIndex_205 = (Test_maxIndex_205 + 1); this_168 = Test_maxIndex_205; Test_typeId_162[this_168] = 2; } else { error722("Out of memory: Could not create Test_Test."); this_168 = 0; }; } else { Test_firstFree_188 = (Test_firstFree_188 - 1); this_168 = Test_nextFree_112[Test_firstFree_188]; Test_typeId_162[this_168] = 2; }; clVar_161 = this_168; x_174 = clVar_161; this_214 = x_174; if (Test_typeId_162[this_214] == 0) { if (this_214 == 0) { error722("Nullpointer exception when calling Test.call"); } else { error722("Called Test.call on invalid object."); }; } else { }; } function error722(string msg172) { $debugPrint508((msg_172 + (" " + #getStackTrace()))); }