integer test_at143 array AssistTimestamps_nextFree110 integer AssistTimestamps_firstFree678 integer AssistTimestamps_maxIndex216 array AssistTimestamps_vals_0137 array AssistTimestamps_vals_1216 array AssistTimestamps_vals_2171 array AssistTimestamps_vals_3107 array AssistTimestamps_vals_4177 array AssistTimestamps_vals_5612 array AssistTimestamps_vals_6145 array AssistTimestamps_vals_7108 array AssistTimestamps_vals_8204 array AssistTimestamps_vals_9547 array AssistTimestamps_vals_10883 array AssistTimestamps_vals_11138 integer test_at143 = new_AssistTimestamps986() integer AssistTimestamps_firstFree678 = 0 integer AssistTimestamps_maxIndex216 = 0 function initGlobals582() { } function main131() { initGlobals582(); init_test485(); } function config590() { } function init_test485() { test_at_143 = new_AssistTimestamps986(); AssistTimestamps_vals_set129(test_at_143, 4, 42); AssistTimestamps_vals_set129(test_at_143, 3, 72); if (AssistTimestamps_vals_get765(test_at_143, 4) == 42) { testSuccess122(); } else { }; } IS_NATIVE function testSuccess122() { } function new_AssistTimestamps986() returns integer { local integer this136 local integer this114 if (AssistTimestamps_firstFree_678 == 0) { if (AssistTimestamps_maxIndex_216 < 32768) { AssistTimestamps_maxIndex_216 = (AssistTimestamps_maxIndex_216 + 1); this_114 = AssistTimestamps_maxIndex_216; } else { error133("Out of memory: Could not create AssistTimestamps."); this_114 = 0; }; } else { AssistTimestamps_firstFree_678 = (AssistTimestamps_firstFree_678 - 1); this_114 = AssistTimestamps_nextFree_110[AssistTimestamps_firstFree_678]; }; this_136 = this_114; return this_136; } function error133(string msg170) { $debugPrint571((msg_170 + (" " + #getStackTrace()))); } function AssistTimestamps_vals_set129(integer instanceId200, integer arrayIndex207, integer value127) { if ((arrayIndex_207 < 0) or (arrayIndex_207 >= 12)) { error133("Index out of Bounds"); } else { if (arrayIndex_207 <= 5) { if (arrayIndex_207 <= 2) { if (arrayIndex_207 <= 1) { if (arrayIndex_207 <= 0) { AssistTimestamps_vals_0_137[instanceId_200] = value_127; } else { AssistTimestamps_vals_1_216[instanceId_200] = value_127; }; } else { AssistTimestamps_vals_2_171[instanceId_200] = value_127; }; } else { if (arrayIndex_207 <= 4) { if (arrayIndex_207 <= 3) { AssistTimestamps_vals_3_107[instanceId_200] = value_127; } else { AssistTimestamps_vals_4_177[instanceId_200] = value_127; }; } else { AssistTimestamps_vals_5_612[instanceId_200] = value_127; }; }; } else { if (arrayIndex_207 <= 8) { if (arrayIndex_207 <= 7) { if (arrayIndex_207 <= 6) { AssistTimestamps_vals_6_145[instanceId_200] = value_127; } else { AssistTimestamps_vals_7_108[instanceId_200] = value_127; }; } else { AssistTimestamps_vals_8_204[instanceId_200] = value_127; }; } else { if (arrayIndex_207 <= 10) { if (arrayIndex_207 <= 9) { AssistTimestamps_vals_9_547[instanceId_200] = value_127; } else { AssistTimestamps_vals_10_883[instanceId_200] = value_127; }; } else { AssistTimestamps_vals_11_138[instanceId_200] = value_127; }; }; }; }; } function AssistTimestamps_vals_get765(integer index1165, integer index2232) returns integer { local integer returnVal155 if ((index2_232 < 0) or (index2_232 >= 12)) { error133("Index out of Bounds"); } else { if (index2_232 <= 5) { if (index2_232 <= 2) { if (index2_232 <= 1) { if (index2_232 <= 0) { returnVal_155 = AssistTimestamps_vals_0_137[index1_165]; } else { returnVal_155 = AssistTimestamps_vals_1_216[index1_165]; }; } else { returnVal_155 = AssistTimestamps_vals_2_171[index1_165]; }; } else { if (index2_232 <= 4) { if (index2_232 <= 3) { returnVal_155 = AssistTimestamps_vals_3_107[index1_165]; } else { returnVal_155 = AssistTimestamps_vals_4_177[index1_165]; }; } else { returnVal_155 = AssistTimestamps_vals_5_612[index1_165]; }; }; } else { if (index2_232 <= 8) { if (index2_232 <= 7) { if (index2_232 <= 6) { returnVal_155 = AssistTimestamps_vals_6_145[index1_165]; } else { returnVal_155 = AssistTimestamps_vals_7_108[index1_165]; }; } else { returnVal_155 = AssistTimestamps_vals_8_204[index1_165]; }; } else { if (index2_232 <= 10) { if (index2_232 <= 9) { returnVal_155 = AssistTimestamps_vals_9_547[index1_165]; } else { returnVal_155 = AssistTimestamps_vals_10_883[index1_165]; }; } else { returnVal_155 = AssistTimestamps_vals_11_138[index1_165]; }; }; }; }; return returnVal_155; }