//
// ERR_set_mark from 0x101f924 to 0x101f970 (76 bytes)
//
// 5 xrefs:
// > PKCS12_parse @ 0x1048aa8
// > X509_print_ex @ 0x1063e38
// > sub_1070230 @ 0x1070270
// > engine_table_select @ 0x10dc4e0
// > ??> @ 0xeee28
//
// 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:16:10 +0000
//
__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;
}