array C_nextFree158 integer C_firstFree756 integer C_maxIndex589 integer C_firstFree756 = 0 integer C_maxIndex589 = 0 function initGlobals124() { } function main202() { local integer a105 initGlobals124(); a_105 = new_C631(); if (a_105 == a_105) { testSuccess160(); } else { }; } function config534() { } IS_NATIVE function testSuccess160() { } function new_C631() returns integer { local integer this637 if (C_firstFree_756 == 0) { if (C_maxIndex_589 < 32768) { C_maxIndex_589 = (C_maxIndex_589 + 1); this_637 = C_maxIndex_589; } else { error154("Out of memory: Could not create C."); this_637 = 0; }; } else { C_firstFree_756 = (C_firstFree_756 - 1); this_637 = C_nextFree_158[C_firstFree_756]; }; return this_637; } function error154(string msg324) { $debugPrint259((msg_324 + (" " + #getStackTrace()))); }