// // ERR_peek_error_line from 0xda1024 to 0xda10e0 (188 bytes) // // 1 xrefs: // > @ 0x7c218 // // 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_peek_error_line(_QWORD *a1, _DWORD *a2) { __int64 state; // x0 int v4; // w2 __int64 v5; // x3 __int64 v6; // x2 __int64 v7; // x0 __int64 v8; // x4 __int64 v9; // x5 __int64 result; // x0 state = ERR_get_state(); v4 = *(_DWORD *)(state + 580); v5 = state; if ( v4 == *(_DWORD *)(state + 576) ) return 0; v6 = (v4 + 1) % 16; v7 = state + 8 * v6; v8 = *(_QWORD *)(v7 + 64); if ( !a1 || !a2 ) return *(_QWORD *)(v7 + 64); v9 = *(_QWORD *)(v7 + 384); if ( v9 ) { *a1 = v9; *a2 = *(_DWORD *)(v5 + 4 * (v6 + 128)); return v8; } else { result = *(_QWORD *)(v7 + 64); *a1 = "NA"; *a2 = 0; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source