array TFunc_nextFree169 integer TFunc_firstFree632 integer TFunc_maxIndex212 array TFunc_typeId160 integer TFunc_firstFree632 = 0 integer TFunc_maxIndex212 = 0 function initGlobals101() { } function main502() { initGlobals101(); init_test154(); } function config250() { } function init_test154() { local integer clVar107 local integer this167 local integer func122 local boolean b862 local integer cond_result944 local integer temp196 if (TFunc_firstFree_632 == 0) { if (TFunc_maxIndex_212 < 32768) { TFunc_maxIndex_212 = (TFunc_maxIndex_212 + 1); this_167 = TFunc_maxIndex_212; TFunc_typeId_160[this_167] = 2; } else { error107("Out of memory: Could not create TFunc_runFunc_test."); this_167 = 0; }; } else { TFunc_firstFree_632 = (TFunc_firstFree_632 - 1); this_167 = TFunc_nextFree_169[TFunc_firstFree_632]; TFunc_typeId_160[this_167] = 2; }; clVar_107 = this_167; func_122 = clVar_107; temp_196 = func_122; b_862 = false; if b_862 { cond_result_944 = 1; } else { cond_result_944 = 0; }; dispatch_TFunc_test_TFunc_run137(temp_196, cond_result_944); } IS_NATIVE function testSuccess144() { } function error107(string msg971) { $debugPrint124((msg_971 + (" " + #getStackTrace()))); } function dispatch_TFunc_test_TFunc_run137(integer this961, any t372) { local any t762 local integer i582 if (TFunc_typeId_160[this_961] == 0) { if (this_961 == 0) { error107("Nullpointer exception when calling TFunc.run"); } else { error107("Called TFunc.run on invalid object."); }; } else { }; t_762 = t_372; i_582 = t_762; if (i_582 == 0) { } else { }; testSuccess144(); }