array SimpleFunc_nextFree144 integer SimpleFunc_firstFree458 integer SimpleFunc_maxIndex389 array SimpleFunc_typeId187 array y818 integer SimpleFunc_firstFree458 = 0 integer SimpleFunc_maxIndex389 = 0 function initGlobals992() { } function main869() { initGlobals992(); init_test204(); } function config118() { } function init_test204() { local integer y178 local integer f956 local integer clVar116 local integer this117 local integer this422 local integer x957 local integer test_SimpleFunc_apply_result581 local integer this750 local integer x204 y_178 = 4; if (SimpleFunc_firstFree_458 == 0) { if (SimpleFunc_maxIndex_389 < 32768) { SimpleFunc_maxIndex_389 = (SimpleFunc_maxIndex_389 + 1); this_117 = SimpleFunc_maxIndex_389; SimpleFunc_typeId_187[this_117] = 2; } else { error993("Out of memory: Could not create SimpleFunc_test."); this_117 = 0; }; } else { SimpleFunc_firstFree_458 = (SimpleFunc_firstFree_458 - 1); this_117 = SimpleFunc_nextFree_144[SimpleFunc_firstFree_458]; SimpleFunc_typeId_187[this_117] = 2; }; clVar_116 = this_117; y_818[clVar_116] = y_178; f_956 = clVar_116; this_422 = f_956; x_957 = 3; if (SimpleFunc_typeId_187[this_422] == 0) { if (this_422 == 0) { error993("Nullpointer exception when calling SimpleFunc.apply"); } else { error993("Called SimpleFunc.apply on invalid object."); }; } else { }; this_750 = this_422; x_204 = x_957; test_SimpleFunc_apply_result_581 = (x_204 + y_818[this_750]); if (test_SimpleFunc_apply_result_581 == 7) { testSuccess144(); } else { }; } IS_NATIVE function testSuccess144() { } function error993(string msg913) { $debugPrint101((msg_913 + (" " + #getStackTrace()))); }