array SimpleFunc_nextFree802 integer SimpleFunc_firstFree899 integer SimpleFunc_maxIndex206 array SimpleFunc_typeId835 array v_x898 array v_y110 integer SimpleFunc_firstFree899 = 0 integer SimpleFunc_maxIndex206 = 0 function initGlobals464() { SimpleFunc_firstFree_899 = 0; SimpleFunc_maxIndex_206 = 0; } function main125() { initGlobals464(); init_test139(); } function config982() { } function init_test139() { local real v_x209 local real v_y202 local integer f929 local integer clVar882 local real tuple_temp621 local real tuple_temp160 local real tuple_temp900 local real tuple_temp287 tuple_temp_621 = 1.; tuple_temp_160 = 2.; v_x_209 = tuple_temp_621; v_y_202 = tuple_temp_160; clVar_882 = alloc_SimpleFunc_test348(); tuple_temp_900 = v_x_209; tuple_temp_287 = v_y_202; v_x_898[clVar_882] = tuple_temp_900; v_y_110[clVar_882] = tuple_temp_287; f_929 = clVar_882; dispatch_SimpleFunc_test_SimpleFunc_call145(f_929); } IS_NATIVE function testSuccess109() { } function call_test198(integer this571) { v_x_898[this_571] = v_y_110[this_571]; if (v_x_898[this_571] == v_y_110[this_571]) { testSuccess109(); } else { }; } function alloc_SimpleFunc_test348() returns integer { local integer this759 if (SimpleFunc_firstFree_899 == 0) { if (SimpleFunc_maxIndex_206 < 32768) { SimpleFunc_maxIndex_206 = (SimpleFunc_maxIndex_206 + 1); this_759 = SimpleFunc_maxIndex_206; SimpleFunc_typeId_835[this_759] = 2; } else { error479("Out of memory: Could not create SimpleFunc_test."); this_759 = 0; }; } else { SimpleFunc_firstFree_899 = (SimpleFunc_firstFree_899 - 1); this_759 = SimpleFunc_nextFree_802[SimpleFunc_firstFree_899]; SimpleFunc_typeId_835[this_759] = 2; }; return this_759; } function error479(string msg180) { $debugPrint525((msg_180 + (" " + #getStackTrace()))); } function dispatch_SimpleFunc_test_SimpleFunc_call145(integer this104) { if (SimpleFunc_typeId_835[this_104] == 0) { if (this_104 == 0) { error479("Nullpointer exception when calling SimpleFunc.call"); } else { error479("Called SimpleFunc.call on invalid object."); }; } else { }; call_test198(this_104); }