array SimpleFunc_nextFree187 integer SimpleFunc_firstFree528 integer SimpleFunc_maxIndex139 array SimpleFunc_typeId416 array y828 integer SimpleFunc_firstFree528 = 0 integer SimpleFunc_maxIndex139 = 0 function initGlobals351() { } function main136() { initGlobals351(); test969(4); } function config853() { } function test969(integer y804) { local integer f167 local integer clVar111 local integer this186 local integer this426 local integer x180 local integer test_SimpleFunc_apply_result129 local integer this115 local integer x214 if (SimpleFunc_firstFree_528 == 0) { if (SimpleFunc_maxIndex_139 < 32768) { SimpleFunc_maxIndex_139 = (SimpleFunc_maxIndex_139 + 1); this_186 = SimpleFunc_maxIndex_139; SimpleFunc_typeId_416[this_186] = 2; } else { error109("Out of memory: Could not create SimpleFunc_test."); this_186 = 0; }; } else { SimpleFunc_firstFree_528 = (SimpleFunc_firstFree_528 - 1); this_186 = SimpleFunc_nextFree_187[SimpleFunc_firstFree_528]; SimpleFunc_typeId_416[this_186] = 2; }; clVar_111 = this_186; y_828[clVar_111] = y_804; f_167 = clVar_111; this_426 = f_167; x_180 = 3; if (SimpleFunc_typeId_416[this_426] == 0) { if (this_426 == 0) { error109("Nullpointer exception when calling SimpleFunc.apply"); } else { error109("Called SimpleFunc.apply on invalid object."); }; } else { }; this_115 = this_426; x_214 = x_180; test_SimpleFunc_apply_result_129 = (x_214 + y_828[this_115]); if (test_SimpleFunc_apply_result_129 == 7) { testSuccess823(); } else { }; } IS_NATIVE function testSuccess823() { } function error109(string msg530) { $debugPrint109((msg_530 + (" " + #getStackTrace()))); }