array A_nextFree157 integer A_firstFree123 integer A_maxIndex163 array A_foo_0119 array A_foo_1138 array A_foo_2137 array A_foo_3160 array A_foo_4741 array A_foo_5165 array A_foo_6120 array A_foo_7829 array A_foo_8757 array A_foo_9178 array A_foo_10320 array A_foo_11654 array A_foo_12117 array A_foo_13918 array A_foo_14393 array A_foo_15190 array A_foo_16177 array A_foo_17487 array A_foo_18342 array A_foo_19310 integer test_x934 = 4 integer test_y101 = 5 integer test_z595 = (4 * (10 + (- 5))) integer A_firstFree123 = 0 integer A_maxIndex163 = 0 function initGlobals104() { } function main432() { local integer a127 initGlobals104(); a_127 = new_A268(); A_foo_set872(a_127, 13, 42); if (A_foo_get718(a_127, 13) == 42) { testSuccess410(); } else { }; } function config181() { } IS_NATIVE function testSuccess410() { } function new_A268() returns integer { local integer this840 local integer this178 if (A_firstFree_123 == 0) { if (A_maxIndex_163 < 32768) { A_maxIndex_163 = (A_maxIndex_163 + 1); this_178 = A_maxIndex_163; } else { error127("Out of memory: Could not create A."); this_178 = 0; }; } else { A_firstFree_123 = (A_firstFree_123 - 1); this_178 = A_nextFree_157[A_firstFree_123]; }; this_840 = this_178; return this_840; } function error127(string msg776) { $debugPrint198((msg_776 + (" " + #getStackTrace()))); } function A_foo_set872(integer instanceId215, integer arrayIndex129, integer value311) { if ((arrayIndex_129 < 0) or (arrayIndex_129 >= 20)) { error127("Index out of Bounds"); } else { if (arrayIndex_129 <= 9) { if (arrayIndex_129 <= 4) { if (arrayIndex_129 <= 2) { if (arrayIndex_129 <= 1) { if (arrayIndex_129 <= 0) { A_foo_0_119[instanceId_215] = value_311; } else { A_foo_1_138[instanceId_215] = value_311; }; } else { A_foo_2_137[instanceId_215] = value_311; }; } else { if (arrayIndex_129 <= 3) { A_foo_3_160[instanceId_215] = value_311; } else { A_foo_4_741[instanceId_215] = value_311; }; }; } else { if (arrayIndex_129 <= 7) { if (arrayIndex_129 <= 6) { if (arrayIndex_129 <= 5) { A_foo_5_165[instanceId_215] = value_311; } else { A_foo_6_120[instanceId_215] = value_311; }; } else { A_foo_7_829[instanceId_215] = value_311; }; } else { if (arrayIndex_129 <= 8) { A_foo_8_757[instanceId_215] = value_311; } else { A_foo_9_178[instanceId_215] = value_311; }; }; }; } else { if (arrayIndex_129 <= 14) { if (arrayIndex_129 <= 12) { if (arrayIndex_129 <= 11) { if (arrayIndex_129 <= 10) { A_foo_10_320[instanceId_215] = value_311; } else { A_foo_11_654[instanceId_215] = value_311; }; } else { A_foo_12_117[instanceId_215] = value_311; }; } else { if (arrayIndex_129 <= 13) { A_foo_13_918[instanceId_215] = value_311; } else { A_foo_14_393[instanceId_215] = value_311; }; }; } else { if (arrayIndex_129 <= 17) { if (arrayIndex_129 <= 16) { if (arrayIndex_129 <= 15) { A_foo_15_190[instanceId_215] = value_311; } else { A_foo_16_177[instanceId_215] = value_311; }; } else { A_foo_17_487[instanceId_215] = value_311; }; } else { if (arrayIndex_129 <= 18) { A_foo_18_342[instanceId_215] = value_311; } else { A_foo_19_310[instanceId_215] = value_311; }; }; }; }; }; } function A_foo_get718(integer index1564, integer index2176) returns integer { local integer returnVal185 if ((index2_176 < 0) or (index2_176 >= 20)) { error127("Index out of Bounds"); } else { if (index2_176 <= 9) { if (index2_176 <= 4) { if (index2_176 <= 2) { if (index2_176 <= 1) { if (index2_176 <= 0) { returnVal_185 = A_foo_0_119[index1_564]; } else { returnVal_185 = A_foo_1_138[index1_564]; }; } else { returnVal_185 = A_foo_2_137[index1_564]; }; } else { if (index2_176 <= 3) { returnVal_185 = A_foo_3_160[index1_564]; } else { returnVal_185 = A_foo_4_741[index1_564]; }; }; } else { if (index2_176 <= 7) { if (index2_176 <= 6) { if (index2_176 <= 5) { returnVal_185 = A_foo_5_165[index1_564]; } else { returnVal_185 = A_foo_6_120[index1_564]; }; } else { returnVal_185 = A_foo_7_829[index1_564]; }; } else { if (index2_176 <= 8) { returnVal_185 = A_foo_8_757[index1_564]; } else { returnVal_185 = A_foo_9_178[index1_564]; }; }; }; } else { if (index2_176 <= 14) { if (index2_176 <= 12) { if (index2_176 <= 11) { if (index2_176 <= 10) { returnVal_185 = A_foo_10_320[index1_564]; } else { returnVal_185 = A_foo_11_654[index1_564]; }; } else { returnVal_185 = A_foo_12_117[index1_564]; }; } else { if (index2_176 <= 13) { returnVal_185 = A_foo_13_918[index1_564]; } else { returnVal_185 = A_foo_14_393[index1_564]; }; }; } else { if (index2_176 <= 17) { if (index2_176 <= 16) { if (index2_176 <= 15) { returnVal_185 = A_foo_15_190[index1_564]; } else { returnVal_185 = A_foo_16_177[index1_564]; }; } else { returnVal_185 = A_foo_17_487[index1_564]; }; } else { if (index2_176 <= 18) { returnVal_185 = A_foo_18_342[index1_564]; } else { returnVal_185 = A_foo_19_310[index1_564]; }; }; }; }; }; return returnVal_185; }