植物大战僵尸2
PlayCover
1. 屏幕方向错误
通过终端指令修复:
EXECUTABLE=~/Library/Containers/io.playcover.PlayCover/Applications/com.popcap.ios.chs.PVZ2.app/PvZ2
FUNC_ADDR=$(otool -oV $EXECUTABLE | awk '/name .+ GameViewController/{found=1} found && /supportedInterfaceOrientations/{f=1} f && /imp/{print $2; exit}')
printf '\x00\x02\x80\xD2\xC0\x03\x5F\xD6' | dd of=$EXECUTABLE bs=1 seek=$(($FUNC_ADDR-0x100000000)) conv=notrunc
codesign -fs- $EXECUTABLE --deep --preserve-metadata=entitlements