//
// SSL_renegotiate from 0xd404b4 to 0xd404f0 (60 bytes)
//
// 5 xrefs:
// > sub_D2F62C @ 0xd2f79c
// > sub_D2F62C @ 0xd2f7bc
// > sub_D2F7C8 @ 0xd2f924
// > sub_D2F7C8 @ 0xd2f944
// > ??> @ 0x8f070
//
// 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_renegotiate(__int64 a1)
{
__int64 v1; // x2
if ( !*(_DWORD *)(a1 + 788) )
*(_DWORD *)(a1 + 788) = 1;
v1 = *(_QWORD *)(a1 + 8);
*(_DWORD *)(a1 + 60) = 1;
return (*(__int64 (__fastcall **)(__int64))(v1 + 88))(a1);
}