//
// GENERAL_NAME_get0_value from 0x856e90 to 0x856ee0 (80 bytes)
//
// 1 xrefs:
// > ??> @ 0x690cc
//
// 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
//
int __fastcall GENERAL_NAME_get0_value(_DWORD *a1, _DWORD *a2)
{
int result; // r0
if ( a2 )
*a2 = *a1;
switch ( *a1 )
{
case 0:
case 1:
case 2:
case 3:
case 4:
case 5:
case 6:
case 7:
case 8:
result = a1[1];
break;
default:
result = 0;
break;
}
return result;
}