//
// sub_66804 from 0x66804 to 0x66884 (128 bytes)
//
// 1 xrefs:
// > ??> @ 0x10cad8
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
__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;
}