//
// SSL_renegotiate from 0xfbe808 to 0xfbe844 (60 bytes)
//
// 5 xrefs:
// > sub_FAD980 @ 0xfadaf0
// > sub_FAD980 @ 0xfadb10
// > sub_FADB1C @ 0xfadc78
// > sub_FADB1C @ 0xfadc98
// > ??> @ 0xbd400
//
// 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:19 +0000
//
__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);
}