array SimpleFunc_nextFree838 integer SimpleFunc_firstFree698 integer SimpleFunc_maxIndex210 array SimpleFunc_typeId154 array y121 integer SimpleFunc_firstFree698 = 0 integer SimpleFunc_maxIndex210 = 0 function initGlobals198() { } function main705() { initGlobals198(); init_test548(); } function config800() { } function init_test548() { local integer y161 local integer f122 local integer clVar189 local integer this184 local integer this167 local integer x181 local integer test_SimpleFunc_apply_result105 local integer this497 local integer x732 y_161 = 4; if (SimpleFunc_firstFree_698 == 0) { if (SimpleFunc_maxIndex_210 < 32768) { SimpleFunc_maxIndex_210 = (SimpleFunc_maxIndex_210 + 1); this_184 = SimpleFunc_maxIndex_210; SimpleFunc_typeId_154[this_184] = 2; } else { error172("Out of memory: Could not create SimpleFunc_test."); this_184 = 0; }; } else { SimpleFunc_firstFree_698 = (SimpleFunc_firstFree_698 - 1); this_184 = SimpleFunc_nextFree_838[SimpleFunc_firstFree_698]; SimpleFunc_typeId_154[this_184] = 2; }; clVar_189 = this_184; y_121[clVar_189] = y_161; f_122 = clVar_189; this_167 = f_122; x_181 = 3; if (SimpleFunc_typeId_154[this_167] == 0) { if (this_167 == 0) { error172("Nullpointer exception when calling SimpleFunc.apply"); } else { error172("Called SimpleFunc.apply on invalid object."); }; } else { }; this_497 = this_167; x_732 = x_181; test_SimpleFunc_apply_result_105 = (x_732 + y_121[this_497]); if (test_SimpleFunc_apply_result_105 == 7) { testSuccess201(); } else { }; } IS_NATIVE function testSuccess201() { } function error172(string msg121) { $debugPrint140((msg_121 + (" " + #getStackTrace()))); }