array SimpleFunc_nextFree171 integer SimpleFunc_firstFree748 integer SimpleFunc_maxIndex254 array SimpleFunc_typeId187 array y209 integer SimpleFunc_firstFree748 = 0 integer SimpleFunc_maxIndex254 = 0 function initGlobals201() { } function main333() { initGlobals201(); init_test191(); } function config982() { } function init_test191() { local integer this156 if (SimpleFunc_firstFree_748 == 0) { if (SimpleFunc_maxIndex_254 < 32768) { SimpleFunc_maxIndex_254 = (SimpleFunc_maxIndex_254 + 1); this_156 = SimpleFunc_maxIndex_254; SimpleFunc_typeId_187[this_156] = 2; } else { error281("Out of memory: Could not create SimpleFunc_test."); this_156 = 0; }; } else { SimpleFunc_firstFree_748 = (SimpleFunc_firstFree_748 - 1); this_156 = SimpleFunc_nextFree_171[SimpleFunc_firstFree_748]; SimpleFunc_typeId_187[this_156] = 2; }; y_209[this_156] = 4; if (SimpleFunc_typeId_187[this_156] == 0) { if (this_156 == 0) { error281("Nullpointer exception when calling SimpleFunc.apply"); } else { error281("Called SimpleFunc.apply on invalid object."); }; } else { }; this_156 = (y_209[this_156] + 3); if (this_156 == 7) { testSuccess174(); } else { }; } IS_NATIVE function testSuccess174() { } function error281(string msg787) { $debugPrint570((msg_787 + (" " + #getStackTrace()))); }