array ABC_nextFree182 integer ABC_firstFree787 integer ABC_maxIndex186 array ABC_typeId122 integer ABC_firstFree787 = 0 integer ABC_maxIndex186 = 0 integer B_firstFree596 = 0 integer B_maxIndex212 = 0 function initGlobals133() { } function main169() { initGlobals133(); init_A193(); } function config199() { } function init_A193() { local integer this187 if (ABC_firstFree_787 == 0) { if (ABC_maxIndex_186 < 32768) { ABC_maxIndex_186 = (ABC_maxIndex_186 + 1); this_187 = ABC_maxIndex_186; ABC_typeId_122[this_187] = 2; } else { error569("Out of memory: Could not create ABC_foo_A."); this_187 = 0; }; } else { ABC_firstFree_787 = (ABC_firstFree_787 - 1); this_187 = ABC_nextFree_182[ABC_firstFree_787]; ABC_typeId_122[this_187] = 2; }; if (ABC_typeId_122[this_187] == 0) { if (this_187 == 0) { error569("Nullpointer exception when calling ABC.foo"); } else { error569("Called ABC.foo on invalid object."); }; } else { }; testSuccess114(); } IS_NATIVE function testSuccess114() { } function error569(string msg535) { $debugPrint129((msg_535 + (" " + #getStackTrace()))); }