// // SSL_COMP_add_compression_method from 0xd3e160 to 0xd3e2f8 (408 bytes) // // 1 xrefs: // > @ 0xc6270 // // 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 SSL_COMP_add_compression_method(int a1, __int64 a2) { __int64 v4; // x0 __int64 v5; // x21 if ( a2 && (unsigned int)COMP_get_type(a2) ) { if ( (unsigned int)(a1 - 193) > 0x3E ) { ERR_put_error(20, 165, 307, "ssl/ssl_ciph.c", 1829); return 0; } CRYPTO_mem_ctrl(3); v4 = CRYPTO_malloc(24, "ssl/ssl_ciph.c", 1834); v5 = v4; if ( !v4 ) { CRYPTO_mem_ctrl(2); ERR_put_error(20, 165, 65, "ssl/ssl_ciph.c", 1837); return 1; } *(_DWORD *)v4 = a1; *(_QWORD *)(v4 + 16) = a2; CRYPTO_THREAD_run_once(algn_125D4C8, sub_D3BB18); if ( qword_125D370 ) { if ( (OPENSSL_sk_find(qword_125D370, v5) & 0x80000000) == 0 ) { CRYPTO_free(v5, "ssl/ssl_ciph.c", 1845); CRYPTO_mem_ctrl(2); ERR_put_error(20, 165, 309, "ssl/ssl_ciph.c", 1848); return 1; } if ( qword_125D370 && (unsigned int)OPENSSL_sk_push(qword_125D370, v5) ) { CRYPTO_mem_ctrl(2); return 0; } } CRYPTO_free(v5, "ssl/ssl_ciph.c", 1852); CRYPTO_mem_ctrl(2); ERR_put_error(20, 165, 65, "ssl/ssl_ciph.c", 1854); } return 1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source