//
// sub_10057C944 from 0x10057c944 to 0x10057c9e0 (156 bytes)
//
// 1 xrefs:
// > ??> @ 0x1009aade8
//
// 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_10057C944(__int64 a1)
{
__int64 v2; // x20
__int64 v3; // x0
__int64 v4; // x0
__int64 v5; // x0
v2 = sub_10057C460(a1);
if ( !(_DWORD)v2 )
{
sub_1005CBF80(a1 + 112);
v3 = *(_QWORD *)(a1 + 728);
if ( v3 )
{
(*(void (__fastcall **)(__int64))(*(_QWORD *)v3 + 16LL))(v3);
*(_QWORD *)(a1 + 728) = 0;
}
v4 = *(_QWORD *)(a1 + 744);
if ( v4 )
{
(*(void (__fastcall **)(__int64))(*(_QWORD *)v4 + 16LL))(v4);
*(_QWORD *)(a1 + 744) = 0;
}
v5 = *(_QWORD *)(a1 + 752);
if ( v5 )
{
(*(void (__fastcall **)(__int64))(*(_QWORD *)v5 + 16LL))(v5);
*(_QWORD *)(a1 + 752) = 0;
}
*(_DWORD *)(a1 + 100) = 1232348160;
*(_DWORD *)(a1 + 104) = 1120403456;
*(_QWORD *)(a1 + 736) = 0;
}
return v2;
}