Code: Select all
# Project Tokyo Dolls
# Decrypt by chrrox
set MYKEY binary "\x77\x7A\x55\x56\x29\x3B\x4C\x2A\x3B\x31\x5F\x2D\x57\x34\x7C\x57\x35\x46\x52\x35\x72\x24\x73\x59\x23\x59\x29\x24\x38\x49\x65\x63"
set MYIV binary "\x4C\x2A\x44\x31\x47\x4A\x66\x23\x45\x7D\x3E\x57\x2C\x78\x71\x6A\x3F\x57\x52\x51\x41\x64\x21\x26\x70\x52\x6E\x32\x24\x67\x30\x65"
idstring "\x70\x70\x69\x72"
get TBLOFF long
get NBASE long
get BASEOFF long
set FILES NBASE
math FILES - TBLOFF
math FILES / 0x10
append
for i = 0 < FILES
set MEMORY_FILE binary ""
goto TBLOFF
get NSTART long
get NSIZE long
get OFFSET long
get SIZE long
math NSTART + NBASE
math OFFSET + BASEOFF
savepos TBLOFF
goto NSTART
getdstring NAME NSIZE
string NAME + .unity3d
encryption mcrypt_rijndael-256_cbc MYKEY MYIV
if SIZE > 0x400
log MEMORY_FILE OFFSET 0x400
encryption "" ""
math OFFSET + 0x400
math SIZE - 0x400
log MEMORY_FILE OFFSET SIZE
math SIZE + 0x400
else
log MEMORY_FILE OFFSET SIZE
encryption "" ""
endif
log NAME 0 SIZE MEMORY_FILE
next i