array SimpleFunc_nextFree111 integer SimpleFunc_firstFree213 integer SimpleFunc_maxIndex209 array SimpleFunc_typeId138 array y103 integer SimpleFunc_firstFree213 = 0 integer SimpleFunc_maxIndex209 = 0 function initGlobals592() { } function main809() { initGlobals592(); init_test163(); } function config203() { } function init_test163() { local integer y583 local integer f961 local integer clVar186 local integer this148 local integer this109 local integer x836 local integer test_SimpleFunc_apply_result575 local integer this381 local integer x180 local integer a652 local integer b198 y_583 = 4; if (SimpleFunc_firstFree_213 == 0) { if (SimpleFunc_maxIndex_209 < 32768) { SimpleFunc_maxIndex_209 = (SimpleFunc_maxIndex_209 + 1); this_148 = SimpleFunc_maxIndex_209; SimpleFunc_typeId_138[this_148] = 2; } else { error102("Out of memory: Could not create SimpleFunc_test."); this_148 = 0; }; } else { SimpleFunc_firstFree_213 = (SimpleFunc_firstFree_213 - 1); this_148 = SimpleFunc_nextFree_111[SimpleFunc_firstFree_213]; SimpleFunc_typeId_138[this_148] = 2; }; clVar_186 = this_148; y_103[clVar_186] = y_583; f_961 = clVar_186; this_109 = f_961; x_836 = 3; if (SimpleFunc_typeId_138[this_109] == 0) { if (this_109 == 0) { error102("Nullpointer exception when calling SimpleFunc.apply"); } else { error102("Called SimpleFunc.apply on invalid object."); }; } else { }; this_381 = this_109; x_180 = x_836; a_652 = y_103[this_381]; b_198 = (a_652 + x_180); test_SimpleFunc_apply_result_575 = b_198; if (test_SimpleFunc_apply_result_575 == 7) { testSuccess553(); } else { }; } IS_NATIVE function testSuccess553() { } function error102(string msg995) { $debugPrint427((msg_995 + (" " + #getStackTrace()))); }