array Test_nextFree153 integer Test_firstFree597 integer Test_maxIndex580 array Test_typeId286 integer Test_firstFree597 = 0 integer Test_maxIndex580 = 0 function initGlobals348() { Test_firstFree_597 = 0; Test_maxIndex_580 = 0; } function main471() { initGlobals348(); init_Test115(); } function config100() { } function init_Test115() { local integer x198 local integer clVar166 clVar_166 = alloc_Test_Test195(); x_198 = clVar_166; dispatch_Test_Test_Test_call110(x_198); } function call_Test204(integer this105) { } function alloc_Test_Test195() returns integer { local integer this212 if (Test_firstFree_597 == 0) { if (Test_maxIndex_580 < 32768) { Test_maxIndex_580 = (Test_maxIndex_580 + 1); this_212 = Test_maxIndex_580; Test_typeId_286[this_212] = 2; } else { error176("Out of memory: Could not create Test_Test."); this_212 = 0; }; } else { Test_firstFree_597 = (Test_firstFree_597 - 1); this_212 = Test_nextFree_153[Test_firstFree_597]; Test_typeId_286[this_212] = 2; }; return this_212; } function error176(string msg907) { $debugPrint746((msg_907 + (" " + #getStackTrace()))); } function dispatch_Test_Test_Test_call110(integer this157) { if (Test_typeId_286[this_157] == 0) { if (this_157 == 0) { error176("Nullpointer exception when calling Test.call"); } else { error176("Called Test.call on invalid object."); }; } else { }; call_Test204(this_157); }