//
// ossl_statem_set_in_handshake from 0xfc636c to 0xfc6390 (36 bytes)
//
// 5 xrefs:
// > ssl3_read @ 0xfb6638
// > ssl3_read @ 0xfb666c
// > ssl3_peek @ 0xfb6724
// > ssl3_peek @ 0xfb6758
// > ??> @ 0xe8dc8
//
// 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:24 +0000
//
__int64 __fastcall ossl_statem_set_in_handshake(__int64 result, int a2)
{
int v2; // w1
if ( a2 )
v2 = *(_DWORD *)(result + 104) + 1;
else
v2 = *(_DWORD *)(result + 104) - 1;
*(_DWORD *)(result + 104) = v2;
return result;
}