//
// SSL_CTX_callback_ctrl from 0x797fa0 to 0x797fc4 (36 bytes)
//
// 4 xrefs:
// > SSL_CTX_set_tmp_dh_callback @ 0x799c40
// > SSL_CTX_set_msg_callback @ 0x799e78
// > SSL_CTX_set_not_resumable_session_callback @ 0x799e90
// > ??> @ 0x5bd6c
//
// 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_CTX_callback_ctrl(_DWORD *a1, int a2, int a3)
{
if ( a2 != 15 )
return (*(int (__fastcall **)(_DWORD *))(*a1 + 112))(a1);
a1[46] = a3;
return 1;
}