{"type": "func", "start": 16802592, "end": 16802664, "name": "DH_up_ref", "pseudocode": "// \n// DH_up_ref from 0x1006320 to 0x1006368 (72 bytes)\n// \n// 3 xrefs:\n// > EVP_PKEY_set1_DH @ 0x102aa38\n// > EVP_PKEY_get1_DH @ 0x102aab0\n// > <???> @ 0x48a18\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:15:56 +0000\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 0x1006320 to 0x1006368 (72 bytes)\n; \n; 3 xrefs:\n; > EVP_PKEY_set1_DH @ 0x102aa38\n; > EVP_PKEY_get1_DH @ 0x102aab0\n; > <???> @ 0x48a18\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:15:56 +0000\n; \nMOV             X3, X0                                                 ; +0x0, 0x1006320\nMOV             W1, #1                                                 ; +0x4, 0x1006324\nSTP             X29, X30, [SP,#var_20]!                                ; +0x8, 0x1006328\nADD             X0, X0, #0x68 ; 'h'                                    ; +0xc, 0x100632c\nMOV             X29, SP                                                ; +0x10, 0x1006330\nLDR             X3, [X3,#0x88]                                         ; +0x14, 0x1006334\nADD             X2, X29, #0x20+var_4                                   ; +0x18, 0x1006338\nBL              CRYPTO_atomic_add                                      ; +0x1c, 0x100633c\nCMP             W0, WZR                                                ; +0x20, 0x1006340\nB.LE            loc_100635C                                            ; +0x24, 0x1006344\nLDR             W0, [X29,#0x20+var_4]                                  ; +0x28, 0x1006348\nLDP             X29, X30, [SP+0x20+var_20],#0x20                       ; +0x2c, 0x100634c\nCMP             W0, #1                                                 ; +0x30, 0x1006350\nCSET            W0, GT                                                 ; +0x34, 0x1006354\nRET                                                                    ; +0x38, 0x1006358\nMOV             W0, #0                                                 ; +0x3c, 0x100635c\nLDP             X29, X30, [SP+0x20+var_20],#0x20                       ; +0x40, 0x1006360\nRET                                                                    ; +0x44, 0x1006364", "xrefs": ["EVP_PKEY_set1_DH @ 0x102aa38", "EVP_PKEY_get1_DH @ 0x102aab0", "<???> @ 0x48a18"], "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"}