//
// sub_100478DA4 from 0x100478da4 to 0x100478de4 (64 bytes)
//
// 1 xrefs:
// > ??> @ 0x100828020
//
// 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_100478DA4(__int64 a1, __int64 a2, __int64 a3, __int64 a4)
{
unsigned int v5; // [xsp+Ch] [xbp-4h] BYREF
if ( (sub_1004AA0BC(a4, a1, a2, a3, &v5) & 0xFFFFFFEF) != 0 )
return -1;
else
return v5;
}