array A_nextFree630 integer A_firstFree141 integer A_maxIndex143 array A_x175 integer A_firstFree141 = 0 integer A_maxIndex143 = 0 function initGlobals203() { } function main211() { initGlobals203(); init_test212(); } function config836() { } function init_test212() { local integer i728 i_728 = blub329(new_A100(42)); if (A_x_175[(((2 * i_728) - i_728) castTo integer)] == 42) { testSuccess105(); } else { }; } function blub329(any x293) returns integer { return (x_293 castTo integer); } IS_NATIVE function testSuccess105() { } function A_init204(integer this156) { A_x_175[this_156] = 1; } function new_A100(integer x145) returns integer { local integer this115 this_115 = alloc_A731(); construct_A398(this_115, x_145); return this_115; } function construct_A398(integer this592, integer x145) { A_init204(this_592); A_x_175[this_592] = x_145; } function alloc_A731() returns integer { local integer this600 if (A_firstFree_141 == 0) { if (A_maxIndex_143 < 32768) { A_maxIndex_143 = (A_maxIndex_143 + 1); this_600 = A_maxIndex_143; } else { error138("Out of memory: Could not create A."); this_600 = 0; }; } else { A_firstFree_141 = (A_firstFree_141 - 1); this_600 = A_nextFree_630[A_firstFree_141]; }; return this_600; } function error138(string msg563) { $debugPrint143((msg_563 + (" " + #getStackTrace()))); }