//
// sub_1004D99A8 from 0x1004d99a8 to 0x1004d99f4 (76 bytes)
//
// 0 xrefs:
//
// 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_1004D99A8(__int64 a1, __int64 a2)
{
__int64 v4; // x1
if ( a2 )
{
v4 = *(_QWORD *)a2;
if ( v4 )
sub_100478D80(a1, v4);
*(_OWORD *)a2 = 0u;
*(_OWORD *)(a2 + 16) = 0u;
sub_100478D80(a1, a2);
}
return 0;
}