//
// EditorUI::triggerSwipeMode from 0x1003f8594 to 0x1003f864c (184 bytes)
//
// 1 xrefs:
// > EditorUI::ccTouchBegan @ 0x1003f8aa0
//
// 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 __fastcall EditorUI::triggerSwipeMode(EditorUI *a1)
{
CCCircleWave *v2; // x20
a1->m_swipeModeTriggered = 1;
if ( a1->m_selectedMode == 3 )
{
a1->m_swipeActive = 1;
sub_1000229D0(&a1->m_swipeEnd, (double *)&a1->m_swipeStart);
if ( !a1->m_continuousSnap )
{
a1->m_snapObject = nullptr;
a1->m_snapObjectExists = 0;
}
}
v2 = CCCircleWave::create(1.0, 60.0, 0.4, 0, 0);
v2->m_color.b = -1;
*(_WORD *)&v2->m_color.r = -1;
((void (__fastcall *)(CCCircleWave *, cocos2d::CCPoint *))v2->setPosition)(v2, &a1->m_swipeStart);
((void (__fastcall *)(EditorUI *, CCCircleWave *, _QWORD))a1->addChild_0)(a1, v2, 0);
v2->m_circleMode = Outline;
}