private void markMinimap(Sprite sprite, int x, int y) {
        int k = cameraX + minimapInt2 & 0x7ff;
        int l = x * x + y * y;
        if (l > 6400) {
            return;
        }
        int i1 = Model.modelIntArray1[k];
        int j1 = Model.modelIntArray2[k];
        i1 = i1 * 256 / (minimapInt3 + 256);
        j1 = j1 * 256 / (minimapInt3 + 256);
        int k1 = y * i1 + x * j1 >> 16;
        int l1 = y * j1 - x * i1 >> 16;
        if (l > 2500) {
            sprite.method354(mapBack, 83 - l1 - sprite.trimHeight / 2 - 4, 94 + k1 - sprite.trimWidth / 2 + 4);
        } else {
            sprite.drawSprite(94 + k1 - sprite.trimWidth / 2 + 4, 83 - l1 - sprite.trimHeight / 2 - 4);
        }
    }