//
// sub_10057C0D4 from 0x10057c0d4 to 0x10057c120 (76 bytes)
//
// 1 xrefs:
// > ??> @ 0x1009aac28
//
// 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:27 +0000
//
__int64 __fastcall sub_10057C0D4(__int64 a1)
{
unsigned int (__fastcall ***v2)(_QWORD); // x0
__int64 v3; // x8
v2 = *(unsigned int (__fastcall ****)(_QWORD))(a1 + 40);
if ( v2 )
{
if ( (**v2)(v2) )
{
v3 = *(_QWORD *)(*(_QWORD *)(a1 + 40) + 376LL);
if ( v3 )
*(_BYTE *)(v3 + 136) = 1;
}
}
return sub_10057C4D8(a1);
}