// // ERR_pop_to_mark from 0xda1610 to 0xda1700 (240 bytes) // // 6 xrefs: // > PKCS12_parse @ 0xdca76c // > PKCS12_parse @ 0xdca808 // > X509_print_ex @ 0xde5b08 // > sub_DF1EF0 @ 0xdf1f4c // > engine_table_select @ 0xe5e578 // > @ 0x88950 // // 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_pop_to_mark() { __int64 state; // x19 int v1; // w0 int v2; // w8 __int64 v3; // x3 __int64 v4; // x2 __int64 v5; // x5 int v6; // w4 state = ERR_get_state(); v1 = *(_DWORD *)(state + 576); v2 = *(_DWORD *)(state + 580); while ( 1 ) { v4 = v1; v5 = state + 8LL * v1; if ( v2 == v1 ) break; v6 = *(_DWORD *)(state + 4LL * v1); if ( (v6 & 1) != 0 ) { *(_DWORD *)(state + 4LL * v1) = v6 & 0xFFFFFFFE; return 1; } *(_DWORD *)(state + 4LL * v1) = 0; *(_QWORD *)(v5 + 64) = 0; if ( (*(_DWORD *)(state + 4LL * v1 + 320) & 1) != 0 ) { CRYPTO_free(*(_QWORD *)(v5 + 192), "crypto/err/err.c", 759); v1 = *(_DWORD *)(state + 576); v2 = *(_DWORD *)(state + 580); v4 = v1; *(_QWORD *)(state + 8 * (v1 + 24LL)) = 0; } v3 = state + 4 * v4; --v1; *(_DWORD *)(v3 + 320) = 0; *(_QWORD *)(state + 8 * (v4 + 48)) = 0; *(_DWORD *)(v3 + 512) = -1; *(_DWORD *)(state + 576) = v1; if ( v1 == -1 ) { *(_DWORD *)(state + 576) = 15; v1 = 15; } } return 0; }
GD Web Decomp Icon

GD Web Decomp

Raw Source