array Test_nextFree978 integer Test_firstFree147 integer Test_maxIndex114 array Test_typeId150 integer Test_firstFree147 = 0 integer Test_maxIndex114 = 0 function initGlobals836() { } function main182() { initGlobals836(); init_test178(); } function config376() { } function init_test178() { local integer t122 t_122 = new_Test816(); if (Test_typeId_150[t_122] == 0) { if (t_122 == 0) { error438("Nullpointer exception when calling Test.colorize"); } else { error438("Called Test.colorize on invalid object."); }; } else { }; } function new_Test816() returns integer { local integer this935 if (Test_firstFree_147 == 0) { if (Test_maxIndex_114 < 32768) { Test_maxIndex_114 = (Test_maxIndex_114 + 1); this_935 = Test_maxIndex_114; Test_typeId_150[this_935] = 1; } else { error438("Out of memory: Could not create Test."); this_935 = 0; }; } else { Test_firstFree_147 = (Test_firstFree_147 - 1); this_935 = Test_nextFree_978[Test_firstFree_147]; Test_typeId_150[this_935] = 1; }; return this_935; } function error438(string msg749) { $debugPrint337((msg_749 + (" " + #getStackTrace()))); }