array SimpleFunc_nextFree323 integer SimpleFunc_firstFree105 integer SimpleFunc_maxIndex508 array SimpleFunc_typeId124 array y107 integer SimpleFunc_firstFree105 = 0 integer SimpleFunc_maxIndex508 = 0 function initGlobals138() { } function main124() { initGlobals138(); init_test482(); } function config431() { } function init_test482() { local integer y132 local integer f123 local integer clVar138 local integer this102 local integer this801 local integer x192 local integer test_SimpleFunc_apply_result782 local integer this162 local integer x208 y_132 = 4; if (SimpleFunc_firstFree_105 == 0) { if (SimpleFunc_maxIndex_508 < 32768) { SimpleFunc_maxIndex_508 = (SimpleFunc_maxIndex_508 + 1); this_102 = SimpleFunc_maxIndex_508; SimpleFunc_typeId_124[this_102] = 2; } else { error698("Out of memory: Could not create SimpleFunc_test."); this_102 = 0; }; } else { SimpleFunc_firstFree_105 = (SimpleFunc_firstFree_105 - 1); this_102 = SimpleFunc_nextFree_323[SimpleFunc_firstFree_105]; SimpleFunc_typeId_124[this_102] = 2; }; clVar_138 = this_102; y_107[clVar_138] = y_132; f_123 = clVar_138; this_801 = f_123; x_192 = 3; if (SimpleFunc_typeId_124[this_801] == 0) { if (this_801 == 0) { error698("Nullpointer exception when calling SimpleFunc.apply"); } else { error698("Called SimpleFunc.apply on invalid object."); }; } else { }; this_162 = this_801; x_208 = x_192; test_SimpleFunc_apply_result_782 = (x_208 + y_107[this_162]); if (test_SimpleFunc_apply_result_782 == 7) { testSuccess134(); } else { }; } IS_NATIVE function testSuccess134() { } function error698(string msg197) { $debugPrint272((msg_197 + (" " + #getStackTrace()))); }