// // ERR_get_error_line_data from 0x7fab48 to 0x7fac60 (280 bytes) // // 2 xrefs: // > ERR_print_errors_cb @ 0x8b4a28 // > @ 0x6294c // // 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 // int __fastcall ERR_get_error_line_data(_DWORD *a1, _DWORD *a2, _DWORD *a3, _DWORD *a4) { int state; // r0 int v9; // r12 int v10; // r12 _DWORD *v11; // r9 bool v12; // zf int v13; // r8 int v14; // r3 int v16; // r3 state = ERR_get_state(); v9 = *(_DWORD *)(state + 388); if ( v9 == *(_DWORD *)(state + 384) ) return 0; v10 = (v9 + 1) % 16; v11 = (_DWORD *)(state + 4 * v10); v12 = a1 == nullptr; if ( a1 ) v12 = a2 == nullptr; v13 = v11[16]; *(_DWORD *)(state + 388) = v10; v11[16] = 0; if ( !v12 ) { v16 = v11[64]; if ( v16 ) { *a1 = v16; *a2 = v11[80]; } else { *a1 = "NA"; *a2 = 0; } } if ( a3 ) { v14 = v11[32]; if ( v14 ) { *a3 = v14; if ( !a4 ) return v13; v14 = v11[48]; } else { *a3 = &byte_9B1912; if ( !a4 ) return v13; } *a4 = v14; return v13; } if ( (v11[48] & 1) != 0 ) { CRYPTO_free(v11[32], "crypto/err/err.c", 481); v11[32] = 0; } v11[48] = 0; return v13; }
GD Web Decomp Icon

GD Web Decomp

Raw Source