//
// SSL_callback_ctrl from 0xd4089c to 0xd408d4 (56 bytes)
//
// 4 xrefs:
// > SSL_set_tmp_dh_callback @ 0xd4276c
// > SSL_set_msg_callback @ 0xd42998
// > SSL_set_not_resumable_session_callback @ 0xd429b0
// > ??> @ 0xa5a08
//
// 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_callback_ctrl(__int64 a1, int a2, __int64 a3)
{
if ( a2 != 15 )
return (*(__int64 (**)(void))(*(_QWORD *)(a1 + 8) + 208LL))();
*(_QWORD *)(a1 + 160) = a3;
return 1;
}