// // ERR_print_errors_cb from 0xe5e724 to 0xe5e818 (244 bytes) // // 4 xrefs: // > UI_process @ 0xde3118 // > ERR_print_errors @ 0xe5e824 // > ERR_print_errors_fp @ 0xe5e850 // > @ 0xb5488 // // 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 // size_t __fastcall ERR_print_errors_cb(__int64 (__fastcall *a1)(char *, size_t, __int64), __int64 a2) { pthread_t current_id; // x26 char *v5; // x7 size_t v6; // x0 size_t result; // x0 unsigned int v8; // [xsp+68h] [xbp+68h] BYREF int v9; // [xsp+6Ch] [xbp+6Ch] BYREF __int64 v10; // [xsp+70h] [xbp+70h] BYREF char *v11; // [xsp+78h] [xbp+78h] BYREF char v12[256]; // [xsp+80h] [xbp+80h] BYREF char v13[4096]; // [xsp+180h] [xbp+180h] BYREF current_id = CRYPTO_THREAD_get_current_id(); do { result = ERR_get_error_line_data(&v10, &v8, &v11, &v9); if ( !result ) break; ERR_error_string_n(result, v12, 0x100u); v5 = &byte_F288A0; if ( (v9 & 2) != 0 ) v5 = v11; BIO_snprintf(v13, 0x1000u, "%lu:%s:%s:%d:%s\n", current_id, v12, v10, v8, v5); v6 = strlen(v13); result = a1(v13, v6, a2); } while ( (int)result > 0 ); return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source