array SimpleFunc_nextFree910 integer SimpleFunc_firstFree163 integer SimpleFunc_maxIndex658 array SimpleFunc_typeId121 integer SimpleFunc_firstFree163 = 0 integer SimpleFunc_maxIndex658 = 0 function initGlobals682() { } function main282() { initGlobals682(); init_test131(); } function config191() { } function init_test131() { local integer f134 local integer clVar752 local integer this539 local integer this798 local integer x362 local integer y206 local integer test_SimpleFunc_apply_result198 local integer x191 local integer y319 if (SimpleFunc_firstFree_163 == 0) { if (SimpleFunc_maxIndex_658 < 32768) { SimpleFunc_maxIndex_658 = (SimpleFunc_maxIndex_658 + 1); this_539 = SimpleFunc_maxIndex_658; SimpleFunc_typeId_121[this_539] = 2; } else { error167("Out of memory: Could not create SimpleFunc_test."); this_539 = 0; }; } else { SimpleFunc_firstFree_163 = (SimpleFunc_firstFree_163 - 1); this_539 = SimpleFunc_nextFree_910[SimpleFunc_firstFree_163]; SimpleFunc_typeId_121[this_539] = 2; }; clVar_752 = this_539; f_134 = clVar_752; this_798 = f_134; x_362 = 3; y_206 = 4; if (SimpleFunc_typeId_121[this_798] == 0) { if (this_798 == 0) { error167("Nullpointer exception when calling SimpleFunc.apply"); } else { error167("Called SimpleFunc.apply on invalid object."); }; } else { }; x_191 = x_362; y_319 = y_206; test_SimpleFunc_apply_result_198 = (x_191 + y_319); if (test_SimpleFunc_apply_result_198 == 7) { testSuccess121(); } else { }; } IS_NATIVE function testSuccess121() { } function error167(string msg465) { $debugPrint139((msg_465 + (" " + #getStackTrace()))); }