array<integer> SimpleFunc_nextFree116
integer SimpleFunc_firstFree235
integer SimpleFunc_maxIndex107
array<integer> SimpleFunc_typeId468
array<real> v_x106
array<real> v_y742


integer SimpleFunc_firstFree235 = 0
integer SimpleFunc_maxIndex107 = 0


function initGlobals168() { 
}


function main104() { 
    initGlobals168();
    init_test138();
}


function config135() { 
}


function init_test138() { 
    local integer this755
    if (SimpleFunc_firstFree_235 == 0) {
        if (SimpleFunc_maxIndex_107 < 32768) {
            SimpleFunc_maxIndex_107 = (SimpleFunc_maxIndex_107 + 1);
            this_755 = SimpleFunc_maxIndex_107;
            SimpleFunc_typeId_468[this_755] = 2;
        } else {
            error171("Out of memory: Could not create SimpleFunc_test.");
            this_755 = 0;
        };
    } else {
        SimpleFunc_firstFree_235 = (SimpleFunc_firstFree_235 - 1);
        this_755 = SimpleFunc_nextFree_116[SimpleFunc_firstFree_235];
        SimpleFunc_typeId_468[this_755] = 2;
    };
    v_x_106[this_755] = 1.;
    v_y_742[this_755] = 2.;
    dispatch_SimpleFunc_test_SimpleFunc_call928(this_755);
}


IS_NATIVE function testSuccess680() { 
}


function error171(string msg619) { 
    $debugPrint695((msg_619 + ("
" + #getStackTrace())));
}


function dispatch_SimpleFunc_test_SimpleFunc_call928(integer this618) { 
    if (SimpleFunc_typeId_468[this_618] == 0) {
        if (this_618 == 0) {
            error171("Nullpointer exception when calling SimpleFunc.call");
        } else {
            error171("Called SimpleFunc.call on invalid object.");
        };
    } else {
    };
    v_x_106[this_618] = v_y_742[this_618];
    if (v_x_106[this_618] == v_y_742[this_618]) {
        testSuccess680();
    } else {
    };
}