// // ERR_get_error_line_data from 0xda090c to 0xda0a4c (320 bytes) // // 2 xrefs: // > ERR_print_errors_cb @ 0xe5e7e4 // > @ 0x98ad8 // // 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 __fastcall ERR_get_error_line_data(_QWORD *a1, _DWORD *a2, _QWORD *a3, _DWORD *a4) { __int64 state; // x0 int v7; // w4 __int64 v8; // x6 int v9; // w4 _QWORD *v10; // x21 __int64 v11; // x19 __int64 v12; // x2 __int64 v13; // x0 __int64 v15; // x20 state = ERR_get_state(); v7 = *(_DWORD *)(state + 580); v8 = state; if ( v7 == *(_DWORD *)(state + 576) ) return 0; v9 = (v7 + 1) % 16; v10 = (_QWORD *)(state + 8LL * v9); v11 = v10[8]; *(_DWORD *)(state + 580) = v9; v10[8] = 0; if ( a1 && a2 ) { v12 = v10[48]; if ( v12 ) { *a1 = v12; *a2 = *(_DWORD *)(state + 4 * (v9 + 128LL)); } else { *a1 = "NA"; *a2 = 0; } } if ( a3 ) { v13 = v10[24]; if ( v13 ) { *a3 = v13; if ( a4 ) { *a4 = *(_DWORD *)(v8 + 4 * (v9 + 80LL)); return v11; } return v11; } *a3 = &byte_F288A0; if ( !a4 ) return v11; *a4 = 0; return v11; } else { v15 = state + 4LL * v9; if ( (*(_DWORD *)(v15 + 320) & 1) != 0 ) { CRYPTO_free(v10[24], "crypto/err/err.c", 481); v10[24] = 0; } *(_DWORD *)(v15 + 320) = 0; return v11; } }
GD Web Decomp Icon

GD Web Decomp

Raw Source