array Test_nextFree139 integer Test_firstFree712 integer Test_maxIndex357 array Test_typeId177 integer Test_firstFree712 = 0 integer Test_maxIndex357 = 0 function initGlobals384() { } function main170() { initGlobals384(); init_test246(); } function config208() { } function init_test246() { local integer t100 t_100 = new_Test126(); if (Test_typeId_177[t_100] == 0) { if (t_100 == 0) { error652("Nullpointer exception when calling Test.colorize"); } else { error652("Called Test.colorize on invalid object."); }; } else { }; } function new_Test126() returns integer { local integer this899 if (Test_firstFree_712 == 0) { if (Test_maxIndex_357 < 32768) { Test_maxIndex_357 = (Test_maxIndex_357 + 1); this_899 = Test_maxIndex_357; Test_typeId_177[this_899] = 1; } else { error652("Out of memory: Could not create Test."); this_899 = 0; }; } else { Test_firstFree_712 = (Test_firstFree_712 - 1); this_899 = Test_nextFree_139[Test_firstFree_712]; Test_typeId_177[this_899] = 1; }; return this_899; } function error652(string msg189) { $debugPrint425((msg_189 + (" " + #getStackTrace()))); }