//
// sub_10056F608 from 0x10056f608 to 0x10056f648 (64 bytes)
//
// 0 xrefs:
//
// 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:17 +0000
//
__int64 __fastcall sub_10056F608(__int64 a1, int a2, _DWORD *a3, _BYTE *a4)
{
_DWORD *v4; // x8
__int64 result; // x0
if ( !a3 )
return 31;
if ( a2 != 4 )
{
if ( a2 == 1 )
{
v4 = (_DWORD *)(a1 + 668);
goto LABEL_7;
}
return 31;
}
v4 = (_DWORD *)(a1 + 680);
LABEL_7:
*a3 = *v4;
result = 0;
if ( a4 )
*a4 = 0;
return result;
}