// // GJTransformControl::onToggleLockScale from 0xbce30c to 0xbce3bc (176 bytes) // // 4 xrefs: // > EditorUI::handleEditorAction @ 0xbd74f8 // > @ 0x690a0 // > GJTransformControl::init @ 0xbd496c // > @ 0x1542928 // // 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:36 +0000 // __int64 __fastcall GJTransformControl::onToggleLockScale(GJTransformControl *this, cocos2d::CCObject *a2) { GameManager *v3; // x0 GameManager *v4; // x0 cocos2d::CCSpriteFrameCache **v5; // x20 __int64 (__fastcall *v6)(cocos2d::CCSpriteFrameCache **, __int64); // x21 cocos2d::CCSpriteFrameCache *v7; // x0 __int64 v8; // x0 v3 = (GameManager *)(*((unsigned __int8 *)this + 600) ^ 1u); *((_BYTE *)this + 600) = (_BYTE)v3; v4 = (GameManager *)GameManager::sharedState(v3); GameManager::setGameVariable(v4, "0229", *((_BYTE *)this + 600)); v5 = (cocos2d::CCSpriteFrameCache **)(*(__int64 (__fastcall **)(_QWORD))(**((_QWORD **)this + 66) + 1072LL))(*((_QWORD *)this + 66)); v6 = *((__int64 (__fastcall **)(cocos2d::CCSpriteFrameCache **, __int64))*v5 + 145); v7 = (cocos2d::CCSpriteFrameCache *)cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache(*v5); if ( *((_BYTE *)this + 600) ) v8 = cocos2d::CCSpriteFrameCache::spriteFrameByName(v7, "warpLockOnBtn_001.png"); else v8 = cocos2d::CCSpriteFrameCache::spriteFrameByName(v7, "warpLockOffBtn_001.png"); return v6(v5, v8); }
GD Web Decomp Icon

GD Web Decomp

Raw Source