//
// SSL_CTX_use_psk_identity_hint from 0xfc0ac4 to 0xfc0ba8 (228 bytes)
//
// 1 xrefs:
// > ??> @ 0x8b378
//
// 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_CTX_use_psk_identity_hint(__int64 a1, char *a2)
{
__int64 v4; // x22
__int64 v5; // x0
__int64 v6; // x1
if ( a2 )
{
if ( strlen(a2) > 0x80 )
{
ERR_put_error(20, 272, 146, "ssl/ssl_lib.c", 3586);
return 0;
}
else
{
CRYPTO_free(*(_QWORD *)(*(_QWORD *)(a1 + 288) + 464LL), "ssl/ssl_lib.c", 3589);
v4 = *(_QWORD *)(a1 + 288);
v5 = CRYPTO_strdup(a2, "ssl/ssl_lib.c", 3591);
v6 = *(_QWORD *)(a1 + 288);
*(_QWORD *)(v4 + 464) = v5;
return *(_QWORD *)(v6 + 464) != 0;
}
}
else
{
CRYPTO_free(*(_QWORD *)(*(_QWORD *)(a1 + 288) + 464LL), "ssl/ssl_lib.c", 3589);
*(_QWORD *)(*(_QWORD *)(a1 + 288) + 464LL) = 0;
return 1;
}
}