//
// SSL_use_psk_identity_hint from 0xfc0ba8 to 0xfc0c90 (232 bytes)
//
// 1 xrefs:
// > ??> @ 0x1034c8
//
// 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:15:21 +0000
//
bool __fastcall SSL_use_psk_identity_hint(__int64 a1, char *a2)
{
__int64 v4; // x22
__int64 v5; // x0
__int64 v6; // x1
if ( !a1 )
return 0;
if ( a2 )
{
if ( strlen(a2) <= 0x80 )
{
CRYPTO_free(*(_QWORD *)(*(_QWORD *)(a1 + 328) + 464LL), "ssl/ssl_lib.c", 3608);
v4 = *(_QWORD *)(a1 + 328);
v5 = CRYPTO_strdup(a2, "ssl/ssl_lib.c", 3610);
v6 = *(_QWORD *)(a1 + 328);
*(_QWORD *)(v4 + 464) = v5;
return *(_QWORD *)(v6 + 464) != 0;
}
ERR_put_error(20, 273, 146, "ssl/ssl_lib.c", 3605);
return 0;
}
CRYPTO_free(*(_QWORD *)(*(_QWORD *)(a1 + 328) + 464LL), "ssl/ssl_lib.c", 3608);
*(_QWORD *)(*(_QWORD *)(a1 + 328) + 464LL) = a2;
return 1;
}