array C_nextFree965 integer C_firstFree723 integer C_maxIndex815 integer C_firstFree723 = 0 integer C_maxIndex815 = 0 function initGlobals458() { C_firstFree_723 = 0; C_maxIndex_815 = 0; } function main205() { initGlobals458(); init_test951(); } function config450() { } function init_test951() { local integer a128 local integer b288 a_128 = new_C114(); b_288 = identity915(a_128); if (a_128 == b_288) { testSuccess433(); } else { }; } function identity915(any a198) returns any { return a_198; } IS_NATIVE function testSuccess433() { } function C_init501(integer this164) { } function new_C114() returns integer { local integer this142 this_142 = alloc_C540(); construct_C169(this_142); return this_142; } function construct_C169(integer this338) { C_init501(this_338); } function alloc_C540() returns integer { local integer this196 if (C_firstFree_723 == 0) { if (C_maxIndex_815 < 32768) { C_maxIndex_815 = (C_maxIndex_815 + 1); this_196 = C_maxIndex_815; } else { error457("Out of memory: Could not create C."); this_196 = 0; }; } else { C_firstFree_723 = (C_firstFree_723 - 1); this_196 = C_nextFree_965[C_firstFree_723]; }; return this_196; } function error457(string msg726) { $debugPrint761((msg_726 + (" " + #getStackTrace()))); }