array C_nextFree804 integer C_firstFree107 integer C_maxIndex338 integer C_firstFree107 = 0 integer C_maxIndex338 = 0 function initGlobals172() { } function main758() { initGlobals172(); init_test151(); } function config209() { } function init_test151() { local integer a808 a_808 = new_C192(); if (a_808 == identity504(a_808)) { testSuccess559(); } else { }; } function identity504(any a597) returns any { return a_597; } IS_NATIVE function testSuccess559() { } function C_init809(integer this155) { } function new_C192() returns integer { local integer this167 this_167 = alloc_C163(); construct_C493(this_167); return this_167; } function construct_C493(integer this109) { C_init809(this_109); } function alloc_C163() returns integer { local integer this119 if (C_firstFree_107 == 0) { if (C_maxIndex_338 < 32768) { C_maxIndex_338 = (C_maxIndex_338 + 1); this_119 = C_maxIndex_338; } else { error103("Out of memory: Could not create C."); this_119 = 0; }; } else { C_firstFree_107 = (C_firstFree_107 - 1); this_119 = C_nextFree_804[C_firstFree_107]; }; return this_119; } function error103(string msg415) { $debugPrint359((msg_415 + (" " + #getStackTrace()))); }