{"type": "func", "start": 8410940, "end": 8411016, "name": "EVP_PKEY_get0_DH", "pseudocode": "// \n// EVP_PKEY_get0_DH from 0x80573c to 0x805788 (76 bytes)\n// \n// 6 xrefs:\n// > sub_64231C @ 0x642a00\n// > tls_construct_client_key_exchange @ 0x7a25d0\n// > tls_construct_server_key_exchange @ 0x7aa904\n// > tls_process_client_key_exchange @ 0x7ab8c4\n// > EVP_PKEY_get1_DH @ 0x805794\n// > <???> @ 0x54e7c\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\nint __fastcall EVP_PKEY_get0_DH(_DWORD *a1)\n{\n  bool v1; // zf\n\n  v1 = *a1 == 920;\n  if ( *a1 != 920 )\n    v1 = *a1 == 28;\n  if ( v1 )\n    return a1[5];\n  ERR_put_error(6, 119, 128, (int)\"crypto/evp/p_lib.c\", 347);\n  return 0;\n}", "assembly": "; \n; EVP_PKEY_get0_DH from 0x80573c to 0x805788 (76 bytes)\n; \n; 6 xrefs:\n; > sub_64231C @ 0x642a00\n; > tls_construct_client_key_exchange @ 0x7a25d0\n; > tls_construct_server_key_exchange @ 0x7aa904\n; > tls_process_client_key_exchange @ 0x7ab8c4\n; > EVP_PKEY_get1_DH @ 0x805794\n; > <???> @ 0x54e7c\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\nLDR             R3, [R0]                                               ; +0x0, 0x80573c\nCMP             R3, #0x398                                             ; +0x4, 0x805740\nCMPNE           R3, #0x1C                                              ; +0x8, 0x805744\nBNE             loc_805754                                             ; +0xc, 0x805748\nLDR             R0, [R0,#0x14]                                         ; +0x10, 0x80574c\nBX              LR                                                     ; +0x14, 0x805750\nPUSH            {LR}                                                   ; +0x18, 0x805754\nLDR             R3, =0x15B                                             ; +0x1c, 0x805758\nSUB             SP, SP, #0xC                                           ; +0x20, 0x80575c\nSTR             R3, [SP,#0x10+var_10]                                  ; +0x24, 0x805760\nLDR             R3, =(aCryptoEvpPLibC - 0x80577C); \"crypto/evp/p_lib.c\" ; +0x28, 0x805764\nMOV             R0, #6                                                 ; +0x2c, 0x805768\nMOV             R1, #0x77 ; 'w'                                        ; +0x30, 0x80576c\nMOV             R2, #0x80                                              ; +0x34, 0x805770\nADD             R3, PC, R3; \"crypto/evp/p_lib.c\"                       ; +0x38, 0x805774\nBL              ERR_put_error                                          ; +0x3c, 0x805778\nMOV             R0, #0                                                 ; +0x40, 0x80577c\nADD             SP, SP, #0xC                                           ; +0x44, 0x805780\nPOP             {PC}                                                   ; +0x48, 0x805784", "xrefs": ["sub_64231C @ 0x642a00", "tls_construct_client_key_exchange @ 0x7a25d0", "tls_construct_server_key_exchange @ 0x7aa904", "tls_process_client_key_exchange @ 0x7ab8c4", "EVP_PKEY_get1_DH @ 0x805794", "<???> @ 0x54e7c"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}