array SimpleFunc_nextFree116 integer SimpleFunc_firstFree859 integer SimpleFunc_maxIndex416 array SimpleFunc_typeId138 integer SimpleFunc_firstFree859 = 0 integer SimpleFunc_maxIndex416 = 0 function initGlobals194() { } function main440() { initGlobals194(); init_test137(); } function config173() { } function init_test137() { local integer this778 if (SimpleFunc_firstFree_859 == 0) { if (SimpleFunc_maxIndex_416 < 32768) { SimpleFunc_maxIndex_416 = (SimpleFunc_maxIndex_416 + 1); this_778 = SimpleFunc_maxIndex_416; SimpleFunc_typeId_138[this_778] = 2; } else { error999("Out of memory: Could not create SimpleFunc_test."); this_778 = 0; }; } else { SimpleFunc_firstFree_859 = (SimpleFunc_firstFree_859 - 1); this_778 = SimpleFunc_nextFree_116[SimpleFunc_firstFree_859]; SimpleFunc_typeId_138[this_778] = 2; }; if (SimpleFunc_typeId_138[this_778] == 0) { if (this_778 == 0) { error999("Nullpointer exception when calling SimpleFunc.call"); } else { error999("Called SimpleFunc.call on invalid object."); }; } else { }; testSuccess643(); } IS_NATIVE function testSuccess643() { } function error999(string msg142) { $debugPrint264((msg_142 + (" " + #getStackTrace()))); }