//
// sub_1005D99F4 from 0x1005d99f4 to 0x1005d9a40 (76 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:09:36 +0000
//
__int64 __fastcall sub_1005D99F4(__int64 a1, _DWORD *a2, int a3)
{
_DWORD *v3; // x8
switch ( a3 )
{
case 1024:
v3 = (_DWORD *)(a1 + 2288);
goto LABEL_7;
case 512:
v3 = (_DWORD *)(*(_QWORD *)(a1 + 632) + 16LL * *(unsigned __int8 *)(a1 + *(int *)(a1 + 3068) + 656));
goto LABEL_7;
case 256:
v3 = (_DWORD *)(a1 + 2284);
LABEL_7:
*a2 = *v3;
break;
}
return 0;
}