int[] tmp = EbHackModule.decomp(readOrg ? r .readRegAsmPointer(palPointerArray[i]) : palPointer[i], palBuffer, r);
int addr = readOrg ? r.readRegAsmPointer(palPointerArray[i]) : palPointer[i]; int[] tmp = EbHackModule.decomp(addr, palBuffer, r);
        private boolean readPalettes(boolean allowFailure, boolean readOrg)        {            AbstractRom r = readOrg ? JHack.main.getOrginalRomFile(hm.rom                .getRomType()) : hm.rom;            /** * DECOMPRESS PALETTE ** */            for (int i = 0; i < NUM_PALETTES; i++)            {                byte[] palBuffer = new byte[512];                System.out.println("About to attempt decompressing "                    + palBuffer.length + " bytes of the Gas Station palette #"                    + i + ".");                int[] tmp = EbHackModule.decomp(readOrg ? r                    .readRegAsmPointer(palPointerArray[i]) : palPointer[i],                    palBuffer, r);                if (tmp[0] < 0)                {                    System.out.println("Error " + tmp[0]                        + " decompressing Gas Station #" + num + " palette.");                    if (allowFailure)                    { //EMPTY PALETTES                        Arrays.fill(palette[i], Color.BLACK);                        palLen[i] = 0;                    }                    else                    {                        return false;                    }                }                else                {                    palLen[i] = tmp[1];                    System.out.println("Gas Station palette #" + i                        + ": Decompressed " + tmp[0] + " bytes from a "                        + tmp[1] + " byte compressed block.");                    HackModule.readPalette(palBuffer, 0, palette[i]);                }            }            return true;        }