array ABC_nextFree198 integer ABC_firstFree611 integer ABC_maxIndex117 array ABC_typeId145 integer ABC_firstFree611 = 0 integer ABC_maxIndex117 = 0 integer B_firstFree107 = 0 integer B_maxIndex163 = 0 function initGlobals297() { } function main590() { initGlobals297(); init_A173(); } function config189() { } function init_A173() { local integer this977 if (ABC_firstFree_611 == 0) { if (ABC_maxIndex_117 < 32768) { ABC_maxIndex_117 = (ABC_maxIndex_117 + 1); this_977 = ABC_maxIndex_117; ABC_typeId_145[this_977] = 2; } else { error431("Out of memory: Could not create ABC_foo_A."); this_977 = 0; }; } else { ABC_firstFree_611 = (ABC_firstFree_611 - 1); this_977 = ABC_nextFree_198[ABC_firstFree_611]; ABC_typeId_145[this_977] = 2; }; if (ABC_typeId_145[this_977] == 0) { if (this_977 == 0) { error431("Nullpointer exception when calling ABC.foo"); } else { error431("Called ABC.foo on invalid object."); }; } else { }; testSuccess185(); } IS_NATIVE function testSuccess185() { } function error431(string msg615) { $debugPrint596((msg_615 + (" " + #getStackTrace()))); }