//
// EditorUI::triggerSwipeMode from 0x7c7338 to 0x7c7400 (200 bytes)
//
// 3 xrefs:
// > ??> @ 0x9b980
// > EditorUI::ccTouchBegan @ 0xbd58b0
// > ??> @ 0x1544478
//
// 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 12:54:09 +0000
//
__int64 __fastcall EditorUI::triggerSwipeMode(EditorUI *this)
{
char *v2; // x21
EditorSFXManager *v3; // x0
__int64 v4; // x0
__int64 v5; // x3
__int64 v6; // x19
*((_BYTE *)this + 1568) = 1;
v2 = (char *)this + 1448;
v3 = (EditorSFXManager *)EditorSFXManager::sharedState(this);
EditorSFXManager::playAction(v3, 274);
if ( *((_DWORD *)this + 359) == 3 )
{
*((_BYTE *)this + 861) = 1;
cocos2d::CCPoint::operator=((char *)this + 1456, v2);
if ( !*((_BYTE *)this + 863) )
{
*((_QWORD *)this + 188) = 0;
*((_BYTE *)this + 865) = 0;
}
}
v4 = CCCircleWave::create(nullptr, 1.0, 60.0, 0.4, 0);
v5 = *(_QWORD *)v4;
*(_BYTE *)(v4 + 340) = -1;
*(_BYTE *)(v4 + 341) = -1;
*(_BYTE *)(v4 + 342) = -1;
v6 = v4;
(*(void (__fastcall **)(__int64, char *))(v5 + 184))(v4, v2);
(*(void (__fastcall **)(EditorUI *, __int64, _QWORD))(*(_QWORD *)this + 464LL))(this, v6, 0);
*(_DWORD *)(v6 + 352) = 1;
return 1;
}