array C_nextFree112 integer C_firstFree193 integer C_maxIndex239 integer C_firstFree193 = 0 integer C_maxIndex239 = 0 function initGlobals808() { } function main170() { initGlobals808(); init_test149(); } function config590() { } function init_test149() { local integer a409 a_409 = new_C129(); if (a_409 == identity537(a_409)) { testSuccess733(); } else { }; } function identity537(any a820) returns any { return a_820; } IS_NATIVE function testSuccess733() { } function C_init182(integer this603) { } function new_C129() returns integer { local integer this190 this_190 = alloc_C453(); construct_C186(this_190); return this_190; } function construct_C186(integer this425) { C_init182(this_425); } function alloc_C453() returns integer { local integer this153 if (C_firstFree_193 == 0) { if (C_maxIndex_239 < 32768) { C_maxIndex_239 = (C_maxIndex_239 + 1); this_153 = C_maxIndex_239; } else { error114("Out of memory: Could not create C."); this_153 = 0; }; } else { C_firstFree_193 = (C_firstFree_193 - 1); this_153 = C_nextFree_112[C_firstFree_193]; }; return this_153; } function error114(string msg213) { $debugPrint101((msg_213 + (" " + #getStackTrace()))); }