// // sub_D82AB0 from 0xd82ab0 to 0xd82c1c (364 bytes) // // 2 xrefs: // > CTLOG_STORE_load_file @ 0xd82d74 // > CTLOG_STORE_load_file @ 0xd82d80 // // 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 sub_D82AB0(__int64 a1, int a2, __int64 a3) { __int64 v4; // x0 __int64 v5; // x20 __int64 v6; // x21 __int64 string; // x0 int v8; // w23 char *v9; // x1 int v10; // w3 int v11; // w4 int v12; // w5 int v13; // w6 int v14; // w7 int v15; // w21 char v17; // [xsp+0h] [xbp+0h] _QWORD *v18; // [xsp+48h] [xbp+48h] BYREF v18 = nullptr; if ( !a1 ) return 1; v4 = CRYPTO_strndup(a1, a2, "crypto/ct/ct_log.c", 167); v5 = v4; if ( !v4 ) { LABEL_14: v15 = -1; CTLOG_free(v18); ERR_put_error(50, 130, 65, "crypto/ct/ct_log.c", 191); return (unsigned int)v15; } v6 = *(_QWORD *)(a3 + 8); string = NCONF_get_string(v6, v4, "description"); v8 = string; if ( !string ) { ERR_put_error(50, 119, 111, "crypto/ct/ct_log.c", 125); LABEL_11: CRYPTO_free(v5, "crypto/ct/ct_log.c", 172); goto LABEL_12; } v9 = (char *)NCONF_get_string(v6, v5, "key"); if ( !v9 ) { ERR_put_error(50, 119, 112, "crypto/ct/ct_log.c", 131); goto LABEL_11; } v15 = CTLOG_new_from_base64((int)&v18, v9, v8, v10, v11, v12, v13, v14, v17); CRYPTO_free(v5, "crypto/ct/ct_log.c", 172); if ( v15 < 0 ) return (unsigned int)v15; if ( v15 ) { if ( (unsigned int)OPENSSL_sk_push(**(_QWORD **)a3, v18) ) return 1; goto LABEL_14; } LABEL_12: ++*(_QWORD *)(a3 + 16); return 1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source