{"type": "func", "start": 8410896, "end": 8410940, "name": "EVP_PKEY_set1_DH", "pseudocode": "// \n// EVP_PKEY_set1_DH from 0x805710 to 0x80573c (44 bytes)\n// \n// 2 xrefs:\n// > ssl_dh_to_pkey @ 0x78f2d8\n// > <???> @ 0x5aefc\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_set1_DH(_DWORD *a1, int a2)\n{\n  int v3; // r5\n\n  v3 = EVP_PKEY_assign(a1, 28, a2);\n  if ( v3 )\n    DH_up_ref(a2);\n  return v3;\n}", "assembly": "; \n; EVP_PKEY_set1_DH from 0x805710 to 0x80573c (44 bytes)\n; \n; 2 xrefs:\n; > ssl_dh_to_pkey @ 0x78f2d8\n; > <???> @ 0x5aefc\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\nPUSH            {R3-R5,LR}                                             ; +0x0, 0x805710\nMOV             R2, R1                                                 ; +0x4, 0x805714\nMOV             R4, R1                                                 ; +0x8, 0x805718\nMOV             R1, #0x1C                                              ; +0xc, 0x80571c\nBL              EVP_PKEY_assign                                        ; +0x10, 0x805720\nSUBS            R5, R0, #0                                             ; +0x14, 0x805724\nBEQ             loc_805734                                             ; +0x18, 0x805728\nMOV             R0, R4                                                 ; +0x1c, 0x80572c\nBL              DH_up_ref                                              ; +0x20, 0x805730\nMOV             R0, R5                                                 ; +0x24, 0x805734\nPOP             {R3-R5,PC}                                             ; +0x28, 0x805738", "xrefs": ["ssl_dh_to_pkey @ 0x78f2d8", "<???> @ 0x5aefc"], "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"}