//
// NewsPopup::ccTouchMoved from 0x1404a06a0 to 0x1404a079a (250 bytes)
//
// 2 xrefs:
// > ??> @ 0x1407b9558
// > ??> @ 0x140929420
//
// 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:32:56 +0000
//
__int64 __fastcall NewsPopup::ccTouchMoved(__int64 a1, __int64 a2, __int64 a3)
{
__int64 v5; // rcx
__int64 v7; // rax
__int64 v8; // rcx
__int64 result; // rax
__int64 v10; // rcx
__int64 v11; // rcx
v5 = *(_QWORD *)(a1 + 392);
if ( v5 && (ScrollableContentLayer::handleTouchMoved(v5, a2), v7 = *(_QWORD *)(a1 + 392), *(_BYTE *)(v7 + 481)) )
{
*(_BYTE *)(v7 + 481) = 0;
if ( *(_BYTE *)(a1 + 408) )
{
v8 = *(_QWORD *)(a1 + 400);
if ( v8 )
{
(*(void (__fastcall **)(__int64, __int64, __int64))(*(_QWORD *)(v8 + 320) + 32LL))(v8 + 320, a2, a3);
*(_BYTE *)(a1 + 408) = 0;
}
}
return FLAlertLayer::ccTouchCancelled(a1, a2);
}
else
{
if ( *(_BYTE *)(a1 + 408) )
{
v10 = *(_QWORD *)(a1 + 400);
if ( v10 )
(*(void (__fastcall **)(__int64, __int64, __int64))(*(_QWORD *)(v10 + 320) + 16LL))(v10 + 320, a2, a3);
}
result = *(unsigned int *)(a2 + 56);
if ( *(_DWORD *)(a1 + 320) == (_DWORD)result )
{
v11 = *(_QWORD *)(a1 + 232);
}
else
{
if ( *(_DWORD *)(a1 + 312) != (_DWORD)result )
return result;
v11 = *(_QWORD *)(a1 + 304);
}
return (*(__int64 (__fastcall **)(__int64, __int64, __int64))(*(_QWORD *)(v11 + 320) + 16LL))(v11 + 320, a2, a3);
}
}