//
// sub_18010A830 from 0x18010a830 to 0x18010a865 (53 bytes)
//
// 1 xrefs:
// > ??> @ 0x1801b0928
//
// 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_18010A830(__int64 *a1, int a2, _DWORD *a3, _BYTE *a4)
{
__int64 v4; // rax
int v5; // eax
v4 = *a1;
if ( !a3 )
return 31;
if ( a2 != 1 )
{
if ( a2 == 4 )
{
v5 = *(_DWORD *)(v4 + 688);
goto LABEL_6;
}
return 31;
}
v5 = *(_DWORD *)(v4 + 676);
LABEL_6:
*a3 = v5;
if ( a4 )
*a4 = 0;
return 0;
}