{"type": "func", "start": 14188480, "end": 14188552, "name": "DH_up_ref", "pseudocode": "// \n// DH_up_ref from 0xd87fc0 to 0xd88008 (72 bytes)\n// \n// 3 xrefs:\n// > EVP_PKEY_set1_DH @ 0xdac6d8\n// > EVP_PKEY_get1_DH @ 0xdac750\n// > <???> @ 0x30c30\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\nbool __fastcall DH_up_ref(__int64 a1)\n{\n  int v2; // [xsp+1Ch] [xbp+1Ch] BYREF\n\n  return (int)CRYPTO_atomic_add(a1 + 104, 1, &v2, *(_QWORD *)(a1 + 136)) > 0 && v2 > 1;\n}", "assembly": "; \n; DH_up_ref from 0xd87fc0 to 0xd88008 (72 bytes)\n; \n; 3 xrefs:\n; > EVP_PKEY_set1_DH @ 0xdac6d8\n; > EVP_PKEY_get1_DH @ 0xdac750\n; > <???> @ 0x30c30\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\nMOV             X3, X0                                                 ; +0x0, 0xd87fc0\nMOV             W1, #1                                                 ; +0x4, 0xd87fc4\nSTP             X29, X30, [SP,#var_20]!                                ; +0x8, 0xd87fc8\nADD             X0, X0, #0x68 ; 'h'                                    ; +0xc, 0xd87fcc\nMOV             X29, SP                                                ; +0x10, 0xd87fd0\nLDR             X3, [X3,#0x88]                                         ; +0x14, 0xd87fd4\nADD             X2, X29, #0x20+var_4                                   ; +0x18, 0xd87fd8\nBL              CRYPTO_atomic_add                                      ; +0x1c, 0xd87fdc\nCMP             W0, WZR                                                ; +0x20, 0xd87fe0\nB.LE            loc_D87FFC                                             ; +0x24, 0xd87fe4\nLDR             W0, [X29,#0x20+var_4]                                  ; +0x28, 0xd87fe8\nLDP             X29, X30, [SP+0x20+var_20],#0x20                       ; +0x2c, 0xd87fec\nCMP             W0, #1                                                 ; +0x30, 0xd87ff0\nCSET            W0, GT                                                 ; +0x34, 0xd87ff4\nRET                                                                    ; +0x38, 0xd87ff8\nMOV             W0, #0                                                 ; +0x3c, 0xd87ffc\nLDP             X29, X30, [SP+0x20+var_20],#0x20                       ; +0x40, 0xd88000\nRET                                                                    ; +0x44, 0xd88004", "xrefs": ["EVP_PKEY_set1_DH @ 0xdac6d8", "EVP_PKEY_get1_DH @ 0xdac750", "<???> @ 0x30c30"], "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"}