//
// EditorUI::triggerSwipeMode from 0x10001a7f0 to 0x10001a8b9 (201 bytes)
//
// 1 xrefs:
// > EditorUI::ccTouchBegan @ 0x10060a0bc
//
// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 12:18:56 +0000
//
__int64 __fastcall EditorUI::triggerSwipeMode(__int64 a1)
{
__int64 v1; // rax
__int64 v2; // r14
__int64 result; // rax
*(_BYTE *)(a1 + 1568) = 1;
v1 = EditorSFXManager::sharedState(a1);
EditorSFXManager::playAction_1(v1, 274);
if ( *(_DWORD *)(a1 + 1436) == 3 )
{
*(_BYTE *)(a1 + 861) = 1;
sub_100278300(a1 + 1456, a1 + 1448);
if ( !*(_BYTE *)(a1 + 863) )
{
*(_QWORD *)(a1 + 1504) = 0;
*(_BYTE *)(a1 + 865) = 0;
}
}
v2 = CCCircleWave::create(0, 0, 1.0, 30.0, 0.2);
*(_BYTE *)(v2 + 342) = -1;
*(_WORD *)(v2 + 340) = -1;
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v2 + 184LL))(v2, a1 + 1448);
result = (*(__int64 (__fastcall **)(__int64, __int64, _QWORD))(*(_QWORD *)a1 + 464LL))(a1, v2, 0);
*(_DWORD *)(v2 + 352) = 1;
return result;
}