//
// sub_100573C50 from 0x100573c50 to 0x100573cd4 (132 bytes)
//
// 1 xrefs:
// > ??> @ 0x1009aa9e0
//
// 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:08:19 +0000
//
__int64 __fastcall sub_100573C50(__int64 a1, __int64 a2, _DWORD *a3)
{
__int64 v3; // x8
__int64 v5; // x0
_QWORD *v8; // x0
*a3 = 0;
*(_DWORD *)(a1 + 496) = 0;
*(_QWORD *)(a1 + 504) = 0;
v3 = *(_QWORD *)(a1 + 408);
if ( !v3 )
return 28;
v5 = *(_QWORD *)(v3 + 73968);
if ( v5 && (v8 = sub_10054ED58(v5, 10)) != nullptr )
return sub_100574B1C(v8, a2, a3, a1 + 504);
else
return 18;
}