// // UIOptionsLayer::ccTouchMoved from 0x4b31a4 to 0x4b3266 (194 bytes) // // 1 xrefs: // > `non-virtual thunk to'UIOptionsLayer::ccTouchMoved @ 0x4b3270 // // 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 UIOptionsLayer::ccTouchMoved(UIOptionsLayer *a1, cocos2d::CCTouch *a2, cocos2d::CCEvent *a3) { int v5; // r4 int v6; // r10 GJUINode *Node; // r0 GJUINode *v8; // r5 const cocos2d::CCPoint *v9; // r1 cocos2d::CCPoint *p_m_touchPosition; // [sp+4h] [bp-10h] void (__fastcall *setPosition)(cocos2d::CCNode *__hidden, const cocos2d::CCPoint *); // [sp+4h] [bp-10h] cocos2d::CCPoint v12; // [sp+Ch] [bp-8h] BYREF cocos2d::CCPoint v13; // [sp+14h] [bp+0h] BYREF cocos2d::CCPoint v14; // [sp+1Ch] [bp+8h] BYREF cocos2d::CCPoint v15; // [sp+24h] [bp+10h] BYREF cocos2d::CCTouch::getLocation(&v12, a2); cocos2d::CCNode::convertToNodeSpace(&v13, a1, &v12); v5 = 0; if ( a1->m_dual ) v6 = 4; else v6 = 1; do { Node = UIOptionsLayer::getNode(a1, v5); v8 = Node; if ( Node->m_touchID == a2->m_nId ) { p_m_touchPosition = &Node->m_touchPosition; if ( cocos2d::ccpDistance(&v13, &Node->m_touchPosition) > 1.0 ) v9 = &v13; else v9 = p_m_touchPosition; cocos2d::CCPoint::CCPoint(&v14, v9); setPosition = v8->setPosition; cocos2d::CCPoint::operator-(&v15, &v14, &v8->m_touchDelta); setPosition(v8, &v15); } ++v5; } while ( v5 != v6 ); }
GD Web Decomp Icon

GD Web Decomp

Raw Source