array Test_nextFree401 integer Test_firstFree576 integer Test_maxIndex109 array Test_typeId936 array Test_col379 integer Test_firstFree576 = 0 integer Test_maxIndex109 = 0 function initGlobals158() { } function main128() { initGlobals158(); init_test192(); } function config101() { } function init_test192() { local integer t106 local integer this742 local integer this163 t_106 = new_Test423(); this_742 = t_106; if (Test_typeId_936[this_742] == 0) { if (this_742 == 0) { error186("Nullpointer exception when calling Test.colorize"); } else { error186("Called Test.colorize on invalid object."); }; } else { }; this_163 = this_742; if (Test_col_379[this_163] == 0) { } else { if (Test_col_379[this_163] == 1) { } else { }; }; } function new_Test423() returns integer { local integer this260 local integer this456 if (Test_firstFree_576 == 0) { if (Test_maxIndex_109 < 32768) { Test_maxIndex_109 = (Test_maxIndex_109 + 1); this_456 = Test_maxIndex_109; Test_typeId_936[this_456] = 1; } else { error186("Out of memory: Could not create Test."); this_456 = 0; }; } else { Test_firstFree_576 = (Test_firstFree_576 - 1); this_456 = Test_nextFree_401[Test_firstFree_576]; Test_typeId_936[this_456] = 1; }; this_260 = this_456; return this_260; } function error186(string msg108) { $debugPrint150((msg_108 + (" " + #getStackTrace()))); }