//
// sub_10060046C from 0x10060046c to 0x1006004b4 (72 bytes)
//
// 1 xrefs:
// > sub_100612A1C @ 0x100612af0
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 11:09:57 +0000
//
__int64 __fastcall sub_10060046C(__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;
}