array<integer> SimpleFunc_nextFree275 integer SimpleFunc_firstFree109 integer SimpleFunc_maxIndex172 array<integer> SimpleFunc_typeId127 array<integer> y143 integer SimpleFunc_firstFree109 = 0 integer SimpleFunc_maxIndex172 = 0 function initGlobals517() { } function main160() { initGlobals517(); init_test851(); } function config974() { } function init_test851() { local integer this115 if (SimpleFunc_firstFree_109 == 0) { if (SimpleFunc_maxIndex_172 < 32768) { SimpleFunc_maxIndex_172 = (SimpleFunc_maxIndex_172 + 1); this_115 = SimpleFunc_maxIndex_172; SimpleFunc_typeId_127[this_115] = 2; } else { error129("Out of memory: Could not create SimpleFunc_test."); this_115 = 0; }; } else { SimpleFunc_firstFree_109 = (SimpleFunc_firstFree_109 - 1); this_115 = SimpleFunc_nextFree_275[SimpleFunc_firstFree_109]; SimpleFunc_typeId_127[this_115] = 2; }; y_143[this_115] = 4; if (SimpleFunc_typeId_127[this_115] == 0) { if (this_115 == 0) { error129("Nullpointer exception when calling SimpleFunc.apply"); } else { error129("Called SimpleFunc.apply on invalid object."); }; } else { }; this_115 = (y_143[this_115] + 3); if (this_115 == 7) { testSuccess174(); } else { }; } IS_NATIVE function testSuccess174() { } function error129(string msg515) { $debugPrint172((msg_515 + (" " + #getStackTrace()))); }