array SimpleFunc_nextFree106 integer SimpleFunc_firstFree326 integer SimpleFunc_maxIndex140 array SimpleFunc_typeId210 array y112 integer SimpleFunc_firstFree326 = 0 integer SimpleFunc_maxIndex140 = 0 function initGlobals998() { } function main156() { initGlobals998(); init_test114(); } function config487() { } function init_test114() { local integer this131 if (SimpleFunc_firstFree_326 == 0) { if (SimpleFunc_maxIndex_140 < 32768) { SimpleFunc_maxIndex_140 = (SimpleFunc_maxIndex_140 + 1); this_131 = SimpleFunc_maxIndex_140; SimpleFunc_typeId_210[this_131] = 2; } else { error175("Out of memory: Could not create SimpleFunc_test."); this_131 = 0; }; } else { SimpleFunc_firstFree_326 = (SimpleFunc_firstFree_326 - 1); this_131 = SimpleFunc_nextFree_106[SimpleFunc_firstFree_326]; SimpleFunc_typeId_210[this_131] = 2; }; y_112[this_131] = 4; if (SimpleFunc_typeId_210[this_131] == 0) { if (this_131 == 0) { error175("Nullpointer exception when calling SimpleFunc.apply"); } else { error175("Called SimpleFunc.apply on invalid object."); }; } else { }; this_131 = (y_112[this_131] + 3); if (this_131 == 7) { testSuccess171(); } else { }; } IS_NATIVE function testSuccess171() { } function error175(string msg534) { $debugPrint434((msg_534 + (" " + #getStackTrace()))); }