// // GJUINode::touchEnded from 0x10004a884 to 0x10004a928 (164 bytes) // // 2 xrefs: // > UILayer::processUINodeTouch @ 0x10004a5c4 // > UILayer::processUINodeTouch @ 0x10004a6c0 // // 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 __fastcall GJUINode::touchEnded(GJUINode *a1) { cocos2d::CCSprite *m_firstSprite; // x0 cocos2d::CCSprite *m_secondSprite; // x0 __int16 v4; // [xsp+8h] [xbp-18h] BYREF char v5; // [xsp+Ah] [xbp-16h] __int16 v6; // [xsp+Ch] [xbp-14h] BYREF char v7; // [xsp+Eh] [xbp-12h] a1->m_touchID = -1; m_firstSprite = a1->m_firstSprite; if ( m_firstSprite ) { v5 = -1; v4 = -1; ((void (__fastcall *)(cocos2d::CCSprite *, __int16 *))m_firstSprite->setColor)(m_firstSprite, &v4); } if ( a1->m_modeB ) { if ( a1->m_snap ) ((void (__fastcall *)(cocos2d::CCSprite *, _QWORD))a1->m_firstSprite->setVisible)(a1->m_firstSprite, 0); } else { m_secondSprite = a1->m_secondSprite; if ( m_secondSprite ) { v7 = -1; v6 = -1; ((void (__fastcall *)(cocos2d::CCSprite *, __int16 *))m_secondSprite->setColor)(m_secondSprite, &v6); } } a1->m_currentButton = 0; }
GD Web Decomp Icon

GD Web Decomp

Raw Source