array SimpleFunc_nextFree134 integer SimpleFunc_firstFree156 integer SimpleFunc_maxIndex765 array SimpleFunc_typeId136 array main203 integer SimpleFunc_firstFree156 = 0 integer SimpleFunc_maxIndex765 = 0 function initGlobals203() { } function main323() { initGlobals203(); init_test144(); } function config180() { } function init_test144() { local integer main739 local integer f543 local integer clVar138 local integer this210 local integer this109 local integer x816 local integer test_SimpleFunc_apply_result775 local integer this914 local integer x183 main_739 = 4; if (SimpleFunc_firstFree_156 == 0) { if (SimpleFunc_maxIndex_765 < 32768) { SimpleFunc_maxIndex_765 = (SimpleFunc_maxIndex_765 + 1); this_210 = SimpleFunc_maxIndex_765; SimpleFunc_typeId_136[this_210] = 2; } else { error632("Out of memory: Could not create SimpleFunc_test."); this_210 = 0; }; } else { SimpleFunc_firstFree_156 = (SimpleFunc_firstFree_156 - 1); this_210 = SimpleFunc_nextFree_134[SimpleFunc_firstFree_156]; SimpleFunc_typeId_136[this_210] = 2; }; clVar_138 = this_210; main_203[clVar_138] = main_739; f_543 = clVar_138; this_109 = f_543; x_816 = 3; if (SimpleFunc_typeId_136[this_109] == 0) { if (this_109 == 0) { error632("Nullpointer exception when calling SimpleFunc.apply"); } else { error632("Called SimpleFunc.apply on invalid object."); }; } else { }; this_914 = this_109; x_183 = x_816; test_SimpleFunc_apply_result_775 = (x_183 + main_203[this_914]); if (test_SimpleFunc_apply_result_775 == 7) { testSuccess739(); } else { }; } IS_NATIVE function testSuccess739() { } function error632(string msg559) { $debugPrint756((msg_559 + (" " + #getStackTrace()))); }