array TFunc_nextFree203 integer TFunc_firstFree199 integer TFunc_maxIndex168 array TFunc_typeId778 integer TFunc_firstFree199 = 0 integer TFunc_maxIndex168 = 0 function initGlobals197() { } function main136() { initGlobals197(); init_test139(); } function config130() { } function init_test139() { local integer clVar206 local integer this313 local integer func194 local boolean b203 local integer cond_result880 local integer temp117 if (TFunc_firstFree_199 == 0) { if (TFunc_maxIndex_168 < 32768) { TFunc_maxIndex_168 = (TFunc_maxIndex_168 + 1); this_313 = TFunc_maxIndex_168; TFunc_typeId_778[this_313] = 2; } else { error138("Out of memory: Could not create TFunc_runFunc_test."); this_313 = 0; }; } else { TFunc_firstFree_199 = (TFunc_firstFree_199 - 1); this_313 = TFunc_nextFree_203[TFunc_firstFree_199]; TFunc_typeId_778[this_313] = 2; }; clVar_206 = this_313; func_194 = clVar_206; temp_117 = func_194; b_203 = false; if b_203 { cond_result_880 = 1; } else { cond_result_880 = 0; }; dispatch_TFunc_test_TFunc_run665(temp_117, cond_result_880); } IS_NATIVE function testSuccess304() { } function error138(string msg182) { $debugPrint193((msg_182 + (" " + #getStackTrace()))); } function dispatch_TFunc_test_TFunc_run665(integer this869, any t117) { local any t797 local integer i170 if (TFunc_typeId_778[this_869] == 0) { if (this_869 == 0) { error138("Nullpointer exception when calling TFunc.run"); } else { error138("Called TFunc.run on invalid object."); }; } else { }; t_797 = t_117; i_170 = t_797; if (i_170 == 0) { } else { }; testSuccess304(); }