array I_nextFree172 integer I_firstFree207 integer I_maxIndex198 array I_typeId100 array C_nextFree122 integer C_firstFree181 integer C_maxIndex123 array D_nextFree214 integer D_firstFree162 integer D_maxIndex121 integer I_firstFree207 = 0 integer I_maxIndex198 = 0 integer C_firstFree181 = 0 integer C_maxIndex123 = 0 integer D_firstFree162 = 0 integer D_maxIndex121 = 0 function initGlobals818() { } function main869() { initGlobals818(); init_Test194(); } function config132() { } function init_Test194() { local integer b671 local integer this401 b_671 = new_B725(); this_401 = b_671; new_D172(); new_C101(); if (I_typeId_100[this_401] == 0) { if (this_401 == 0) { error171("Nullpointer exception when calling I.bla"); } else { error171("Called I.bla on invalid object."); }; } else { }; } function new_B725() returns integer { local integer this123 local integer this313 if (I_firstFree_207 == 0) { if (I_maxIndex_198 < 32768) { I_maxIndex_198 = (I_maxIndex_198 + 1); this_313 = I_maxIndex_198; I_typeId_100[this_313] = 5; } else { error171("Out of memory: Could not create B."); this_313 = 0; }; } else { I_firstFree_207 = (I_firstFree_207 - 1); this_313 = I_nextFree_172[I_firstFree_207]; I_typeId_100[this_313] = 5; }; this_123 = this_313; return this_123; } function new_C101() returns integer { local integer this125 local integer this195 if (C_firstFree_181 == 0) { if (C_maxIndex_123 < 32768) { C_maxIndex_123 = (C_maxIndex_123 + 1); this_195 = C_maxIndex_123; } else { error171("Out of memory: Could not create C."); this_195 = 0; }; } else { C_firstFree_181 = (C_firstFree_181 - 1); this_195 = C_nextFree_122[C_firstFree_181]; }; this_125 = this_195; return this_125; } function new_D172() returns integer { local integer this763 local integer this177 if (D_firstFree_162 == 0) { if (D_maxIndex_121 < 32768) { D_maxIndex_121 = (D_maxIndex_121 + 1); this_177 = D_maxIndex_121; } else { error171("Out of memory: Could not create D."); this_177 = 0; }; } else { D_firstFree_162 = (D_firstFree_162 - 1); this_177 = D_nextFree_214[D_firstFree_162]; }; this_763 = this_177; return this_763; } function error171(string msg730) { $debugPrint110((msg_730 + (" " + #getStackTrace()))); }