//
// sub_52958 from 0x52958 to 0x529d8 (128 bytes)
//
// 1 xrefs:
// > ??> @ 0x10c228
//
// 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 sub_52958()
{
__int64 v0; // x19
__int64 v1; // x0
unsigned int v2; // w20
v1 = sub_53E3C();
v2 = ((__int64 (__fastcall *)(__int64))loc_524D8)(v1);
if ( !v2 )
{
sub_CA9C0(v0 + 112);
if ( *(_QWORD *)(v0 + 736) )
{
sub_53DA0();
*(_QWORD *)(v0 + 736) = 0;
}
if ( *(_QWORD *)(v0 + 752) )
{
sub_53DA0();
*(_QWORD *)(v0 + 752) = 0;
}
if ( *(_QWORD *)(v0 + 760) )
{
sub_53DA0();
*(_QWORD *)(v0 + 760) = 0;
}
*(_QWORD *)(v0 + 744) = 0;
*(_DWORD *)(v0 + 100) = 1232348160;
*(_DWORD *)(v0 + 104) = 1120403456;
}
return v2;
}