{"type": "func", "start": 8259472, "end": 8259540, "name": "DH_up_ref", "pseudocode": "// \n// DH_up_ref from 0x7e0790 to 0x7e07d4 (68 bytes)\n// \n// 3 xrefs:\n// > EVP_PKEY_set1_DH @ 0x805730\n// > EVP_PKEY_get1_DH @ 0x8057a0\n// > <???> @ 0x60b3c\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(int a1)\n{\n  int v2; // [sp+4h] [bp-8h] BYREF\n\n  return CRYPTO_atomic_add(a1 + 56, 1, &v2, *(_DWORD *)(a1 + 72)) > 0 && v2 > 1;\n}", "assembly": "; \n; DH_up_ref from 0x7e0790 to 0x7e07d4 (68 bytes)\n; \n; 3 xrefs:\n; > EVP_PKEY_set1_DH @ 0x805730\n; > EVP_PKEY_get1_DH @ 0x8057a0\n; > <???> @ 0x60b3c\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            {LR}                                                   ; +0x0, 0x7e0790\nMOV             R3, R0                                                 ; +0x4, 0x7e0794\nSUB             SP, SP, #0xC                                           ; +0x8, 0x7e0798\nADD             R0, R0, #0x38 ; '8'                                    ; +0xc, 0x7e079c\nLDR             R3, [R3,#0x48]                                         ; +0x10, 0x7e07a0\nMOV             R1, #1                                                 ; +0x14, 0x7e07a4\nADD             R2, SP, #0xC+var_8                                     ; +0x18, 0x7e07a8\nBL              CRYPTO_atomic_add                                      ; +0x1c, 0x7e07ac\nCMP             R0, #0                                                 ; +0x20, 0x7e07b0\nMOVLE           R0, #0                                                 ; +0x24, 0x7e07b4\nBLE             loc_7E07CC                                             ; +0x28, 0x7e07b8\nLDR             R0, [SP,#0xC+var_8]                                    ; +0x2c, 0x7e07bc\nCMP             R0, #1                                                 ; +0x30, 0x7e07c0\nMOVLE           R0, #0                                                 ; +0x34, 0x7e07c4\nMOVGT           R0, #1                                                 ; +0x38, 0x7e07c8\nADD             SP, SP, #0xC                                           ; +0x3c, 0x7e07cc\nPOP             {PC}                                                   ; +0x40, 0x7e07d0", "xrefs": ["EVP_PKEY_set1_DH @ 0x805730", "EVP_PKEY_get1_DH @ 0x8057a0", "<???> @ 0x60b3c"], "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"}