//
// sub_1005D9B94 from 0x1005d9b94 to 0x1005d9be0 (76 bytes)
//
// 4 xrefs:
// > sub_100588574 @ 0x1005885c0
// > sub_100592F4C @ 0x100592f98
// > sub_1005A1984 @ 0x1005a19d0
// > sub_1005A7050 @ 0x1005a709c
//
// 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_1005D9B94(__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;
}