array SimpleFunc_nextFree196 integer SimpleFunc_firstFree203 integer SimpleFunc_maxIndex209 array SimpleFunc_typeId963 array y658 integer SimpleFunc_firstFree203 = 0 integer SimpleFunc_maxIndex209 = 0 function initGlobals132() { } function main169() { initGlobals132(); init_test668(); } function config985() { } function init_test668() { local integer y206 local integer f186 local integer clVar243 local integer this179 local integer this153 local integer x100 local integer test_SimpleFunc_apply_result939 local integer this847 local integer x958 local integer a993 local integer b289 y_206 = 4; if (SimpleFunc_firstFree_203 == 0) { if (SimpleFunc_maxIndex_209 < 32768) { SimpleFunc_maxIndex_209 = (SimpleFunc_maxIndex_209 + 1); this_179 = SimpleFunc_maxIndex_209; SimpleFunc_typeId_963[this_179] = 2; } else { error207("Out of memory: Could not create SimpleFunc_test."); this_179 = 0; }; } else { SimpleFunc_firstFree_203 = (SimpleFunc_firstFree_203 - 1); this_179 = SimpleFunc_nextFree_196[SimpleFunc_firstFree_203]; SimpleFunc_typeId_963[this_179] = 2; }; clVar_243 = this_179; y_658[clVar_243] = y_206; f_186 = clVar_243; this_153 = f_186; x_100 = 3; if (SimpleFunc_typeId_963[this_153] == 0) { if (this_153 == 0) { error207("Nullpointer exception when calling SimpleFunc.apply"); } else { error207("Called SimpleFunc.apply on invalid object."); }; } else { }; this_847 = this_153; x_958 = x_100; a_993 = y_658[this_847]; b_289 = (a_993 + x_958); test_SimpleFunc_apply_result_939 = b_289; if (test_SimpleFunc_apply_result_939 == 7) { testSuccess447(); } else { }; } IS_NATIVE function testSuccess447() { } function error207(string msg192) { $debugPrint576((msg_192 + (" " + #getStackTrace()))); }