// // sub_D61DC0 from 0xd61dc0 to 0xd61ea4 (228 bytes) // // 1 xrefs: // > @ 0x1121960 // // 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 // bool __fastcall sub_D61DC0(__int64 a1, __int64 a2) { __int64 v3; // x0 int v5; // w0 __int64 v6; // x3 _QWORD *v7; // x2 _BOOL8 result; // x0 __int64 v9; // x19 __int64 v10; // x0 v3 = *(_QWORD *)(a1 + 24); if ( !v3 ) { v6 = *(_QWORD *)(a1 + 32); if ( !v6 ) return 1; goto LABEL_3; } v5 = SSL_CTX_use_certificate_chain_file(v3, a2); v6 = *(_QWORD *)(a1 + 32); v7 = *(_QWORD **)(*(_QWORD *)(a1 + 24) + 288LL); if ( v6 ) { LABEL_3: v5 = SSL_use_certificate_chain_file(v6, a2); v7 = *(_QWORD **)(*(_QWORD *)(a1 + 32) + 328LL); } result = v5 > 0; if ( v7 && result ) { result = 1; if ( (*(_DWORD *)a1 & 0x40) != 0 ) { v9 = a1 + 0x6666666666666668LL * ((__int64)(*v7 - (_QWORD)(v7 + 4)) >> 3); CRYPTO_free(*(_QWORD *)(v9 + 48), "ssl/ssl_conf.c", 390); v10 = CRYPTO_strdup(a2, "ssl/ssl_conf.c", 391); *(_QWORD *)(v9 + 48) = v10; return v10 != 0; } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source