array C_nextFree252 integer C_firstFree875 integer C_maxIndex205 array C_v_0170 array C_v_1103 array C_v_2539 array C_v_3115 array C_v_4113 integer C_firstFree875 = 0 integer C_maxIndex205 = 0 function initGlobals145() { } function main487() { local integer c827 initGlobals145(); c_827 = new_C213(); C_v_set128(c_827, 2, (C_v_get932(c_827, 3) + 1)); if (C_v_get932(c_827, 2) == 1) { testSuccess212(); } else { }; } function config258() { } IS_NATIVE function testSuccess212() { } function new_C213() returns integer { local integer this109 if (C_firstFree_875 == 0) { if (C_maxIndex_205 < 32768) { C_maxIndex_205 = (C_maxIndex_205 + 1); this_109 = C_maxIndex_205; } else { error599("Out of memory: Could not create C."); this_109 = 0; }; } else { C_firstFree_875 = (C_firstFree_875 - 1); this_109 = C_nextFree_252[C_firstFree_875]; }; return this_109; } function error599(string msg157) { $debugPrint755((msg_157 + (" " + #getStackTrace()))); } function C_v_set128(integer instanceId928, integer arrayIndex120, integer value608) { if ((arrayIndex_120 < 0) or (arrayIndex_120 >= 5)) { error599("Index out of Bounds"); } else { if (arrayIndex_120 <= 2) { if (arrayIndex_120 <= 1) { if (arrayIndex_120 <= 0) { C_v_0_170[instanceId_928] = value_608; } else { C_v_1_103[instanceId_928] = value_608; }; } else { C_v_2_539[instanceId_928] = value_608; }; } else { if (arrayIndex_120 <= 3) { C_v_3_115[instanceId_928] = value_608; } else { C_v_4_113[instanceId_928] = value_608; }; }; }; } function C_v_get932(integer index1601, integer index2115) returns integer { local integer returnVal140 if ((index2_115 < 0) or (index2_115 >= 5)) { error599("Index out of Bounds"); } else { if (index2_115 <= 2) { if (index2_115 <= 1) { if (index2_115 <= 0) { returnVal_140 = C_v_0_170[index1_601]; } else { returnVal_140 = C_v_1_103[index1_601]; }; } else { returnVal_140 = C_v_2_539[index1_601]; }; } else { if (index2_115 <= 3) { returnVal_140 = C_v_3_115[index1_601]; } else { returnVal_140 = C_v_4_113[index1_601]; }; }; }; return returnVal_140; }