// // GJScaleControl::onToggleLockScale from 0x1401a35f0 to 0x1401a3678 (136 bytes) // // 2 xrefs: // > GJScaleControl::init @ 0x1401a2f70 // > @ 0x1409199dc // // This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True! // // Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings // Generated at Fri, 27 Nov 2026 11:27:49 +0000 // __int64 __fastcall GJScaleControl::onToggleLockScale(__int64 a1) { char v1; // bp const char *v2; // rbx __int64 *v3; // rsi __int64 v4; // rdi cocos2d::CCSpriteFrameCache *v5; // rax struct cocos2d::CCSpriteFrame *v6; // rax v1 = *(_BYTE *)(a1 + 608); *(_BYTE *)(a1 + 608) = v1 == 0; v2 = "warpLockOffBtn_001.png"; v3 = (__int64 *)(*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 600) + 952LL))(*(_QWORD *)(a1 + 600)); v4 = *v3; if ( !v1 ) v2 = "warpLockOnBtn_001.png"; v5 = (cocos2d::CCSpriteFrameCache *)cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache(); v6 = cocos2d::CCSpriteFrameCache::spriteFrameByName(v5, v2); return (*(__int64 (__fastcall **)(__int64 *, struct cocos2d::CCSpriteFrame *))(v4 + 1008))(v3, v6); }
GD Web Decomp Icon

GD Web Decomp

Raw Source