array SimpleFunc_nextFree998 integer SimpleFunc_firstFree355 integer SimpleFunc_maxIndex117 array SimpleFunc_typeId325 array y120 integer SimpleFunc_firstFree355 = 0 integer SimpleFunc_maxIndex117 = 0 function initGlobals182() { } function main207() { initGlobals182(); init_test295(); } function config176() { } function init_test295() { local integer y159 local integer f195 local integer clVar191 local integer this186 local integer this107 local integer x806 local integer test_SimpleFunc_apply_result183 local integer this684 local integer x146 local integer a143 local integer b565 y_159 = 4; if (SimpleFunc_firstFree_355 == 0) { if (SimpleFunc_maxIndex_117 < 32768) { SimpleFunc_maxIndex_117 = (SimpleFunc_maxIndex_117 + 1); this_186 = SimpleFunc_maxIndex_117; SimpleFunc_typeId_325[this_186] = 2; } else { error366("Out of memory: Could not create SimpleFunc_test."); this_186 = 0; }; } else { SimpleFunc_firstFree_355 = (SimpleFunc_firstFree_355 - 1); this_186 = SimpleFunc_nextFree_998[SimpleFunc_firstFree_355]; SimpleFunc_typeId_325[this_186] = 2; }; clVar_191 = this_186; y_120[clVar_191] = y_159; f_195 = clVar_191; this_107 = f_195; x_806 = 3; if (SimpleFunc_typeId_325[this_107] == 0) { if (this_107 == 0) { error366("Nullpointer exception when calling SimpleFunc.apply"); } else { error366("Called SimpleFunc.apply on invalid object."); }; } else { }; this_684 = this_107; x_146 = x_806; a_143 = y_120[this_684]; b_565 = (a_143 + x_146); test_SimpleFunc_apply_result_183 = b_565; if (test_SimpleFunc_apply_result_183 == 7) { testSuccess194(); } else { }; } IS_NATIVE function testSuccess194() { } function error366(string msg423) { $debugPrint165((msg_423 + (" " + #getStackTrace()))); }