//
// SSL_get_privatekey from 0xd42108 to 0xd4211c (20 bytes)
//
// 2 xrefs:
// > sub_BB78D0 @ 0xbb85c8
// > ??> @ 0xc2268
//
// 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 SSL_get_privatekey(__int64 a1)
{
__int64 result; // x0
result = *(_QWORD *)(a1 + 328);
if ( result )
return *(_QWORD *)(*(_QWORD *)result + 8LL);
return result;
}