// // GJTransformControl::onToggleFreeRotation from 0xbce51c to 0xbce5cc (176 bytes) // // 4 xrefs: // > EditorUI::handleEditorAction @ 0xbd86f8 // > @ 0xc3418 // > GJTransformControl::init @ 0xbd49e4 // > @ 0x1545b40 // // 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::onToggleFreeRotation(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 + 603) ^ 1u); *((_BYTE *)this + 603) = (_BYTE)v3; v4 = (GameManager *)GameManager::sharedState(v3); GameManager::setGameVariable(v4, "0190", *((_BYTE *)this + 603)); v5 = (cocos2d::CCSpriteFrameCache **)(*(__int64 (__fastcall **)(_QWORD))(**((_QWORD **)this + 69) + 1072LL))(*((_QWORD *)this + 69)); v6 = *((__int64 (__fastcall **)(cocos2d::CCSpriteFrameCache **, __int64))*v5 + 145); v7 = (cocos2d::CCSpriteFrameCache *)cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache(*v5); if ( *((_BYTE *)this + 603) ) v8 = cocos2d::CCSpriteFrameCache::spriteFrameByName(v7, "warpRotateOnBtn_001.png"); else v8 = cocos2d::CCSpriteFrameCache::spriteFrameByName(v7, "warpRotateOffBtn_001.png"); return v6(v5, v8); }
GD Web Decomp Icon

GD Web Decomp

Raw Source