//
// SSL_get_certificate from 0x799640 to 0x799654 (20 bytes)
//
// 2 xrefs:
// > sub_643938 @ 0x6442a2
// > ??> @ 0x5534c
//
// 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_certificate(int a1)
{
int result; // r0
result = *(_DWORD *)(a1 + 200);
if ( result )
return **(_DWORD **)result;
return result;
}