array A_nextFree108 integer A_firstFree165 integer A_maxIndex100 array A_foo_0138 array A_foo_1193 array A_foo_2592 array A_foo_3111 array A_foo_4335 array A_foo_5209 array A_foo_6150 array A_foo_7254 array A_foo_8148 array A_foo_9773 array A_foo_10217 array A_foo_11110 array A_foo_12381 array A_foo_13193 array A_foo_14671 array A_foo_15137 array A_foo_16130 array A_foo_17118 array A_foo_18174 array A_foo_19165 integer test_x260 = 4 integer test_y139 = 5 integer test_z165 = (4 * (10 + (- 5))) integer A_firstFree165 = 0 integer A_maxIndex100 = 0 function initGlobals181() { } function main658() { local integer a165 initGlobals181(); a_165 = new_A169(); A_foo_set359(a_165, 13, 42); if (A_foo_get399(a_165, 13) == 42) { testSuccess108(); } else { }; } function config171() { } IS_NATIVE function testSuccess108() { } function new_A169() returns integer { local integer this900 local integer this160 if (A_firstFree_165 == 0) { if (A_maxIndex_100 < 32768) { A_maxIndex_100 = (A_maxIndex_100 + 1); this_160 = A_maxIndex_100; } else { error685("Out of memory: Could not create A."); this_160 = 0; }; } else { A_firstFree_165 = (A_firstFree_165 - 1); this_160 = A_nextFree_108[A_firstFree_165]; }; this_900 = this_160; return this_900; } function error685(string msg196) { $debugPrint177((msg_196 + (" " + #getStackTrace()))); } function A_foo_set359(integer instanceId135, integer arrayIndex151, integer value119) { if ((arrayIndex_151 < 0) or (arrayIndex_151 >= 20)) { error685("Index out of Bounds"); } else { if (arrayIndex_151 <= 9) { if (arrayIndex_151 <= 4) { if (arrayIndex_151 <= 2) { if (arrayIndex_151 <= 1) { if (arrayIndex_151 <= 0) { A_foo_0_138[instanceId_135] = value_119; } else { A_foo_1_193[instanceId_135] = value_119; }; } else { A_foo_2_592[instanceId_135] = value_119; }; } else { if (arrayIndex_151 <= 3) { A_foo_3_111[instanceId_135] = value_119; } else { A_foo_4_335[instanceId_135] = value_119; }; }; } else { if (arrayIndex_151 <= 7) { if (arrayIndex_151 <= 6) { if (arrayIndex_151 <= 5) { A_foo_5_209[instanceId_135] = value_119; } else { A_foo_6_150[instanceId_135] = value_119; }; } else { A_foo_7_254[instanceId_135] = value_119; }; } else { if (arrayIndex_151 <= 8) { A_foo_8_148[instanceId_135] = value_119; } else { A_foo_9_773[instanceId_135] = value_119; }; }; }; } else { if (arrayIndex_151 <= 14) { if (arrayIndex_151 <= 12) { if (arrayIndex_151 <= 11) { if (arrayIndex_151 <= 10) { A_foo_10_217[instanceId_135] = value_119; } else { A_foo_11_110[instanceId_135] = value_119; }; } else { A_foo_12_381[instanceId_135] = value_119; }; } else { if (arrayIndex_151 <= 13) { A_foo_13_193[instanceId_135] = value_119; } else { A_foo_14_671[instanceId_135] = value_119; }; }; } else { if (arrayIndex_151 <= 17) { if (arrayIndex_151 <= 16) { if (arrayIndex_151 <= 15) { A_foo_15_137[instanceId_135] = value_119; } else { A_foo_16_130[instanceId_135] = value_119; }; } else { A_foo_17_118[instanceId_135] = value_119; }; } else { if (arrayIndex_151 <= 18) { A_foo_18_174[instanceId_135] = value_119; } else { A_foo_19_165[instanceId_135] = value_119; }; }; }; }; }; } function A_foo_get399(integer index1144, integer index2317) returns integer { local integer returnVal152 if ((index2_317 < 0) or (index2_317 >= 20)) { error685("Index out of Bounds"); } else { if (index2_317 <= 9) { if (index2_317 <= 4) { if (index2_317 <= 2) { if (index2_317 <= 1) { if (index2_317 <= 0) { returnVal_152 = A_foo_0_138[index1_144]; } else { returnVal_152 = A_foo_1_193[index1_144]; }; } else { returnVal_152 = A_foo_2_592[index1_144]; }; } else { if (index2_317 <= 3) { returnVal_152 = A_foo_3_111[index1_144]; } else { returnVal_152 = A_foo_4_335[index1_144]; }; }; } else { if (index2_317 <= 7) { if (index2_317 <= 6) { if (index2_317 <= 5) { returnVal_152 = A_foo_5_209[index1_144]; } else { returnVal_152 = A_foo_6_150[index1_144]; }; } else { returnVal_152 = A_foo_7_254[index1_144]; }; } else { if (index2_317 <= 8) { returnVal_152 = A_foo_8_148[index1_144]; } else { returnVal_152 = A_foo_9_773[index1_144]; }; }; }; } else { if (index2_317 <= 14) { if (index2_317 <= 12) { if (index2_317 <= 11) { if (index2_317 <= 10) { returnVal_152 = A_foo_10_217[index1_144]; } else { returnVal_152 = A_foo_11_110[index1_144]; }; } else { returnVal_152 = A_foo_12_381[index1_144]; }; } else { if (index2_317 <= 13) { returnVal_152 = A_foo_13_193[index1_144]; } else { returnVal_152 = A_foo_14_671[index1_144]; }; }; } else { if (index2_317 <= 17) { if (index2_317 <= 16) { if (index2_317 <= 15) { returnVal_152 = A_foo_15_137[index1_144]; } else { returnVal_152 = A_foo_16_130[index1_144]; }; } else { returnVal_152 = A_foo_17_118[index1_144]; }; } else { if (index2_317 <= 18) { returnVal_152 = A_foo_18_174[index1_144]; } else { returnVal_152 = A_foo_19_165[index1_144]; }; }; }; }; }; return returnVal_152; }