array Test_nextFree897 integer Test_firstFree137 integer Test_maxIndex206 array Test_typeId935 integer Test_firstFree137 = 0 integer Test_maxIndex206 = 0 function initGlobals592() { } function main150() { initGlobals592(); init_test171(); } function config190() { } function init_test171() { dispatch_Test_test_Test_colorize175(new_Test374()); } function Test_colorize173(integer this164) { } function Test_init147(integer this205) { } function new_Test374() returns integer { local integer this438 this_438 = alloc_Test994(); construct_Test171(this_438); return this_438; } function construct_Test171(integer this749) { Test_init147(this_749); } function alloc_Test994() returns integer { local integer this144 if (Test_firstFree_137 == 0) { if (Test_maxIndex_206 < 32768) { Test_maxIndex_206 = (Test_maxIndex_206 + 1); this_144 = Test_maxIndex_206; Test_typeId_935[this_144] = 1; } else { error141("Out of memory: Could not create Test."); this_144 = 0; }; } else { Test_firstFree_137 = (Test_firstFree_137 - 1); this_144 = Test_nextFree_897[Test_firstFree_137]; Test_typeId_935[this_144] = 1; }; return this_144; } function error141(string msg171) { $debugPrint181((msg_171 + (" " + #getStackTrace()))); } function dispatch_Test_test_Test_colorize175(integer this209) { if (Test_typeId_935[this_209] == 0) { if (this_209 == 0) { error141("Nullpointer exception when calling Test.colorize"); } else { error141("Called Test.colorize on invalid object."); }; } else { }; Test_colorize173(this_209); }