// // ERR_peek_last_error_line from 0xa0fdc4 to 0xa0fe40 (124 bytes) // // 1 xrefs: // > @ 0x7c3fc // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings // Generated at Fri, 27 Nov 2026 12:07:45 +0000 // int __fastcall ERR_peek_last_error_line(_DWORD *a1, _DWORD *a2) { int state; // r0 int v5; // r2 _DWORD *v6; // r3 bool v7; // zf int v8; // r2 int v9; // r1 int result; // r0 state = ERR_get_state(); v5 = *(_DWORD *)(state + 384); if ( *(_DWORD *)(state + 388) == v5 ) return 0; v6 = (_DWORD *)(state + 4 * v5); v7 = a1 == nullptr; if ( a1 ) v7 = a2 == nullptr; v8 = v6[16]; if ( v7 ) return v6[16]; v9 = v6[64]; if ( v9 ) { *a1 = v9; *a2 = v6[80]; return v8; } else { result = v6[16]; *a1 = "NA"; *a2 = 0; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source