array SimpleFunc_nextFree407 integer SimpleFunc_firstFree473 integer SimpleFunc_maxIndex178 array SimpleFunc_typeId133 array y350 integer SimpleFunc_firstFree473 = 0 integer SimpleFunc_maxIndex178 = 0 function initGlobals218() { } function main172() { initGlobals218(); test271(4); } function config191() { } function test271(integer y343) { local integer this671 if (SimpleFunc_firstFree_473 == 0) { if (SimpleFunc_maxIndex_178 < 32768) { SimpleFunc_maxIndex_178 = (SimpleFunc_maxIndex_178 + 1); this_671 = SimpleFunc_maxIndex_178; SimpleFunc_typeId_133[this_671] = 2; } else { error629("Out of memory: Could not create SimpleFunc_test."); this_671 = 0; }; } else { SimpleFunc_firstFree_473 = (SimpleFunc_firstFree_473 - 1); this_671 = SimpleFunc_nextFree_407[SimpleFunc_firstFree_473]; SimpleFunc_typeId_133[this_671] = 2; }; y_350[this_671] = y_343; if (SimpleFunc_typeId_133[this_671] == 0) { if (this_671 == 0) { error629("Nullpointer exception when calling SimpleFunc.apply"); } else { error629("Called SimpleFunc.apply on invalid object."); }; } else { }; if ((3 + y_350[this_671]) == 7) { testSuccess131(); } else { }; } IS_NATIVE function testSuccess131() { } function error629(string msg920) { $debugPrint109((msg_920 + (" " + #getStackTrace()))); }