mirror of
https://github.com/Mezeporta/Erupe.git
synced 2025-12-13 15:34:38 +01:00
refactor: Remove more debug code
This commit is contained in:
@@ -21,12 +21,9 @@ func UnpackSimple(data []byte) []byte {
|
||||
bf.SetLE()
|
||||
header := bf.ReadUint32()
|
||||
|
||||
println("Decrypting")
|
||||
|
||||
if header == 0x1A524B4A {
|
||||
bf.Seek(0x2, io.SeekCurrent)
|
||||
jpkType := bf.ReadUint16()
|
||||
println("JPK Type: ", jpkType)
|
||||
|
||||
switch jpkType {
|
||||
case 3:
|
||||
@@ -40,8 +37,6 @@ func UnpackSimple(data []byte) []byte {
|
||||
}
|
||||
}
|
||||
|
||||
println("Skipping")
|
||||
|
||||
return data
|
||||
}
|
||||
|
||||
@@ -110,8 +105,5 @@ func JPKCopy(outBuffer []byte, offset int, length int, index *int) {
|
||||
|
||||
func ReadByte(bf *byteframe.ByteFrame) byte {
|
||||
value := bf.ReadUint8()
|
||||
if value < 0 {
|
||||
println("Not implemented")
|
||||
}
|
||||
return byte(value)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user