integer test_at193 array AssistTimestamps_nextFree387 integer AssistTimestamps_firstFree183 integer AssistTimestamps_maxIndex120 array AssistTimestamps_vals_0145 array AssistTimestamps_vals_1123 array AssistTimestamps_vals_2905 array AssistTimestamps_vals_3156 array AssistTimestamps_vals_4284 array AssistTimestamps_vals_5157 array AssistTimestamps_vals_6309 array AssistTimestamps_vals_7486 array AssistTimestamps_vals_8310 array AssistTimestamps_vals_9470 array AssistTimestamps_vals_10505 array AssistTimestamps_vals_11931 integer test_at193 = new_AssistTimestamps160() integer AssistTimestamps_firstFree183 = 0 integer AssistTimestamps_maxIndex120 = 0 function initGlobals207() { } function main122() { initGlobals207(); init_test684(); } function config123() { } function init_test684() { test_at_193 = new_AssistTimestamps160(); AssistTimestamps_vals_set191(test_at_193, 4, 42); AssistTimestamps_vals_set191(test_at_193, 3, 72); if (AssistTimestamps_vals_get179(test_at_193, 4) == 42) { testSuccess205(); } else { }; } IS_NATIVE function testSuccess205() { } function new_AssistTimestamps160() returns integer { local integer this789 if (AssistTimestamps_firstFree_183 == 0) { if (AssistTimestamps_maxIndex_120 < 32768) { AssistTimestamps_maxIndex_120 = (AssistTimestamps_maxIndex_120 + 1); this_789 = AssistTimestamps_maxIndex_120; } else { error826("Out of memory: Could not create AssistTimestamps."); this_789 = 0; }; } else { AssistTimestamps_firstFree_183 = (AssistTimestamps_firstFree_183 - 1); this_789 = AssistTimestamps_nextFree_387[AssistTimestamps_firstFree_183]; }; return this_789; } function error826(string msg198) { $debugPrint170((msg_198 + (" " + #getStackTrace()))); } function AssistTimestamps_vals_set191(integer instanceId122, integer arrayIndex118, integer value343) { if ((arrayIndex_118 < 0) or (arrayIndex_118 >= 12)) { error826("Index out of Bounds"); } else { if (arrayIndex_118 <= 5) { if (arrayIndex_118 <= 2) { if (arrayIndex_118 <= 1) { if (arrayIndex_118 <= 0) { AssistTimestamps_vals_0_145[instanceId_122] = value_343; } else { AssistTimestamps_vals_1_123[instanceId_122] = value_343; }; } else { AssistTimestamps_vals_2_905[instanceId_122] = value_343; }; } else { if (arrayIndex_118 <= 4) { if (arrayIndex_118 <= 3) { AssistTimestamps_vals_3_156[instanceId_122] = value_343; } else { AssistTimestamps_vals_4_284[instanceId_122] = value_343; }; } else { AssistTimestamps_vals_5_157[instanceId_122] = value_343; }; }; } else { if (arrayIndex_118 <= 8) { if (arrayIndex_118 <= 7) { if (arrayIndex_118 <= 6) { AssistTimestamps_vals_6_309[instanceId_122] = value_343; } else { AssistTimestamps_vals_7_486[instanceId_122] = value_343; }; } else { AssistTimestamps_vals_8_310[instanceId_122] = value_343; }; } else { if (arrayIndex_118 <= 10) { if (arrayIndex_118 <= 9) { AssistTimestamps_vals_9_470[instanceId_122] = value_343; } else { AssistTimestamps_vals_10_505[instanceId_122] = value_343; }; } else { AssistTimestamps_vals_11_931[instanceId_122] = value_343; }; }; }; }; } function AssistTimestamps_vals_get179(integer index1458, integer index2144) returns integer { local integer returnVal153 if ((index2_144 < 0) or (index2_144 >= 12)) { error826("Index out of Bounds"); } else { if (index2_144 <= 5) { if (index2_144 <= 2) { if (index2_144 <= 1) { if (index2_144 <= 0) { returnVal_153 = AssistTimestamps_vals_0_145[index1_458]; } else { returnVal_153 = AssistTimestamps_vals_1_123[index1_458]; }; } else { returnVal_153 = AssistTimestamps_vals_2_905[index1_458]; }; } else { if (index2_144 <= 4) { if (index2_144 <= 3) { returnVal_153 = AssistTimestamps_vals_3_156[index1_458]; } else { returnVal_153 = AssistTimestamps_vals_4_284[index1_458]; }; } else { returnVal_153 = AssistTimestamps_vals_5_157[index1_458]; }; }; } else { if (index2_144 <= 8) { if (index2_144 <= 7) { if (index2_144 <= 6) { returnVal_153 = AssistTimestamps_vals_6_309[index1_458]; } else { returnVal_153 = AssistTimestamps_vals_7_486[index1_458]; }; } else { returnVal_153 = AssistTimestamps_vals_8_310[index1_458]; }; } else { if (index2_144 <= 10) { if (index2_144 <= 9) { returnVal_153 = AssistTimestamps_vals_9_470[index1_458]; } else { returnVal_153 = AssistTimestamps_vals_10_505[index1_458]; }; } else { returnVal_153 = AssistTimestamps_vals_11_931[index1_458]; }; }; }; }; return returnVal_153; }