array SimpleFunc_nextFree110 integer SimpleFunc_firstFree112 integer SimpleFunc_maxIndex942 array SimpleFunc_typeId194 integer SimpleFunc_firstFree112 = 0 integer SimpleFunc_maxIndex942 = 0 function initGlobals139() { } function main201() { initGlobals139(); init_test280(); } function config174() { } function init_test280() { local integer f202 local integer clVar261 local integer this925 local integer this103 if (SimpleFunc_firstFree_112 == 0) { if (SimpleFunc_maxIndex_942 < 32768) { SimpleFunc_maxIndex_942 = (SimpleFunc_maxIndex_942 + 1); this_925 = SimpleFunc_maxIndex_942; SimpleFunc_typeId_194[this_925] = 2; } else { error472("Out of memory: Could not create SimpleFunc_test."); this_925 = 0; }; } else { SimpleFunc_firstFree_112 = (SimpleFunc_firstFree_112 - 1); this_925 = SimpleFunc_nextFree_110[SimpleFunc_firstFree_112]; SimpleFunc_typeId_194[this_925] = 2; }; clVar_261 = this_925; f_202 = clVar_261; this_103 = f_202; if (SimpleFunc_typeId_194[this_103] == 0) { if (this_103 == 0) { error472("Nullpointer exception when calling SimpleFunc.call"); } else { error472("Called SimpleFunc.call on invalid object."); }; } else { }; testSuccess212(); } IS_NATIVE function testSuccess212() { } function error472(string msg755) { $debugPrint204((msg_755 + (" " + #getStackTrace()))); }