//
// sub_785A1C from 0x785a1c to 0x785a5c (64 bytes)
//
// 1 xrefs:
// > ??> @ 0xa2ee94
//
// 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 sub_785A1C(int a1, int a2, int a3, int a4)
{
int v6; // r0
v6 = *(_DWORD *)BIO_get_data();
if ( a2 != 14 )
return BIO_callback_ctrl(*(_DWORD *)(v6 + 8), a2, a3, a4);
SSL_set_info_callback(v6, a3);
return 1;
}