// // ERR_print_errors_cb from 0x8b4970 to 0x8b4a48 (216 bytes) // // 4 xrefs: // > UI_process @ 0x83b1b0 // > ERR_print_errors @ 0x8b4a5c // > ERR_print_errors_fp @ 0x8b4a84 // > @ 0x6695c // // 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 // signed int __fastcall ERR_print_errors_cb(int (__fastcall *a1)(char *, size_t, int), int a2) { char *v4; // r3 size_t v5; // r0 signed int result; // r0 pthread_t current_id; // [sp+14h] [bp-1120h] int v8; // [sp+20h] [bp-1114h] BYREF char *v9; // [sp+24h] [bp-1110h] BYREF int v10; // [sp+28h] [bp-110Ch] BYREF int v11; // [sp+2Ch] [bp-1108h] BYREF char v12[256]; // [sp+30h] [bp-1104h] BYREF char v13[4100]; // [sp+130h] [bp-1004h] BYREF current_id = CRYPTO_THREAD_get_current_id(); do { result = ERR_get_error_line_data(&v8, &v10, &v9, &v11); if ( !result ) break; ERR_error_string_n(result, v12, 0x100u); v4 = &byte_9B1912; if ( (v11 & 2) != 0 ) v4 = v9; BIO_snprintf(v13, 0x1000u, "%lu:%s:%s:%d:%s\n", current_id, v12, v8, v10, v4); v5 = strlen(v13); result = a1(v13, v5, a2); } while ( result > 0 ); return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source