// // ERR_get_error_line from 0x7faff8 to 0x7fb0cc (212 bytes) // // 1 xrefs: // > @ 0x6296c // // 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(_DWORD *a1, _DWORD *a2) { int state; // r0 int v5; // r3 int v6; // r3 _DWORD *v7; // r4 bool v8; // zf int v9; // r7 int v11; // r3 state = ERR_get_state(); v5 = *(_DWORD *)(state + 388); if ( v5 != *(_DWORD *)(state + 384) ) { v6 = (v5 + 1) % 16; v7 = (_DWORD *)(state + 4 * v6); v8 = a1 == nullptr; if ( a1 ) v8 = a2 == nullptr; v9 = v7[16]; *(_DWORD *)(state + 388) = v6; v7[16] = 0; if ( !v8 ) { v11 = v7[64]; if ( v11 ) { *a1 = v11; *a2 = v7[80]; if ( (v7[48] & 1) != 0 ) goto LABEL_10; goto LABEL_7; } *a1 = "NA"; *a2 = 0; } if ( (v7[48] & 1) != 0 ) { LABEL_10: CRYPTO_free(v7[32], "crypto/err/err.c", 481); v7[32] = 0; } LABEL_7: v7[48] = 0; return v9; } return 0; }
GD Web Decomp Icon

GD Web Decomp

Raw Source