array C_nextFree202 integer C_firstFree252 integer C_maxIndex182 array C_v_0539 array C_v_1115 array C_v_2113 array C_v_3128 array C_v_4932 integer C_firstFree252 = 0 integer C_maxIndex182 = 0 function initGlobals213() { } function main258() { local integer c173 initGlobals213(); c_173 = new_C114(); C_v_set928(c_173, 2, (C_v_get120(c_173, 3) + 1)); if (C_v_get120(c_173, 2) == 1) { testSuccess357(); } else { }; } function config215() { } IS_NATIVE function testSuccess357() { } function new_C114() returns integer { local integer this827 if (C_firstFree_252 == 0) { if (C_maxIndex_182 < 32768) { C_maxIndex_182 = (C_maxIndex_182 + 1); this_827 = C_maxIndex_182; } else { error755("Out of memory: Could not create C."); this_827 = 0; }; } else { C_firstFree_252 = (C_firstFree_252 - 1); this_827 = C_nextFree_202[C_firstFree_252]; }; return this_827; } function error755(string msg943) { $debugPrint206((msg_943 + (" " + #getStackTrace()))); } function C_v_set928(integer instanceId608, integer arrayIndex601, integer value115) { if ((arrayIndex_601 < 0) or (arrayIndex_601 >= 5)) { error755("Index out of Bounds"); } else { if (arrayIndex_601 <= 2) { if (arrayIndex_601 <= 1) { if (arrayIndex_601 <= 0) { C_v_0_539[instanceId_608] = value_115; } else { C_v_1_115[instanceId_608] = value_115; }; } else { C_v_2_113[instanceId_608] = value_115; }; } else { if (arrayIndex_601 <= 3) { C_v_3_128[instanceId_608] = value_115; } else { C_v_4_932[instanceId_608] = value_115; }; }; }; } function C_v_get120(integer index1140, integer index2194) returns integer { local integer returnVal140 if ((index2_194 < 0) or (index2_194 >= 5)) { error755("Index out of Bounds"); } else { if (index2_194 <= 2) { if (index2_194 <= 1) { if (index2_194 <= 0) { returnVal_140 = C_v_0_539[index1_140]; } else { returnVal_140 = C_v_1_115[index1_140]; }; } else { returnVal_140 = C_v_2_113[index1_140]; }; } else { if (index2_194 <= 3) { returnVal_140 = C_v_3_128[index1_140]; } else { returnVal_140 = C_v_4_932[index1_140]; }; }; }; return returnVal_140; }