static int within_hwc_y_range(SM501State *state, int y, int crt)

{

    int hwc_y = get_hwc_y(state, crt);

    return (hwc_y <= y && y < hwc_y + SM501_HWC_HEIGHT);

}

static int within_hwc_y_range(SM501State *state, int y, int crt)

{

    int hwc_y = get_hwc_y(state, crt);

    return (hwc_y <= y && y < hwc_y + SM501_HWC_HEIGHT);

}

static int FUNC_0(SM501State *VAR_0, int VAR_1, int VAR_2)

{

    int VAR_3 = get_hwc_y(VAR_0, VAR_2);

    return (VAR_3 <= VAR_1 && VAR_1 < VAR_3 + SM501_HWC_HEIGHT);

}

static int FUNC_0(SM501State *VAR_0, int VAR_1, int VAR_2)
{ int VAR_3 = get_hwc_y(VAR_0, VAR_2); return (VAR_3 <= VAR_1 && VAR_1 < VAR_3 + SM501_HWC_HEIGHT); }