array test_colors_r821 array test_colors_g195 array test_colors_b231 array Test_nextFree119 integer Test_firstFree153 integer Test_maxIndex105 array Test_typeId801 array Test_col163 integer Test_firstFree153 = 0 integer Test_maxIndex105 = 0 function initGlobals152() { Test_firstFree_153 = 0; Test_maxIndex_105 = 0; } function main176() { initGlobals152(); init_test130(); } function config962() { } function init_test130() { local integer t111 t_111 = new_Test103(); dispatch_Test_test_Test_colorize201(t_111); } function Test_colorize361(integer this114) { if (Test_col_163[this_114] == 0) { } else { if (Test_col_163[this_114] == 1) { } else { }; }; } function Test_init199(integer this307) { } function new_Test103() returns integer { local integer this686 this_686 = alloc_Test159(); construct_Test175(this_686); return this_686; } function construct_Test175(integer this211) { Test_init199(this_211); } function alloc_Test159() returns integer { local integer this100 if (Test_firstFree_153 == 0) { if (Test_maxIndex_105 < 32768) { Test_maxIndex_105 = (Test_maxIndex_105 + 1); this_100 = Test_maxIndex_105; Test_typeId_801[this_100] = 1; } else { error194("Out of memory: Could not create Test."); this_100 = 0; }; } else { Test_firstFree_153 = (Test_firstFree_153 - 1); this_100 = Test_nextFree_119[Test_firstFree_153]; Test_typeId_801[this_100] = 1; }; return this_100; } function error194(string msg136) { $debugPrint766((msg_136 + (" " + #getStackTrace()))); } function dispatch_Test_test_Test_colorize201(integer this176) { if (Test_typeId_801[this_176] == 0) { if (this_176 == 0) { error194("Nullpointer exception when calling Test.colorize"); } else { error194("Called Test.colorize on invalid object."); }; } else { }; Test_colorize361(this_176); }