//
// ssl3_record_sequence_update from 0xfb1dd4 to 0xfb1e70 (156 bytes)
//
// 3 xrefs:
// > do_dtls1_write @ 0xfafa48
// > n_ssl3_mac @ 0xfb2548
// > ??> @ 0xef368
//
// 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:12 +0000
//
_BYTE *__fastcall ssl3_record_sequence_update(_BYTE *result)
{
int v1; // w1
int v2; // w1
int v3; // w1
int v4; // w1
int v5; // w1
int v6; // w1
int v7; // w1
v1 = (unsigned __int8)(result[7] + 1);
result[7] = v1;
if ( !v1 )
{
v2 = (unsigned __int8)(result[6] + 1);
result[6] = v2;
if ( !v2 )
{
v3 = (unsigned __int8)(result[5] + 1);
result[5] = v3;
if ( !v3 )
{
v4 = (unsigned __int8)(result[4] + 1);
result[4] = v4;
if ( !v4 )
{
v5 = (unsigned __int8)(result[3] + 1);
result[3] = v5;
if ( !v5 )
{
v6 = (unsigned __int8)(result[2] + 1);
result[2] = v6;
if ( !v6 )
{
v7 = (unsigned __int8)(result[1] + 1);
result[1] = v7;
if ( !v7 )
++*result;
}
}
}
}
}
}
return result;
}