//
// ERR_set_mark from 0xda15c4 to 0xda1610 (76 bytes)
//
// 5 xrefs:
// > PKCS12_parse @ 0xdca748
// > X509_print_ex @ 0xde5af8
// > sub_DF1EF0 @ 0xdf1f30
// > engine_table_select @ 0xe5e4e0
// > ??> @ 0xb6ee0
//
// 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
//
__int64 ERR_set_mark()
{
__int64 state; // x0
int v1; // w1
state = ERR_get_state();
v1 = *(_DWORD *)(state + 576);
if ( *(_DWORD *)(state + 580) == v1 )
return 0;
*(_DWORD *)(state + 4LL * v1) |= 1u;
return 1;
}