array SimpleFunc_nextFree186 integer SimpleFunc_firstFree176 integer SimpleFunc_maxIndex138 array SimpleFunc_typeId803 array v_x182 array v_y650 integer SimpleFunc_firstFree176 = 0 integer SimpleFunc_maxIndex138 = 0 function initGlobals184() { } function main115() { initGlobals184(); init_test147(); } function config117() { } function init_test147() { local real v_x906 local real v_y172 local integer f671 local integer clVar165 local integer this106 local real tuple_temp214 local real tuple_temp170 local real tuple_temp199 local real tuple_temp205 tuple_temp_214 = 1.; tuple_temp_170 = 2.; v_x_906 = tuple_temp_214; v_y_172 = tuple_temp_170; if (SimpleFunc_firstFree_176 == 0) { if (SimpleFunc_maxIndex_138 < 32768) { SimpleFunc_maxIndex_138 = (SimpleFunc_maxIndex_138 + 1); this_106 = SimpleFunc_maxIndex_138; SimpleFunc_typeId_803[this_106] = 2; } else { error802("Out of memory: Could not create SimpleFunc_test."); this_106 = 0; }; } else { SimpleFunc_firstFree_176 = (SimpleFunc_firstFree_176 - 1); this_106 = SimpleFunc_nextFree_186[SimpleFunc_firstFree_176]; SimpleFunc_typeId_803[this_106] = 2; }; clVar_165 = this_106; tuple_temp_199 = v_x_906; tuple_temp_205 = v_y_172; v_x_182[clVar_165] = tuple_temp_199; v_y_650[clVar_165] = tuple_temp_205; f_671 = clVar_165; dispatch_SimpleFunc_test_SimpleFunc_call104(f_671); } IS_NATIVE function testSuccess118() { } function error802(string msg113) { $debugPrint749((msg_113 + (" " + #getStackTrace()))); } function dispatch_SimpleFunc_test_SimpleFunc_call104(integer this519) { local integer this194 if (SimpleFunc_typeId_803[this_519] == 0) { if (this_519 == 0) { error802("Nullpointer exception when calling SimpleFunc.call"); } else { error802("Called SimpleFunc.call on invalid object."); }; } else { }; this_194 = this_519; v_x_182[this_194] = v_y_650[this_194]; if (v_x_182[this_194] == v_y_650[this_194]) { testSuccess118(); } else { }; }