// // GJRotationControl::onToggleLockRotation from 0xbce06c to 0xbce108 (156 bytes) // // 3 xrefs: // > @ 0xd0d08 // > GJRotationControl::init @ 0xbd3e74 // > @ 0x15462b0 // // This function is hookable on this platform (idp: arm, 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 13:03:35 +0000 // __int64 __fastcall GJRotationControl::onToggleLockRotation(GJRotationControl *this, cocos2d::CCObject *a2) { __int64 v3; // x1 cocos2d::CCSpriteFrameCache **v4; // x20 __int64 (__fastcall *v5)(cocos2d::CCSpriteFrameCache **, __int64); // x21 cocos2d::CCSpriteFrameCache *v6; // x0 __int64 v7; // x0 v3 = *((_QWORD *)this + 56); *((_BYTE *)this + 456) ^= 1u; v4 = (cocos2d::CCSpriteFrameCache **)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v3 + 1072LL))(v3); v5 = *((__int64 (__fastcall **)(cocos2d::CCSpriteFrameCache **, __int64))*v4 + 145); v6 = (cocos2d::CCSpriteFrameCache *)cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache(*v4); if ( *((_BYTE *)this + 456) ) v7 = cocos2d::CCSpriteFrameCache::spriteFrameByName(v6, "warpLockOnBtn_001.png"); else v7 = cocos2d::CCSpriteFrameCache::spriteFrameByName(v6, "warpLockOffBtn_001.png"); return v5(v4, v7); }
GD Web Decomp Icon

GD Web Decomp

Raw Source