array I_nextFree120 integer I_firstFree198 integer I_maxIndex709 array I_typeId108 array C_nextFree191 integer C_firstFree962 integer C_maxIndex214 array D_nextFree106 integer D_firstFree121 integer D_maxIndex640 integer I_firstFree198 = 0 integer I_maxIndex709 = 0 integer C_firstFree962 = 0 integer C_maxIndex214 = 0 integer D_firstFree121 = 0 integer D_maxIndex640 = 0 function initGlobals119() { } function main196() { initGlobals119(); init_Test677(); } function config790() { } function init_Test677() { local integer b132 b_132 = new_B192(); new_D253(); new_C114(); if (I_typeId_108[b_132] == 0) { if (b_132 == 0) { error179("Nullpointer exception when calling I.bla"); } else { error179("Called I.bla on invalid object."); }; } else { }; } function new_B192() returns integer { local integer this206 if (I_firstFree_198 == 0) { if (I_maxIndex_709 < 32768) { I_maxIndex_709 = (I_maxIndex_709 + 1); this_206 = I_maxIndex_709; I_typeId_108[this_206] = 6; } else { error179("Out of memory: Could not create B."); this_206 = 0; }; } else { I_firstFree_198 = (I_firstFree_198 - 1); this_206 = I_nextFree_120[I_firstFree_198]; I_typeId_108[this_206] = 6; }; return this_206; } function new_C114() returns integer { local integer this208 if (C_firstFree_962 == 0) { if (C_maxIndex_214 < 32768) { C_maxIndex_214 = (C_maxIndex_214 + 1); this_208 = C_maxIndex_214; } else { error179("Out of memory: Could not create C."); this_208 = 0; }; } else { C_firstFree_962 = (C_firstFree_962 - 1); this_208 = C_nextFree_191[C_firstFree_962]; }; return this_208; } function new_D253() returns integer { local integer this261 if (D_firstFree_121 == 0) { if (D_maxIndex_640 < 32768) { D_maxIndex_640 = (D_maxIndex_640 + 1); this_261 = D_maxIndex_640; } else { error179("Out of memory: Could not create D."); this_261 = 0; }; } else { D_firstFree_121 = (D_firstFree_121 - 1); this_261 = D_nextFree_106[D_firstFree_121]; }; return this_261; } function error179(string msg915) { $debugPrint669((msg_915 + (" " + #getStackTrace()))); }