array I_nextFree183 integer I_firstFree206 integer I_maxIndex105 array I_typeId872 array C_nextFree198 integer C_firstFree102 integer C_maxIndex127 array D_nextFree213 integer D_firstFree145 integer D_maxIndex831 integer I_firstFree206 = 0 integer I_maxIndex105 = 0 integer C_firstFree102 = 0 integer C_maxIndex127 = 0 integer D_firstFree145 = 0 integer D_maxIndex831 = 0 function initGlobals229() { } function main183() { initGlobals229(); init_Test809(); } function config262() { } function init_Test809() { local integer b822 b_822 = new_B695(); new_D136(); new_C163(); if (I_typeId_872[b_822] == 0) { if (b_822 == 0) { error789("Nullpointer exception when calling I.bla"); } else { error789("Called I.bla on invalid object."); }; } else { }; } function new_B695() returns integer { local integer this138 if (I_firstFree_206 == 0) { if (I_maxIndex_105 < 32768) { I_maxIndex_105 = (I_maxIndex_105 + 1); this_138 = I_maxIndex_105; I_typeId_872[this_138] = 5; } else { error789("Out of memory: Could not create B."); this_138 = 0; }; } else { I_firstFree_206 = (I_firstFree_206 - 1); this_138 = I_nextFree_183[I_firstFree_206]; I_typeId_872[this_138] = 5; }; return this_138; } function new_C163() returns integer { local integer this512 if (C_firstFree_102 == 0) { if (C_maxIndex_127 < 32768) { C_maxIndex_127 = (C_maxIndex_127 + 1); this_512 = C_maxIndex_127; } else { error789("Out of memory: Could not create C."); this_512 = 0; }; } else { C_firstFree_102 = (C_firstFree_102 - 1); this_512 = C_nextFree_198[C_firstFree_102]; }; return this_512; } function new_D136() returns integer { local integer this176 if (D_firstFree_145 == 0) { if (D_maxIndex_831 < 32768) { D_maxIndex_831 = (D_maxIndex_831 + 1); this_176 = D_maxIndex_831; } else { error789("Out of memory: Could not create D."); this_176 = 0; }; } else { D_firstFree_145 = (D_firstFree_145 - 1); this_176 = D_nextFree_213[D_firstFree_145]; }; return this_176; } function error789(string msg549) { $debugPrint116((msg_549 + (" " + #getStackTrace()))); }