array C_nextFree338 integer C_firstFree184 integer C_maxIndex453 integer C_firstFree184 = 0 integer C_maxIndex453 = 0 function initGlobals176() { } function main100() { initGlobals176(); init_test844(); } function config144() { } function init_test844() { local integer a138 a_138 = new_C463(); if (a_138 == identity151(a_138)) { testSuccess128(); } else { }; } function identity151(any a131) returns any { return a_131; } IS_NATIVE function testSuccess128() { } function C_init210(integer this197) { } function new_C463() returns integer { local integer this206 this_206 = alloc_C207(); construct_C133(this_206); return this_206; } function construct_C133(integer this102) { C_init210(this_102); } function alloc_C207() returns integer { local integer this272 if (C_firstFree_184 == 0) { if (C_maxIndex_453 < 32768) { C_maxIndex_453 = (C_maxIndex_453 + 1); this_272 = C_maxIndex_453; } else { error186("Out of memory: Could not create C."); this_272 = 0; }; } else { C_firstFree_184 = (C_firstFree_184 - 1); this_272 = C_nextFree_338[C_firstFree_184]; }; return this_272; } function error186(string msg677) { $debugPrint213((msg_677 + (" " + #getStackTrace()))); }