//
// sub_1006E4C20 from 0x1006e4c20 to 0x1006e4cad (141 bytes)
//
// 2 xrefs:
// > ??> @ 0x100b93be0
// > ??> @ 0x100bc13b0
//
// 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_1006E4C20(__int64 a1, __int64 a2, __int64 a3)
{
__int64 v5; // rdi
char v6; // r12
__int64 v7; // rax
v5 = *(_QWORD *)(a1 + 816);
if ( v5 )
{
v6 = *(_BYTE *)(v5 + 480);
sub_10096C5E0(v5, a2);
if ( *(_BYTE *)(a1 + 832) )
{
v7 = 920;
if ( v6 )
goto LABEL_7;
goto LABEL_6;
}
}
else if ( *(_BYTE *)(a1 + 832) )
{
LABEL_6:
v7 = 912;
LABEL_7:
(*(void (__fastcall **)(_QWORD, __int64, __int64))(**(_QWORD **)(a1 + 824) + v7))(*(_QWORD *)(a1 + 824), a2, a3);
*(_BYTE *)(a1 + 832) = 0;
}
return FLAlertLayer::ccTouchEnded(a1 - 320, a2);
}