//
// sub_10056D588 from 0x10056d588 to 0x10056d5c0 (56 bytes)
//
// 1 xrefs:
// > ??> @ 0x1009d5330
//
// 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_10056D588(__int64 *a1, int a2, int a3)
{
__int64 v3; // x8
v3 = *a1;
if ( (unsigned int)(a2 - 33) > 0x1F )
{
if ( a2 )
{
return 31;
}
else
{
*(_DWORD *)(v3 + 9296) = a3;
return 0;
}
}
else
{
*(_DWORD *)(v3 + 4LL * (unsigned int)(a2 - 33) + 9300) = a3;
return 0;
}
}