// // CTLOG_STORE_load_file from 0x9efe1c to 0x9eff98 (380 bytes) // // 4 xrefs: // > SSL_CTX_set_ctlog_list_file @ 0x9b0118 // > CTLOG_STORE_load_default_file @ 0x9effd8 // > CTLOG_STORE_load_default_file @ 0x9effec // > @ 0x761fc // // 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:29 +0000 // int __fastcall CTLOG_STORE_load_file(int a1) { _DWORD *v2; // r4 int v3; // r0 int v4; // r3 int v5; // r5 const char *string; // r0 v2 = (_DWORD *)CRYPTO_zalloc(12, "crypto/ct/ct_log.c", 59); if ( !v2 ) ERR_put_error(50, 122, 65, "crypto/ct/ct_log.c", 62); *v2 = a1; v3 = NCONF_new(0); v4 = v3; v2[1] = v3; if ( v3 ) { if ( NCONF_load(v3) <= 0 ) { ERR_put_error(50, 123, 109, "crypto/ct/ct_log.c", 207); v5 = 0; v4 = v2[1]; } else { string = (const char *)NCONF_get_string(v2[1], 0, "enabled_logs"); v5 = (int)string; if ( string ) { if ( CONF_parse_list(string, 44, 1, (int (__fastcall *)(const char *, int, int))sub_9EFBE0, (int)v2) && !v2[2] ) { v4 = v2[1]; v5 = 1; } else { ERR_put_error(50, 123, 109, "crypto/ct/ct_log.c", 219); v4 = v2[1]; v5 = 0; } } else { ERR_put_error(50, 123, 109, "crypto/ct/ct_log.c", 213); v4 = v2[1]; } } } else { v5 = 0; } NCONF_free(v4); CRYPTO_free(v2, "crypto/ct/ct_log.c", 69); return v5; }