//
// SSL_get_privatekey from 0x799654 to 0x799668 (20 bytes)
//
// 2 xrefs:
// > sub_643938 @ 0x6442b2
// > ??> @ 0x5535c
//
// 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 SSL_get_privatekey(int a1)
{
int result; // r0
result = *(_DWORD *)(a1 + 200);
if ( result )
return *(_DWORD *)(*(_DWORD *)result + 4);
return result;
}