array SimpleFunc_nextFree178 integer SimpleFunc_firstFree208 integer SimpleFunc_maxIndex102 array SimpleFunc_typeId165 array v_x165 array v_y613 integer SimpleFunc_firstFree208 = 0 integer SimpleFunc_maxIndex102 = 0 function initGlobals182() { } function main133() { initGlobals182(); init_test138(); } function config187() { } function init_test138() { local integer clVar222 clVar_222 = alloc_SimpleFunc_test145(); v_x_165[clVar_222] = 1.; v_y_613[clVar_222] = 2.; dispatch_SimpleFunc_test_SimpleFunc_call609(clVar_222); } IS_NATIVE function testSuccess120() { } function call_test167(integer this119) { v_x_165[this_119] = v_y_613[this_119]; if (v_x_165[this_119] == v_y_613[this_119]) { testSuccess120(); } else { }; } function alloc_SimpleFunc_test145() returns integer { local integer this895 if (SimpleFunc_firstFree_208 == 0) { if (SimpleFunc_maxIndex_102 < 32768) { SimpleFunc_maxIndex_102 = (SimpleFunc_maxIndex_102 + 1); this_895 = SimpleFunc_maxIndex_102; SimpleFunc_typeId_165[this_895] = 2; } else { error623("Out of memory: Could not create SimpleFunc_test."); this_895 = 0; }; } else { SimpleFunc_firstFree_208 = (SimpleFunc_firstFree_208 - 1); this_895 = SimpleFunc_nextFree_178[SimpleFunc_firstFree_208]; SimpleFunc_typeId_165[this_895] = 2; }; return this_895; } function error623(string msg730) { $debugPrint163((msg_730 + (" " + #getStackTrace()))); } function dispatch_SimpleFunc_test_SimpleFunc_call609(integer this104) { if (SimpleFunc_typeId_165[this_104] == 0) { if (this_104 == 0) { error623("Nullpointer exception when calling SimpleFunc.call"); } else { error623("Called SimpleFunc.call on invalid object."); }; } else { }; call_test167(this_104); }