//
// ScrollViewPopup::ccTouchMoved from 0x140622220 to 0x1406222c3 (163 bytes)
//
// 4 xrefs:
// > ??> @ 0x1407b6ea0
// > ??> @ 0x1407b6f00
// > ??> @ 0x140816cd0
// > ??> @ 0x1409304d0
//
// 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:35:22 +0000
//
__int64 __fastcall ScrollViewPopup::ccTouchMoved(__int64 a1, __int64 a2, __int64 a3)
{
__int64 v5; // rcx
__int64 v7; // rax
__int64 result; // rax
__int64 v9; // rcx
v5 = *(_QWORD *)(a1 + 352);
if ( v5 )
{
ScrollableContentLayer::handleTouchMoved(v5, a2);
v7 = *(_QWORD *)(a1 + 352);
if ( *(_BYTE *)(v7 + 481) )
{
*(_BYTE *)(v7 + 481) = 0;
return FLAlertLayer::ccTouchCancelled(a1, a2);
}
}
result = *(unsigned int *)(a2 + 56);
if ( *(_DWORD *)(a1 + 320) == (_DWORD)result )
{
v9 = *(_QWORD *)(a1 + 232);
}
else
{
if ( *(_DWORD *)(a1 + 312) != (_DWORD)result )
return result;
v9 = *(_QWORD *)(a1 + 304);
}
return (*(__int64 (__fastcall **)(__int64, __int64, __int64))(*(_QWORD *)(v9 + 320) + 16LL))(v9 + 320, a2, a3);
}