//
// sub_1006E4AF0 from 0x1006e4af0 to 0x1006e4b8e (158 bytes)
//
// 2 xrefs:
// > ??> @ 0x100b93bd8
// > ??> @ 0x100bc13a8
//
// 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 12:35:46 +0000
//
__int64 __fastcall sub_1006E4AF0(__int64 a1, __int64 a2, __int64 a3)
{
__int64 v5; // rdi
v5 = *(_QWORD *)(a1 + 816);
if ( v5 )
{
sub_10096C1B0(v5, a2);
if ( (unsigned __int8)sub_10096C420(*(_QWORD *)(a1 + 816)) )
{
if ( *(_BYTE *)(a1 + 832) == 1 )
{
(*(void (__fastcall **)(_QWORD, __int64, __int64))(**(_QWORD **)(a1 + 824) + 920LL))(
*(_QWORD *)(a1 + 824),
a2,
a3);
*(_BYTE *)(a1 + 832) = 0;
}
}
}
if ( *(_BYTE *)(a1 + 832) == 1 )
(*(void (__fastcall **)(_QWORD, __int64, __int64))(**(_QWORD **)(a1 + 824) + 904LL))(*(_QWORD *)(a1 + 824), a2, a3);
return FLAlertLayer::ccTouchMoved(a1 - 320, a2);
}