integer test_numExecutions129 array C_nextFree118 integer C_firstFree229 integer C_maxIndex133 array C_v_0907 array C_v_1484 array C_v_2198 integer test_numExecutions129 = 0 integer C_firstFree229 = 0 integer C_maxIndex133 = 0 function initGlobals126() { } function main123() { initGlobals126(); init_test765(); } function config136() { } function init_test765() { local integer c787 c_787 = new_C105(); test_numExecutions_129 = (test_numExecutions_129 + 1); C_v_set927(c_787, 2, (C_v_get152(c_787, 2) + 1)); if (test_numExecutions_129 == 1) { testSuccess807(); } else { }; } IS_NATIVE function testSuccess807() { } function new_C105() returns integer { local integer this684 if (C_firstFree_229 == 0) { if (C_maxIndex_133 < 32768) { C_maxIndex_133 = (C_maxIndex_133 + 1); this_684 = C_maxIndex_133; } else { error156("Out of memory: Could not create C."); this_684 = 0; }; } else { C_firstFree_229 = (C_firstFree_229 - 1); this_684 = C_nextFree_118[C_firstFree_229]; }; C_v_set927(this_684, 0, 7); C_v_set927(this_684, 1, 8); C_v_set927(this_684, 2, 9); return this_684; } function error156(string msg703) { $debugPrint174((msg_703 + (" " + #getStackTrace()))); } function C_v_set927(integer instanceId523, integer arrayIndex287, integer value158) { if ((arrayIndex_287 < 0) or (arrayIndex_287 >= 3)) { error156("Index out of Bounds"); } else { if (arrayIndex_287 <= 1) { if (arrayIndex_287 <= 0) { C_v_0_907[instanceId_523] = value_158; } else { C_v_1_484[instanceId_523] = value_158; }; } else { C_v_2_198[instanceId_523] = value_158; }; }; } function C_v_get152(integer index1120, integer index2184) returns integer { local integer returnVal200 if ((index2_184 < 0) or (index2_184 >= 3)) { error156("Index out of Bounds"); } else { if (index2_184 <= 1) { if (index2_184 <= 0) { returnVal_200 = C_v_0_907[index1_120]; } else { returnVal_200 = C_v_1_484[index1_120]; }; } else { returnVal_200 = C_v_2_198[index1_120]; }; }; return returnVal_200; }