array Test_nextFree119 integer Test_firstFree208 integer Test_maxIndex184 array Test_typeId504 array Test_col151 integer Test_firstFree208 = 0 integer Test_maxIndex184 = 0 function initGlobals171() { } function main875() { initGlobals171(); init_test748(); } function config124() { } function init_test748() { local integer t110 local integer this124 local integer this120 t_110 = new_Test422(); this_124 = t_110; if (Test_typeId_504[this_124] == 0) { if (this_124 == 0) { error300("Nullpointer exception when calling Test.colorize"); } else { error300("Called Test.colorize on invalid object."); }; } else { }; this_120 = this_124; if (Test_col_151[this_120] == 0) { } else { if (Test_col_151[this_120] == 1) { } else { }; }; } function new_Test422() returns integer { local integer this212 local integer this197 if (Test_firstFree_208 == 0) { if (Test_maxIndex_184 < 32768) { Test_maxIndex_184 = (Test_maxIndex_184 + 1); this_197 = Test_maxIndex_184; Test_typeId_504[this_197] = 1; } else { error300("Out of memory: Could not create Test."); this_197 = 0; }; } else { Test_firstFree_208 = (Test_firstFree_208 - 1); this_197 = Test_nextFree_119[Test_firstFree_208]; Test_typeId_504[this_197] = 1; }; this_212 = this_197; return this_212; } function error300(string msg119) { $debugPrint192((msg_119 + (" " + #getStackTrace()))); }