// // UIOptionsLayer::ccTouchMoved from 0x1402a3e50 to 0x1402a3f71 (289 bytes) // // 2 xrefs: // > @ 0x140576788 // > @ 0x1406d200c // // 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) { const struct cocos2d::CCPoint *v5; // r8 int v6; // r14d int i; // esi _DWORD *v8; // rdi cocos2d::CCPoint v9; // [rsp+20h] [rbp-48h] BYREF _BYTE v10[8]; // [rsp+28h] [rbp-40h] BYREF struct cocos2d::CCPoint v11; // [rsp+70h] [rbp+8h] BYREF cocos2d::CCTouch::getLocation(a2); cocos2d::CCNode::convertToNodeSpace((UIOptionsLayer *)((char *)a1 - 320), &v11); v6 = 1; if ( LOBYTE(a1->m_controlConnected) ) v6 = 4; for ( i = 0; i < v6; ++i ) { v8 = nullptr; if ( i ) { switch ( i ) { case 1: v8 = a1->SetupTriggerPopup::TextInputDelegate::__vftable; break; case 2: v8 = a1->SetupTriggerPopup::ConfigureValuePopupDelegate::__vftable; break; case 3: v8 = a1->SetupTriggerPopup::SliderDelegate::__vftable; break; } } else { v8 = *(_DWORD **)&a1->m_joystickConnected; } if ( v8[88] == a2->m_nId ) { cocos2d::ccpDistance((cocos2d *)&v11, (const struct cocos2d::CCPoint *)(v8 + 91), v5); cocos2d::CCPoint::CCPoint(&v9); cocos2d::CCPoint::operator-(&v9, v10, v8 + 89); (*(void (__fastcall **)(_DWORD *, _BYTE *))(*(_QWORD *)v8 + 184LL))(v8, v10); } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source