//
// sub_1004E447C from 0x1004e447c to 0x1004e44c8 (76 bytes)
//
// 2 xrefs:
// > sub_10042CBAC @ 0x10042cc04
// > sub_10042CBAC @ 0x10042cc34
//
// 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
//
double __fastcall sub_1004E447C(__int64 a1, __int64 a2)
{
__int64 v4; // x1
__int64 v5; // x1
double result; // d0
if ( a2 )
{
v4 = *(_QWORD *)(a2 + 8);
if ( v4 )
sub_100478D80(a1, v4);
v5 = *(_QWORD *)(a2 + 16);
if ( v5 )
sub_100478D80(a1, v5);
*(_OWORD *)a2 = 0u;
*(_OWORD *)(a2 + 16) = 0u;
return 0.0;
}
return result;
}