array Test_nextFree184 integer Test_firstFree171 integer Test_maxIndex123 array Test_typeId769 integer Test_firstFree171 = 0 integer Test_maxIndex123 = 0 function initGlobals133() { } function main779() { initGlobals133(); init_Test773(); } function config281() { } function init_Test773() { local integer clVar106 clVar_106 = alloc_Test_Test124(); dispatch_Test_Test_Test_call141(clVar_106); } function call_Test157(integer this188) { } function alloc_Test_Test124() returns integer { local integer this310 if (Test_firstFree_171 == 0) { if (Test_maxIndex_123 < 32768) { Test_maxIndex_123 = (Test_maxIndex_123 + 1); this_310 = Test_maxIndex_123; Test_typeId_769[this_310] = 2; } else { error121("Out of memory: Could not create Test_Test."); this_310 = 0; }; } else { Test_firstFree_171 = (Test_firstFree_171 - 1); this_310 = Test_nextFree_184[Test_firstFree_171]; Test_typeId_769[this_310] = 2; }; return this_310; } function error121(string msg839) { $debugPrint113((msg_839 + (" " + #getStackTrace()))); } function dispatch_Test_Test_Test_call141(integer this186) { if (Test_typeId_769[this_186] == 0) { if (this_186 == 0) { error121("Nullpointer exception when calling Test.call"); } else { error121("Called Test.call on invalid object."); }; } else { }; call_Test157(this_186); }