//
// ossl_statem_set_in_handshake from 0x79f848 to 0x79f860 (24 bytes)
//
// 5 xrefs:
// > ssl3_read @ 0x78ebbc
// > ssl3_read @ 0x78ebf0
// > ssl3_peek @ 0x78ec9c
// > ssl3_peek @ 0x78ecd0
// > ??> @ 0x5adbc
//
// 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 ossl_statem_set_in_handshake(int result, int a2)
{
int v2; // r3
int v3; // r3
v2 = *(_DWORD *)(result + 76);
if ( a2 )
v3 = v2 + 1;
else
v3 = v2 - 1;
*(_DWORD *)(result + 76) = v3;
return result;
}