array SimpleFunc_nextFree211 integer SimpleFunc_firstFree338 integer SimpleFunc_maxIndex190 array SimpleFunc_typeId136 array v_x133 array v_y332 integer SimpleFunc_firstFree338 = 0 integer SimpleFunc_maxIndex190 = 0 function initGlobals210() { SimpleFunc_firstFree_338 = 0; SimpleFunc_maxIndex_190 = 0; } function main937() { initGlobals210(); init_test104(); } function config198() { } function init_test104() { local real v_x836 local real v_y652 local integer f664 local integer clVar174 local real tuple_temp187 local real tuple_temp118 local real tuple_temp141 local real tuple_temp147 tuple_temp_187 = 1.; tuple_temp_118 = 2.; v_x_836 = tuple_temp_187; v_y_652 = tuple_temp_118; clVar_174 = alloc_SimpleFunc_test140(); tuple_temp_141 = v_x_836; tuple_temp_147 = v_y_652; v_x_133[clVar_174] = tuple_temp_141; v_y_332[clVar_174] = tuple_temp_147; f_664 = clVar_174; dispatch_SimpleFunc_test_SimpleFunc_call161(f_664); } IS_NATIVE function testSuccess195() { } function call_test145(integer this119) { v_x_133[this_119] = v_y_332[this_119]; if (v_x_133[this_119] == v_y_332[this_119]) { testSuccess195(); } else { }; } function alloc_SimpleFunc_test140() returns integer { local integer this650 if (SimpleFunc_firstFree_338 == 0) { if (SimpleFunc_maxIndex_190 < 32768) { SimpleFunc_maxIndex_190 = (SimpleFunc_maxIndex_190 + 1); this_650 = SimpleFunc_maxIndex_190; SimpleFunc_typeId_136[this_650] = 2; } else { error572("Out of memory: Could not create SimpleFunc_test."); this_650 = 0; }; } else { SimpleFunc_firstFree_338 = (SimpleFunc_firstFree_338 - 1); this_650 = SimpleFunc_nextFree_211[SimpleFunc_firstFree_338]; SimpleFunc_typeId_136[this_650] = 2; }; return this_650; } function error572(string msg121) { $debugPrint142((msg_121 + (" " + #getStackTrace()))); } function dispatch_SimpleFunc_test_SimpleFunc_call161(integer this517) { if (SimpleFunc_typeId_136[this_517] == 0) { if (this_517 == 0) { error572("Nullpointer exception when calling SimpleFunc.call"); } else { error572("Called SimpleFunc.call on invalid object."); }; } else { }; call_test145(this_517); }