{"type": "func", "start": 16951884, "end": 16951960, "name": "EVP_PKEY_get0_DH", "pseudocode": "// \n// EVP_PKEY_get0_DH from 0x102aa4c to 0x102aa98 (76 bytes)\n// \n// 6 xrefs:\n// > sub_E2B824 @ 0xe2c264\n// > tls_construct_client_key_exchange @ 0xfc8d08\n// > tls_construct_server_key_exchange @ 0xfd073c\n// > tls_process_client_key_exchange @ 0xfd1624\n// > EVP_PKEY_get1_DH @ 0x102aaa4\n// > <???> @ 0x84a90\n// \n// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 13:16:16 +0000\n// \n\n__int64 __fastcall EVP_PKEY_get0_DH(__int64 a1)\n{\n  if ( *(_DWORD *)a1 == 920 || *(_DWORD *)a1 == 28 )\n    return *(_QWORD *)(a1 + 32);\n  ERR_put_error(6, 119, 128, (__int64)\"crypto/evp/p_lib.c\", 347);\n  return 0;\n}", "assembly": "; \n; EVP_PKEY_get0_DH from 0x102aa4c to 0x102aa98 (76 bytes)\n; \n; 6 xrefs:\n; > sub_E2B824 @ 0xe2c264\n; > tls_construct_client_key_exchange @ 0xfc8d08\n; > tls_construct_server_key_exchange @ 0xfd073c\n; > tls_process_client_key_exchange @ 0xfd1624\n; > EVP_PKEY_get1_DH @ 0x102aaa4\n; > <???> @ 0x84a90\n; \n; This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 13:16:16 +0000\n; \nSTP             X29, X30, [SP,#-0x10+var_s0]!                          ; +0x0, 0x102aa4c\nMOV             X29, SP                                                ; +0x4, 0x102aa50\nLDR             W1, [X0]                                               ; +0x8, 0x102aa54\nCMP             W1, #0x398                                             ; +0xc, 0x102aa58\nB.EQ            loc_102AA68                                            ; +0x10, 0x102aa5c\nCMP             W1, #0x1C                                              ; +0x14, 0x102aa60\nB.NE            loc_102AA74                                            ; +0x18, 0x102aa64\nLDR             X0, [X0,#0x20]                                         ; +0x1c, 0x102aa68\nLDP             X29, X30, [SP+var_s0],#0x10                            ; +0x20, 0x102aa6c\nRET                                                                    ; +0x24, 0x102aa70\nADRP            X3, #aCryptoEvpPLibC@PAGE; \"crypto/evp/p_lib.c\"        ; +0x28, 0x102aa74\nMOV             W0, #6                                                 ; +0x2c, 0x102aa78\nMOV             W1, #0x77 ; 'w'                                        ; +0x30, 0x102aa7c\nMOV             W2, #0x80                                              ; +0x34, 0x102aa80\nADD             X3, X3, #aCryptoEvpPLibC@PAGEOFF; \"crypto/evp/p_lib.c\" ; +0x38, 0x102aa84\nMOV             W4, #0x15B                                             ; +0x3c, 0x102aa88\nBL              ERR_put_error                                          ; +0x40, 0x102aa8c\nMOV             X0, #0                                                 ; +0x44, 0x102aa90\nB               loc_102AA6C                                            ; +0x48, 0x102aa94", "xrefs": ["sub_E2B824 @ 0xe2c264", "tls_construct_client_key_exchange @ 0xfc8d08", "tls_construct_server_key_exchange @ 0xfd073c", "tls_process_client_key_exchange @ 0xfd1624", "EVP_PKEY_get1_DH @ 0x102aaa4", "<???> @ 0x84a90"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "arm", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}