array TFunc_nextFree538 integer TFunc_firstFree484 integer TFunc_maxIndex557 array TFunc_typeId154 integer TFunc_firstFree484 = 0 integer TFunc_maxIndex557 = 0 function initGlobals383() { TFunc_firstFree_484 = 0; TFunc_maxIndex_557 = 0; } function main133() { initGlobals383(); init_test115(); } function config716() { } function init_test115() { local integer clVar864 clVar_864 = alloc_TFunc_runFunc_test134(); runFunc207(clVar_864); } function booleanToIndex474(boolean b309) returns integer { local integer cond_result168 if b_309 { cond_result_168 = 1; } else { cond_result_168 = 0; }; return cond_result_168; } function booleanFromIndex108(integer i127) returns boolean { local boolean cond_result134 if (i_127 == 0) { cond_result_134 = false; } else { cond_result_134 = true; }; return cond_result_134; } function runFunc207(integer func815) { dispatch_TFunc_test_TFunc_run208(func_815, booleanToIndex474(false)); } function run_wrapper105(integer this701, any t101) { run_runFunc_test177(this_701, booleanFromIndex108(t_101)); } IS_NATIVE function testSuccess182() { } function run_runFunc_test177(integer this376, boolean b130) { testSuccess182(); } function alloc_TFunc_runFunc_test134() returns integer { local integer this575 if (TFunc_firstFree_484 == 0) { if (TFunc_maxIndex_557 < 32768) { TFunc_maxIndex_557 = (TFunc_maxIndex_557 + 1); this_575 = TFunc_maxIndex_557; TFunc_typeId_154[this_575] = 2; } else { error147("Out of memory: Could not create TFunc_runFunc_test."); this_575 = 0; }; } else { TFunc_firstFree_484 = (TFunc_firstFree_484 - 1); this_575 = TFunc_nextFree_538[TFunc_firstFree_484]; TFunc_typeId_154[this_575] = 2; }; return this_575; } function error147(string msg960) { $debugPrint215((msg_960 + (" " + #getStackTrace()))); } function dispatch_TFunc_test_TFunc_run208(integer this706, any t765) { if (TFunc_typeId_154[this_706] == 0) { if (this_706 == 0) { error147("Nullpointer exception when calling TFunc.run"); } else { error147("Called TFunc.run on invalid object."); }; } else { }; run_wrapper105(this_706, t_765); }