//
// EditorUI::triggerSwipeMode from 0x685de8 to 0x685ea4 (188 bytes)
//
// 3 xrefs:
// > ??> @ 0x73ef0
// > EditorUI::ccTouchBegan @ 0x6c5364
// > ??> @ 0x122bda0
//
// 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 EditorUI::triggerSwipeMode(EditorUI *a1)
{
float v1; // s0
float v2; // s1
int m_selectedMode; // w1
__int64 v5; // x0
__int64 v6; // x3
cocos2d::CCNode *v7; // x19
m_selectedMode = a1->m_selectedMode;
a1->m_swipeModeTriggered = 1;
if ( m_selectedMode == 3 )
{
a1->m_swipeActive = 1;
cocos2d::CCPoint::operator=(&a1->m_swipeEnd, v1, v2);
if ( !a1->m_continuousSnap )
{
a1->m_snapObject = nullptr;
a1->m_snapObjectExists = 0;
}
}
v5 = CCCircleWave::create(nullptr, 1.0, 60.0, 0.4, 0);
v6 = *(_QWORD *)v5;
*(_BYTE *)(v5 + 340) = -1;
*(_BYTE *)(v5 + 341) = -1;
*(_BYTE *)(v5 + 342) = -1;
v7 = (cocos2d::CCNode *)v5;
(*(void (__fastcall **)(__int64, cocos2d::CCPoint *))(v6 + 184))(v5, &a1->m_swipeStart);
a1->addChild_0(a1, v7, 0);
v7[1].m_uIndexInArray = 1;
}