//
// sub_10056EEF8 from 0x10056eef8 to 0x10056ef88 (144 bytes)
//
// 1 xrefs:
// > sub_100567BDC @ 0x100567d80
//
// 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 __fastcall sub_10056EEF8(_QWORD *a1, _DWORD *a2)
{
__int64 **v4; // x0
__int64 v5; // x20
*a2 = 0;
if ( !a1 )
return 0;
if ( *a1 != 764702 )
return 0;
if ( !sub_10056BD30(a1[4]) )
return 0;
v4 = (__int64 **)a1[4];
v5 = **v4;
sub_10056BBA0((__int64)v4, *v4, 0);
sub_10056BD30(a1[4]);
*a2 = sub_10057BBB0();
return v5;
}