//
// sub_1004B388C from 0x1004b388c to 0x1004b38d8 (76 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
__int64 __fastcall sub_1004B388C(__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;
}