// // UILayer::ccTouchEnded from 0x5c7830 to 0x5c78c0 (144 bytes) // // 3 xrefs: // > `non-virtual thunk to'UILayer::ccTouchEnded @ 0x5c78c4 // > @ 0x8f3b8 // > @ 0x1147c60 // // 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 UILayer::ccTouchEnded(UILayer *a1, cocos2d::CCTouch *a2, cocos2d::CCEvent *a3) { _BOOL4 m_inPlatformer; // w1 int m_nId; // w0 double m_timestamp; // d0 GJBaseGameLayer *m_gameLayer; // x0 double v9; // d0 GJBaseGameLayer *v10; // x0 m_inPlatformer = a1->m_inPlatformer; m_nId = a2->m_nId; if ( m_inPlatformer ) { if ( a1->m_dualMode || m_nId != a1->m_p1TouchId ) { UILayer::processUINodesTouch(a1, Ended, a2); return; } goto LABEL_8; } if ( m_nId == a1->m_p1TouchId ) { LABEL_8: m_timestamp = a2->m_timestamp; m_gameLayer = a1->m_gameLayer; a1->m_p1TouchId = -1; GJBaseGameLayer::queueButton(m_gameLayer, 1, 0, 0, m_timestamp); return; } if ( m_nId == a1->m_p2TouchId ) { v9 = a2->m_timestamp; v10 = a1->m_gameLayer; a1->m_p2TouchId = -1; GJBaseGameLayer::queueButton(v10, 1, 0, 1, v9); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source