array SimpleFunc_nextFree164 integer SimpleFunc_firstFree202 integer SimpleFunc_maxIndex142 array SimpleFunc_typeId136 array v_x727 array v_y479 integer SimpleFunc_firstFree202 = 0 integer SimpleFunc_maxIndex142 = 0 function initGlobals338() { SimpleFunc_firstFree_202 = 0; SimpleFunc_maxIndex_142 = 0; } function main115() { initGlobals338(); init_test148(); } function config692() { } function init_test148() { local real v_x489 local real v_y161 local integer f110 local integer clVar119 local real tuple_temp789 local real tuple_temp194 local real tuple_temp400 local real tuple_temp113 tuple_temp_789 = 1.; tuple_temp_194 = 2.; v_x_489 = tuple_temp_789; v_y_161 = tuple_temp_194; clVar_119 = alloc_SimpleFunc_test300(); tuple_temp_400 = v_x_489; tuple_temp_113 = v_y_161; v_x_727[clVar_119] = tuple_temp_400; v_y_479[clVar_119] = tuple_temp_113; f_110 = clVar_119; dispatch_SimpleFunc_test_SimpleFunc_call349(f_110); } IS_NATIVE function testSuccess190() { } function call_test932(integer this594) { v_x_727[this_594] = v_y_479[this_594]; if (v_x_727[this_594] == v_y_479[this_594]) { testSuccess190(); } else { }; } function alloc_SimpleFunc_test300() returns integer { local integer this829 if (SimpleFunc_firstFree_202 == 0) { if (SimpleFunc_maxIndex_142 < 32768) { SimpleFunc_maxIndex_142 = (SimpleFunc_maxIndex_142 + 1); this_829 = SimpleFunc_maxIndex_142; SimpleFunc_typeId_136[this_829] = 2; } else { error379("Out of memory: Could not create SimpleFunc_test."); this_829 = 0; }; } else { SimpleFunc_firstFree_202 = (SimpleFunc_firstFree_202 - 1); this_829 = SimpleFunc_nextFree_164[SimpleFunc_firstFree_202]; SimpleFunc_typeId_136[this_829] = 2; }; return this_829; } function error379(string msg162) { $debugPrint721((msg_162 + (" " + #getStackTrace()))); } function dispatch_SimpleFunc_test_SimpleFunc_call349(integer this149) { if (SimpleFunc_typeId_136[this_149] == 0) { if (this_149 == 0) { error379("Nullpointer exception when calling SimpleFunc.call"); } else { error379("Called SimpleFunc.call on invalid object."); }; } else { }; call_test932(this_149); }