//
// GENERAL_NAME_get0_value from 0x107bcb4 to 0x107bcf4 (64 bytes)
//
// 1 xrefs:
// > ??> @ 0xa9018
//
// 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 13:17:07 +0000
//
__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;
}