// // ERR_get_error from 0x101f23c to 0x101f2e0 (164 bytes) // // 13 xrefs: // > sub_E2AE00 @ 0xe2aeb4 // > sub_E2B320 @ 0xe2b3c8 // > sub_E2DA90 @ 0xe2e0ac // > sub_E2DA90 @ 0xe2e36c // > sub_E2DA90 @ 0xe2e430 // > sub_E2DA90 @ 0xe2e840 // > sub_E2DA90 @ 0xe2e930 // > sub_E2DA90 @ 0xe2ea68 // > sub_E2DA90 @ 0xe2ea90 // > sub_E2EF6C @ 0xe2f00c // > sub_E2F20C @ 0xe2f2b4 // > sub_E2F9C8 @ 0xe2faf4 // > @ 0xfaf30 // // This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True! // // 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 13:16:09 +0000 // __int64 ERR_get_error() { __int64 state; // x0 int v1; // w1 int v2; // w1 __int64 v3; // x21 __int64 v4; // x19 __int64 v5; // x20 state = ERR_get_state(); v1 = *(_DWORD *)(state + 580); if ( v1 == *(_DWORD *)(state + 576) ) return 0; v2 = (v1 + 1) % 16; v3 = state + 8LL * v2; v4 = state + 4LL * v2; v5 = *(_QWORD *)(v3 + 64); *(_DWORD *)(state + 580) = v2; *(_QWORD *)(v3 + 64) = 0; if ( (*(_DWORD *)(v4 + 320) & 1) != 0 ) { CRYPTO_free(*(_QWORD *)(v3 + 192), "crypto/err/err.c", 481); *(_QWORD *)(v3 + 192) = 0; } *(_DWORD *)(v4 + 320) = 0; return v5; }
GD Web Decomp Icon

GD Web Decomp

Raw Source