01499357-3d96-49a3-90f2-b07c919cd751.zip (281.1 KB)
import subprocess, argparse
from pathlib import Path
H = b"beeplay"; K = 0x44; O = 16; L = 8
def decrypt(data: bytes) -> bytes:
buf = bytearray(data[len(H):])
for i in range(L): buf[O + i] ^= K
return bytes(buf)
def astc2png(astc: Path, png: Path, mode: str):
subprocess.run(["astcenc", f"-d{mode}", str(astc), str(png)], check=True)
def main():
p = argparse.ArgumentParser()
p.add_argument("file")
p.add_argument("--mode", choices=list("lshH"), default="l")
p.add_argument("--outdir")
a = p.parse_args()
src = Path(a.file)
outdir = Path(a.outdir) if a.outdir else src.parent
outdir.mkdir(parents=True, exist_ok=True)
astc = outdir / (src.stem + ".astc")
png = outdir / (src.stem + ".png")
astc.write_bytes(decrypt(src.read_bytes()))
astc2png(astc, png, a.mode)
if __name__ == "__main__":
main()
cocos2d::Image::initWithImageData
if ( !memcmp(&unk_1743EF0, s2[0], 7uLL) )
{
v4 -= 7LL;
v11 = (int8x8_t *)malloc(v4);
memcpy(v11, v10 + 7, v4);
v10 = (unsigned __int8 *)v11;
v11[2].n64_u64[0] = veor_s8(v11[2], (int8x8_t)0x4444444444444444LL).n64_u64[0];
}
1 个赞
哥 是py脚本吗 两个代码分别复制txt改成py 打开没反应
怎么整我的哥
这些简单的可以问ai.
群英风华录懒人包载点(仅人物spine)
通过网盘分享的文件:群英风华录人物spine.zip
链接: https://pan.baidu.com/s/1jB3K3IdVtpaQ6SBp82PF4w 提取码: w983
已补档
2 个赞
谢谢