array SimpleFunc_nextFree822 integer SimpleFunc_firstFree427 integer SimpleFunc_maxIndex663 array SimpleFunc_typeId161 array main159 integer SimpleFunc_firstFree427 = 0 integer SimpleFunc_maxIndex663 = 0 function initGlobals199() { } function main680() { initGlobals199(); init_test164(); } function config111() { } function init_test164() { local integer main728 local integer f941 local integer clVar567 local integer this194 local integer this695 local integer x592 local integer test_SimpleFunc_apply_result114 local integer this476 local integer x352 main_728 = 4; if (SimpleFunc_firstFree_427 == 0) { if (SimpleFunc_maxIndex_663 < 32768) { SimpleFunc_maxIndex_663 = (SimpleFunc_maxIndex_663 + 1); this_194 = SimpleFunc_maxIndex_663; SimpleFunc_typeId_161[this_194] = 2; } else { error901("Out of memory: Could not create SimpleFunc_test."); this_194 = 0; }; } else { SimpleFunc_firstFree_427 = (SimpleFunc_firstFree_427 - 1); this_194 = SimpleFunc_nextFree_822[SimpleFunc_firstFree_427]; SimpleFunc_typeId_161[this_194] = 2; }; clVar_567 = this_194; main_159[clVar_567] = main_728; f_941 = clVar_567; this_695 = f_941; x_592 = 3; if (SimpleFunc_typeId_161[this_695] == 0) { if (this_695 == 0) { error901("Nullpointer exception when calling SimpleFunc.apply"); } else { error901("Called SimpleFunc.apply on invalid object."); }; } else { }; this_476 = this_695; x_352 = x_592; test_SimpleFunc_apply_result_114 = (x_352 + main_159[this_476]); if (test_SimpleFunc_apply_result_114 == 7) { testSuccess891(); } else { }; } IS_NATIVE function testSuccess891() { } function error901(string msg589) { $debugPrint885((msg_589 + (" " + #getStackTrace()))); }