array C_nextFree151 integer C_firstFree127 integer C_maxIndex680 array C_B_A_x812 integer C_firstFree127 = 0 integer C_maxIndex680 = 0 function initGlobals570() { C_firstFree_127 = 0; C_maxIndex_680 = 0; } function main120() { initGlobals570(); init_Test131(); } function config187() { } function init_Test131() { local integer c118 c_118 = new_C350(); if (C_B_A_x_812[c_118] == 2) { testSuccess642(); } else { }; } IS_NATIVE function testSuccess642() { } function C_init170(integer this150) { C_B_A_x_812[this_150] = 3; construct_C_B192(this_150); } function construct_C_B192(integer this203) { construct_C_B_A159(this_203); } function construct_C_B_A159(integer this738) { C_B_A_x_812[this_738] = (C_B_A_x_812[this_738] - 1); } function new_C350() returns integer { local integer this195 this_195 = alloc_C984(); construct_C733(this_195); return this_195; } function construct_C733(integer this105) { C_init170(this_105); } function alloc_C984() returns integer { local integer this169 if (C_firstFree_127 == 0) { if (C_maxIndex_680 < 32768) { C_maxIndex_680 = (C_maxIndex_680 + 1); this_169 = C_maxIndex_680; } else { error680("Out of memory: Could not create C."); this_169 = 0; }; } else { C_firstFree_127 = (C_firstFree_127 - 1); this_169 = C_nextFree_151[C_firstFree_127]; }; return this_169; } function error680(string msg101) { $debugPrint116((msg_101 + (" " + #getStackTrace()))); }