//
// sub_1004DA304 from 0x1004da304 to 0x1004da34c (72 bytes)
//
// 1 xrefs:
// > sub_1004EC8B4 @ 0x1004ec988
//
// 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_1004DA304(__int64 *a1)
{
__int64 v2; // x9
__int64 result; // x0
if ( !a1 )
return 0xFFFFFFFFLL;
v2 = *a1;
result = 0xFFFFFFFFLL;
if ( v2 )
{
*(__int64 *)((char *)a1 + 12) = 0;
*(__int64 *)((char *)a1 + 44) = 0;
*((_DWORD *)a1 + 13) = 0;
*(__int64 *)((char *)a1 + 340) = 0;
*((_DWORD *)a1 + 87) = 0;
*((_DWORD *)a1 + 89) = -1;
a1[45] = 0;
a1[46] = 0;
return 0;
}
return result;
}