//
// DeathTrackerPopup::ccTouchMoved from 0x14010eac0 to 0x14010eb6c (172 bytes)
//
// 2 xrefs:
// > ??> @ 0x14072f478
// > ??> @ 0x140915b9c
//
// 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 11:26:48 +0000
//
__int64 __fastcall DeathTrackerPopup::ccTouchMoved(__int64 a1, __int64 a2, __int64 a3)
{
int v3; // eax
__int64 v7; // rax
__int64 v8; // rcx
__int64 result; // rax
__int64 v10; // rcx
v3 = *(_DWORD *)(a1 + 408);
if ( !v3 )
goto LABEL_4;
if ( v3 != 2 )
{
if ( (unsigned int)(v3 - 1) > 1 )
{
v7 = *(_QWORD *)(a1 + 400);
goto LABEL_5;
}
LABEL_13:
v8 = *(_QWORD *)(a1 + 368);
goto LABEL_7;
}
if ( !*(_BYTE *)(a1 + 666) )
goto LABEL_13;
LABEL_4:
v7 = *(_QWORD *)(a1 + 392);
LABEL_5:
if ( !v7 )
goto LABEL_9;
v8 = *(_QWORD *)(v7 + 328);
LABEL_7:
if ( v8 )
ScrollableContentLayer::handleTouchMoved(v8, a2);
LABEL_9:
result = *(unsigned int *)(a2 + 56);
if ( *(_DWORD *)(a1 + 320) == (_DWORD)result )
{
v10 = *(_QWORD *)(a1 + 232);
}
else
{
if ( *(_DWORD *)(a1 + 312) != (_DWORD)result )
return result;
v10 = *(_QWORD *)(a1 + 304);
}
return (*(__int64 (__fastcall **)(__int64, __int64, __int64))(*(_QWORD *)(v10 + 320) + 16LL))(v10 + 320, a2, a3);
}