//
// EditorUI::triggerSwipeMode from 0x10047d284 to 0x10047d348 (196 bytes)
//
// 1 xrefs:
// > EditorUI::ccTouchBegan @ 0x1001613f8
//
// This function is hookable on this platform (idp: arm, 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 11:05:44 +0000
//
__int64 __fastcall EditorUI::triggerSwipeMode(__int64 a1, __n128 a2)
{
__int64 v3; // x0
_BYTE *v4; // x20
__int64 result; // x0
*(_BYTE *)(a1 + 1568) = 1;
v3 = EditorSFXManager::sharedState(a2);
EditorSFXManager::playAction_1(v3, 274);
if ( *(_DWORD *)(a1 + 1436) == 3 )
{
*(_BYTE *)(a1 + 861) = 1;
sub_10002630C((_QWORD *)(a1 + 1456), (double *)(a1 + 1448));
if ( (*(_BYTE *)(a1 + 863) & 1) == 0 )
{
*(_QWORD *)(a1 + 1504) = 0;
*(_BYTE *)(a1 + 865) = 0;
}
}
v4 = CCCircleWave::create(0, 0, 1.0, 60.0, 0.4);
v4[342] = -1;
*((_WORD *)v4 + 170) = -1;
(*(void (__fastcall **)(_BYTE *, __int64))(*(_QWORD *)v4 + 184LL))(v4, a1 + 1448);
result = (*(__int64 (__fastcall **)(__int64, _BYTE *, _QWORD))(*(_QWORD *)a1 + 464LL))(a1, v4, 0);
*((_DWORD *)v4 + 88) = 1;
return result;
}