感谢大佬的开源 https://github.com/evi0s/WMPFDebugger
git clone https://github.com/chain00x/WMPFDebugger-arm
cd WMPFDebugger-arm
yarn
npx ts-node src/index.ts
浏览器访问
devtools://devtools/bundled/inspector.html?ws=127.0.0.1:62000
ida arm打开(时间很久 要等)
cd '/Applications/WeChat.app/Contents/MacOS/WeChatAppEx.app/Contents/Frameworks/WeChatAppEx Framework.framework/Versions/C'
if ( v8[2] != 6 )
这个判断要为true,v8[2]的值不为6