//
// EVP_PKEY_get1_tls_encodedpoint from 0xa1a6a0 to 0xa1a6e8 (72 bytes)
//
// 3 xrefs:
// > tls_construct_client_key_exchange @ 0x9b7004
// > tls_construct_server_key_exchange @ 0x9bf740
// > ??> @ 0x76b7c
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 12:07:52 +0000
//
int __fastcall EVP_PKEY_get1_tls_encodedpoint(int a1, int a2)
{
int v2; // r2
int (__fastcall *v3)(int, int, _DWORD, int); // r12
int result; // r0
v2 = *(_DWORD *)(a1 + 12);
if ( !v2 )
return 0;
v3 = *(int (__fastcall **)(int, int, _DWORD, int))(v2 + 92);
if ( !v3 )
return 0;
result = v3(a1, 10, 0, a2);
if ( result <= 0 )
return 0;
return result;
}