//
// sub_100478EB4 from 0x100478eb4 to 0x100478f0c (88 bytes)
//
// 1 xrefs:
// > sub_100478E20 @ 0x100478e6c
//
// 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_100478EB4(__int64 a1, __int64 a2, unsigned int a3)
{
int v5; // w0
v5 = sub_1004ED490(a1, a1 + 376, a3);
if ( (v5 & 0x80000000) == 0 )
return 0;
if ( v5 == -139 )
return 38;
if ( !a3 && !*(_QWORD *)(a1 + 496) )
return 0;
return 14;
}