array TFunc_nextFree970 integer TFunc_firstFree188 integer TFunc_maxIndex845 array TFunc_typeId184 integer TFunc_firstFree188 = 0 integer TFunc_maxIndex845 = 0 function initGlobals557() { } function main185() { initGlobals557(); init_test370(); } function config807() { } function init_test370() { local integer clVar797 local integer this161 local integer func122 local boolean b213 local integer cond_result188 local integer temp122 if (TFunc_firstFree_188 == 0) { if (TFunc_maxIndex_845 < 32768) { TFunc_maxIndex_845 = (TFunc_maxIndex_845 + 1); this_161 = TFunc_maxIndex_845; TFunc_typeId_184[this_161] = 2; } else { error164("Out of memory: Could not create TFunc_runFunc_test."); this_161 = 0; }; } else { TFunc_firstFree_188 = (TFunc_firstFree_188 - 1); this_161 = TFunc_nextFree_970[TFunc_firstFree_188]; TFunc_typeId_184[this_161] = 2; }; clVar_797 = this_161; func_122 = clVar_797; temp_122 = func_122; b_213 = false; if b_213 { cond_result_188 = 1; } else { cond_result_188 = 0; }; dispatch_TFunc_test_TFunc_run172(temp_122, cond_result_188); } IS_NATIVE function testSuccess541() { } function error164(string msg194) { $debugPrint109((msg_194 + (" " + #getStackTrace()))); } function dispatch_TFunc_test_TFunc_run172(integer this111, any t136) { local any t177 local integer i162 if (TFunc_typeId_184[this_111] == 0) { if (this_111 == 0) { error164("Nullpointer exception when calling TFunc.run"); } else { error164("Called TFunc.run on invalid object."); }; } else { }; t_177 = t_136; i_162 = t_177; if (i_162 == 0) { } else { }; testSuccess541(); }