//
// sub_100510CE4 from 0x100510ce4 to 0x100510d20 (60 bytes)
//
// 1 xrefs:
// > sub_1005103AC @ 0x100510408
//
// 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_100510CE4(__int64 a1)
{
__int64 v2; // x0
__int64 result; // x0
v2 = *(_QWORD *)(a1 + 568);
if ( !v2 )
return 28;
result = sub_100510220(v2, a1);
if ( !(_DWORD)result )
*(_QWORD *)(a1 + 568) = 0;
return result;
}