array SimpleFunc_nextFree483 integer SimpleFunc_firstFree177 integer SimpleFunc_maxIndex204 array SimpleFunc_typeId639 array y668 integer SimpleFunc_firstFree177 = 0 integer SimpleFunc_maxIndex204 = 0 function initGlobals172() { } function main206() { initGlobals172(); init_test178(); } function config766() { } function init_test178() { local integer y176 local integer f188 local integer clVar162 local integer this111 local integer this276 local integer x132 local integer test_SimpleFunc_apply_result774 local integer this442 local integer x148 local integer a255 local integer b122 y_176 = 4; if (SimpleFunc_firstFree_177 == 0) { if (SimpleFunc_maxIndex_204 < 32768) { SimpleFunc_maxIndex_204 = (SimpleFunc_maxIndex_204 + 1); this_111 = SimpleFunc_maxIndex_204; SimpleFunc_typeId_639[this_111] = 2; } else { error175("Out of memory: Could not create SimpleFunc_test."); this_111 = 0; }; } else { SimpleFunc_firstFree_177 = (SimpleFunc_firstFree_177 - 1); this_111 = SimpleFunc_nextFree_483[SimpleFunc_firstFree_177]; SimpleFunc_typeId_639[this_111] = 2; }; clVar_162 = this_111; y_668[clVar_162] = y_176; f_188 = clVar_162; this_276 = f_188; x_132 = 3; if (SimpleFunc_typeId_639[this_276] == 0) { if (this_276 == 0) { error175("Nullpointer exception when calling SimpleFunc.apply"); } else { error175("Called SimpleFunc.apply on invalid object."); }; } else { }; this_442 = this_276; x_148 = x_132; a_255 = y_668[this_442]; b_122 = (a_255 + x_148); test_SimpleFunc_apply_result_774 = b_122; if (test_SimpleFunc_apply_result_774 == 7) { testSuccess863(); } else { }; } IS_NATIVE function testSuccess863() { } function error175(string msg190) { $debugPrint158((msg_190 + (" " + #getStackTrace()))); }