array A_nextFree117 integer A_firstFree148 integer A_maxIndex756 array A_foo_0111 array A_foo_1161 array A_foo_2149 array A_foo_3979 array A_foo_4129 array A_foo_5852 array A_foo_6180 array A_foo_7171 array A_foo_8127 array A_foo_9106 array A_foo_10122 array A_foo_11276 array A_foo_12157 array A_foo_13203 array A_foo_14126 array A_foo_15485 array A_foo_16191 array A_foo_17181 array A_foo_18200 array A_foo_19105 integer test_x295 = 4 integer test_y809 = 5 integer test_z123 = (test_x_295 * (10 + (- test_y_809))) integer A_firstFree148 = 0 integer A_maxIndex756 = 0 function initGlobals711() { } function main183() { initGlobals711(); init_test163(); } function config167() { } function init_test163() { local integer a110 a_110 = new_A682(); A_foo_set174(a_110, 13, 42); if (A_foo_get130(a_110, 13) == 42) { testSuccess189(); } else { }; } IS_NATIVE function testSuccess189() { } function A_init907(integer this457) { } function new_A682() returns integer { local integer this793 this_793 = alloc_A151(); construct_A760(this_793); return this_793; } function construct_A760(integer this530) { A_init907(this_530); } function alloc_A151() returns integer { local integer this138 if (A_firstFree_148 == 0) { if (A_maxIndex_756 < 32768) { A_maxIndex_756 = (A_maxIndex_756 + 1); this_138 = A_maxIndex_756; } else { error198("Out of memory: Could not create A."); this_138 = 0; }; } else { A_firstFree_148 = (A_firstFree_148 - 1); this_138 = A_nextFree_117[A_firstFree_148]; }; return this_138; } function error198(string msg141) { $debugPrint124((msg_141 + (" " + #getStackTrace()))); } function A_foo_set174(integer instanceId203, integer arrayIndex349, integer value488) { if ((arrayIndex_349 < 0) or (arrayIndex_349 >= 20)) { error198("Index out of Bounds"); } else { if (arrayIndex_349 <= 9) { if (arrayIndex_349 <= 4) { if (arrayIndex_349 <= 2) { if (arrayIndex_349 <= 1) { if (arrayIndex_349 <= 0) { A_foo_0_111[instanceId_203] = value_488; } else { A_foo_1_161[instanceId_203] = value_488; }; } else { A_foo_2_149[instanceId_203] = value_488; }; } else { if (arrayIndex_349 <= 3) { A_foo_3_979[instanceId_203] = value_488; } else { A_foo_4_129[instanceId_203] = value_488; }; }; } else { if (arrayIndex_349 <= 7) { if (arrayIndex_349 <= 6) { if (arrayIndex_349 <= 5) { A_foo_5_852[instanceId_203] = value_488; } else { A_foo_6_180[instanceId_203] = value_488; }; } else { A_foo_7_171[instanceId_203] = value_488; }; } else { if (arrayIndex_349 <= 8) { A_foo_8_127[instanceId_203] = value_488; } else { A_foo_9_106[instanceId_203] = value_488; }; }; }; } else { if (arrayIndex_349 <= 14) { if (arrayIndex_349 <= 12) { if (arrayIndex_349 <= 11) { if (arrayIndex_349 <= 10) { A_foo_10_122[instanceId_203] = value_488; } else { A_foo_11_276[instanceId_203] = value_488; }; } else { A_foo_12_157[instanceId_203] = value_488; }; } else { if (arrayIndex_349 <= 13) { A_foo_13_203[instanceId_203] = value_488; } else { A_foo_14_126[instanceId_203] = value_488; }; }; } else { if (arrayIndex_349 <= 17) { if (arrayIndex_349 <= 16) { if (arrayIndex_349 <= 15) { A_foo_15_485[instanceId_203] = value_488; } else { A_foo_16_191[instanceId_203] = value_488; }; } else { A_foo_17_181[instanceId_203] = value_488; }; } else { if (arrayIndex_349 <= 18) { A_foo_18_200[instanceId_203] = value_488; } else { A_foo_19_105[instanceId_203] = value_488; }; }; }; }; }; } function A_foo_get130(integer index1102, integer index2176) returns integer { local integer returnVal172 if ((index2_176 < 0) or (index2_176 >= 20)) { error198("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_172 = A_foo_0_111[index1_102]; } else { returnVal_172 = A_foo_1_161[index1_102]; }; } else { returnVal_172 = A_foo_2_149[index1_102]; }; } else { if (index2_176 <= 3) { returnVal_172 = A_foo_3_979[index1_102]; } else { returnVal_172 = A_foo_4_129[index1_102]; }; }; } else { if (index2_176 <= 7) { if (index2_176 <= 6) { if (index2_176 <= 5) { returnVal_172 = A_foo_5_852[index1_102]; } else { returnVal_172 = A_foo_6_180[index1_102]; }; } else { returnVal_172 = A_foo_7_171[index1_102]; }; } else { if (index2_176 <= 8) { returnVal_172 = A_foo_8_127[index1_102]; } else { returnVal_172 = A_foo_9_106[index1_102]; }; }; }; } else { if (index2_176 <= 14) { if (index2_176 <= 12) { if (index2_176 <= 11) { if (index2_176 <= 10) { returnVal_172 = A_foo_10_122[index1_102]; } else { returnVal_172 = A_foo_11_276[index1_102]; }; } else { returnVal_172 = A_foo_12_157[index1_102]; }; } else { if (index2_176 <= 13) { returnVal_172 = A_foo_13_203[index1_102]; } else { returnVal_172 = A_foo_14_126[index1_102]; }; }; } else { if (index2_176 <= 17) { if (index2_176 <= 16) { if (index2_176 <= 15) { returnVal_172 = A_foo_15_485[index1_102]; } else { returnVal_172 = A_foo_16_191[index1_102]; }; } else { returnVal_172 = A_foo_17_181[index1_102]; }; } else { if (index2_176 <= 18) { returnVal_172 = A_foo_18_200[index1_102]; } else { returnVal_172 = A_foo_19_105[index1_102]; }; }; }; }; }; return returnVal_172; }