//
// sub_10056CA14 from 0x10056ca14 to 0x10056ca7c (104 bytes)
//
// 1 xrefs:
// > ??> @ 0x1009d5050
//
// 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:16 +0000
//
__int64 __fastcall sub_10056CA14(__int64 a1, int a2, int a3)
{
__int64 v4; // x20
__int64 result; // x0
__int64 v6; // [xsp+8h] [xbp-18h] BYREF
if ( a2 )
return 0;
v4 = *(_QWORD *)(a1 + 8);
sub_1005DEC14(v4);
v6 = 0;
sub_1005F59D0(*(_QWORD *)(v4 + 48), &v6, (char *)&v6 + 4);
result = sub_1005DEBA0(v4, (unsigned int)v6, HIDWORD(v6), (unsigned int)(4 * a3), 0);
if ( !(_DWORD)result )
return 0;
return result;
}