// // GJRotationControl::finishTouch from 0x3869b4 to 0x3869f6 (66 bytes) // // 2 xrefs: // > EditorUI::deactivateRotationControl @ 0x386a2c // > GJRotationControl::ccTouchEnded @ 0x386a3c // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // void GJRotationControl::finishTouch(GJRotationControl *a1) { cocos2d::CCSprite *m_controlSprite; // r5 void (__fastcall *setDisplayFrame)(cocos2d::CCSprite *__hidden, cocos2d::CCSpriteFrame *); // r6 cocos2d::CCSpriteFrameCache *v4; // r0 cocos2d::CCSpriteFrame *v5; // r0 GJRotationControlDelegate *m_delegate; // r0 if ( a1->m_touchID != -1 ) { m_controlSprite = a1->m_controlSprite; a1->m_touchID = -1; setDisplayFrame = m_controlSprite->setDisplayFrame; v4 = cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache(); v5 = cocos2d::CCSpriteFrameCache::spriteFrameByName(v4, "GJ_rotationControlBtn01_001.png"); setDisplayFrame(m_controlSprite, v5); m_delegate = a1->m_delegate; if ( m_delegate ) m_delegate->angleChangeEnded(m_delegate); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source