//
// EditorUI::triggerSwipeMode from 0x140123730 to 0x140123802 (210 bytes)
//
// 2 xrefs:
// > EditorUI::ccTouchBegan @ 0x140123e0f
// > ??> @ 0x1406c99b4
//
// 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)
{
bool v1; // zf
CCCircleWave *v3; // rbx
CCCircleWave_vtbl *v4; // r8
v1 = a1->m_selectedMode == 3;
a1->m_swipeModeTriggered = 1;
if ( v1 )
{
a1->m_swipeActive = 1;
cocos2d::CCPoint::operator=(&a1->m_swipeEnd, &a1->m_swipeStart);
if ( !a1->m_continuousSnap )
{
a1->m_snapObject = nullptr;
a1->m_snapObjectExists = 0;
}
}
v3 = CCCircleWave::create(1.0, 30.0, 0.2, 0, 0);
v4 = v3->__vftable;
*(_WORD *)&v3->m_color.r = -1;
v3->m_color.b = -1;
v4->setPosition_0(v3, &a1->m_swipeStart);
a1->addChild_0(a1, v3, 0);
v3->m_circleMode = Outline;
}