array SimpleFunc_nextFree927 integer SimpleFunc_firstFree842 integer SimpleFunc_maxIndex151 array SimpleFunc_typeId519 array y303 integer SimpleFunc_firstFree842 = 0 integer SimpleFunc_maxIndex151 = 0 function initGlobals981() { } function main585() { initGlobals981(); init_test201(); } function config211() { } function init_test201() { local integer y399 local integer f691 local integer clVar190 local integer this104 local integer this510 local integer x566 local integer test_SimpleFunc_apply_result200 local integer this206 local integer x471 local integer a193 local integer b969 y_399 = 4; if (SimpleFunc_firstFree_842 == 0) { if (SimpleFunc_maxIndex_151 < 32768) { SimpleFunc_maxIndex_151 = (SimpleFunc_maxIndex_151 + 1); this_104 = SimpleFunc_maxIndex_151; SimpleFunc_typeId_519[this_104] = 2; } else { error816("Out of memory: Could not create SimpleFunc_test."); this_104 = 0; }; } else { SimpleFunc_firstFree_842 = (SimpleFunc_firstFree_842 - 1); this_104 = SimpleFunc_nextFree_927[SimpleFunc_firstFree_842]; SimpleFunc_typeId_519[this_104] = 2; }; clVar_190 = this_104; y_303[clVar_190] = y_399; f_691 = clVar_190; this_510 = f_691; x_566 = 3; if (SimpleFunc_typeId_519[this_510] == 0) { if (this_510 == 0) { error816("Nullpointer exception when calling SimpleFunc.apply"); } else { error816("Called SimpleFunc.apply on invalid object."); }; } else { }; this_206 = this_510; x_471 = x_566; a_193 = y_303[this_206]; b_969 = (a_193 + x_471); test_SimpleFunc_apply_result_200 = b_969; if (test_SimpleFunc_apply_result_200 == 7) { testSuccess105(); } else { }; } IS_NATIVE function testSuccess105() { } function error816(string msg166) { $debugPrint195((msg_166 + (" " + #getStackTrace()))); }