//
// ssl3_renegotiate from 0x9a3608 to 0x9a3640 (56 bytes)
//
// 25 xrefs:
// > dtls1_read_bytes @ 0x99c434
// > ssl3_read_bytes @ 0x99e7f4
// > ??> @ 0x73d1c
// > ??> @ 0xd15598
// > ??> @ 0xd1560c
// > ??> @ 0xd15680
// > ??> @ 0xd156f4
// > ??> @ 0xd15768
// > ??> @ 0xd157dc
// > ??> @ 0xd15850
// > ??> @ 0xd158c4
// > ??> @ 0xd15938
// > ??> @ 0xd159ac
// > ??> @ 0xd15a20
// > ??> @ 0xd15a94
// > ??> @ 0xd15b08
// > ??> @ 0xd15b7c
// > ??> @ 0xd15bf0
// > ??> @ 0xd15c64
// > ??> @ 0xd15cd8
// > ??> @ 0xd15d4c
// > ??> @ 0xd15dc0
// > ??> @ 0xd15e34
// > ??> @ 0xd15ea8
// > ??> @ 0xd15f1c
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 12:06:49 +0000
//
int __fastcall ssl3_renegotiate(int a1)
{
_DWORD *v1; // r3
if ( !*(_DWORD *)(a1 + 24) )
return 1;
v1 = *(_DWORD **)(a1 + 104);
if ( (*v1 & 1) != 0 )
return 0;
v1[60] = 1;
return 1;
}