integer test_at146 array AssistTimestamps_nextFree109 integer AssistTimestamps_firstFree196 integer AssistTimestamps_maxIndex441 array AssistTimestamps_vals_0120 array AssistTimestamps_vals_1441 array AssistTimestamps_vals_2136 array AssistTimestamps_vals_3124 array AssistTimestamps_vals_4197 array AssistTimestamps_vals_5887 array AssistTimestamps_vals_6108 array AssistTimestamps_vals_7846 array AssistTimestamps_vals_8371 array AssistTimestamps_vals_9713 array AssistTimestamps_vals_10492 array AssistTimestamps_vals_11556 integer test_at146 = new_AssistTimestamps909() integer AssistTimestamps_firstFree196 = 0 integer AssistTimestamps_maxIndex441 = 0 function initGlobals119() { } function main554() { initGlobals119(); test_at_146 = new_AssistTimestamps909(); AssistTimestamps_vals_set127(test_at_146, 3, 42); if (AssistTimestamps_vals_get156(test_at_146, 4) == 0) { testSuccess195(); } else { }; } function config899() { } IS_NATIVE function testSuccess195() { } function new_AssistTimestamps909() returns integer { local integer this157 local integer this181 if (AssistTimestamps_firstFree_196 == 0) { if (AssistTimestamps_maxIndex_441 < 32768) { AssistTimestamps_maxIndex_441 = (AssistTimestamps_maxIndex_441 + 1); this_181 = AssistTimestamps_maxIndex_441; } else { error730("Out of memory: Could not create AssistTimestamps."); this_181 = 0; }; } else { AssistTimestamps_firstFree_196 = (AssistTimestamps_firstFree_196 - 1); this_181 = AssistTimestamps_nextFree_109[AssistTimestamps_firstFree_196]; }; this_157 = this_181; return this_157; } function error730(string msg147) { $debugPrint375((msg_147 + (" " + #getStackTrace()))); } function AssistTimestamps_vals_set127(integer instanceId963, integer arrayIndex193, integer value372) { if ((arrayIndex_193 < 0) or (arrayIndex_193 >= 12)) { error730("Index out of Bounds"); } else { if (arrayIndex_193 <= 5) { if (arrayIndex_193 <= 2) { if (arrayIndex_193 <= 1) { if (arrayIndex_193 <= 0) { AssistTimestamps_vals_0_120[instanceId_963] = value_372; } else { AssistTimestamps_vals_1_441[instanceId_963] = value_372; }; } else { AssistTimestamps_vals_2_136[instanceId_963] = value_372; }; } else { if (arrayIndex_193 <= 4) { if (arrayIndex_193 <= 3) { AssistTimestamps_vals_3_124[instanceId_963] = value_372; } else { AssistTimestamps_vals_4_197[instanceId_963] = value_372; }; } else { AssistTimestamps_vals_5_887[instanceId_963] = value_372; }; }; } else { if (arrayIndex_193 <= 8) { if (arrayIndex_193 <= 7) { if (arrayIndex_193 <= 6) { AssistTimestamps_vals_6_108[instanceId_963] = value_372; } else { AssistTimestamps_vals_7_846[instanceId_963] = value_372; }; } else { AssistTimestamps_vals_8_371[instanceId_963] = value_372; }; } else { if (arrayIndex_193 <= 10) { if (arrayIndex_193 <= 9) { AssistTimestamps_vals_9_713[instanceId_963] = value_372; } else { AssistTimestamps_vals_10_492[instanceId_963] = value_372; }; } else { AssistTimestamps_vals_11_556[instanceId_963] = value_372; }; }; }; }; } function AssistTimestamps_vals_get156(integer index1812, integer index2155) returns integer { local integer returnVal450 if ((index2_155 < 0) or (index2_155 >= 12)) { error730("Index out of Bounds"); } else { if (index2_155 <= 5) { if (index2_155 <= 2) { if (index2_155 <= 1) { if (index2_155 <= 0) { returnVal_450 = AssistTimestamps_vals_0_120[index1_812]; } else { returnVal_450 = AssistTimestamps_vals_1_441[index1_812]; }; } else { returnVal_450 = AssistTimestamps_vals_2_136[index1_812]; }; } else { if (index2_155 <= 4) { if (index2_155 <= 3) { returnVal_450 = AssistTimestamps_vals_3_124[index1_812]; } else { returnVal_450 = AssistTimestamps_vals_4_197[index1_812]; }; } else { returnVal_450 = AssistTimestamps_vals_5_887[index1_812]; }; }; } else { if (index2_155 <= 8) { if (index2_155 <= 7) { if (index2_155 <= 6) { returnVal_450 = AssistTimestamps_vals_6_108[index1_812]; } else { returnVal_450 = AssistTimestamps_vals_7_846[index1_812]; }; } else { returnVal_450 = AssistTimestamps_vals_8_371[index1_812]; }; } else { if (index2_155 <= 10) { if (index2_155 <= 9) { returnVal_450 = AssistTimestamps_vals_9_713[index1_812]; } else { returnVal_450 = AssistTimestamps_vals_10_492[index1_812]; }; } else { returnVal_450 = AssistTimestamps_vals_11_556[index1_812]; }; }; }; }; return returnVal_450; }