//
// GENERAL_NAME_get0_value from 0xdfd974 to 0xdfd9b4 (64 bytes)
//
// 1 xrefs:
// > ??> @ 0x7ed38
//
// 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 GENERAL_NAME_get0_value(__int64 a1, _DWORD *a2)
{
__int64 result; // x0
if ( a2 )
*a2 = *(_DWORD *)a1;
result = 0;
switch ( *(_DWORD *)a1 )
{
case 0:
case 1:
case 2:
case 3:
case 4:
case 5:
case 6:
case 7:
case 8:
result = *(_QWORD *)(a1 + 8);
break;
default:
return result;
}
return result;
}