//
// sub_57158 from 0x57158 to 0x571a0 (72 bytes)
//
// 2 xrefs:
// > ??> @ 0x10c550
// > ??> @ 0x10c778
//
// 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 12:13:50 +0000
//
void sub_57158()
{
_DWORD *v0; // x19
__int64 v1; // x20
_DWORD *v2; // x21
char v3; // [xsp+Ch] [xbp-24h]
if ( !(unsigned int)((__int64 (*)(void))loc_5782C)() && (v3 & 0x10) != 0 )
{
if ( v2 )
*v2 = *(_DWORD *)(v1 + 156);
if ( v0 )
*v0 = *(_DWORD *)(v1 + 160);
}
JUMPOUT(0x5784C);
}