//
// sub_66804 from 0x66804 to 0x66884 (128 bytes)
//
// 1 xrefs:
// > ??> @ 0x10cad8
//
// This function is hookable on this platform (idp: arm, 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:13:55 +0000
//
__int64 __fastcall sub_66804(__int64 a1, unsigned int a2, unsigned int a3, unsigned int a4, unsigned int a5)
{
unsigned int v10; // w20
if ( *(_QWORD *)(a1 + 352) )
sub_66794(a1);
v10 = sub_66998(a1, a2, a3, a4, a5);
if ( !v10 && *(_QWORD *)(a1 + 352) )
((void (__fastcall *)(__int64))loc_66428)(a1);
return v10;
}