{"type": "func", "start": 10441616, "end": 10441684, "name": "DH_up_ref", "pseudocode": "// \n// DH_up_ref from 0x9f5390 to 0x9f53d4 (68 bytes)\n// \n// 3 xrefs:\n// > EVP_PKEY_set1_DH @ 0xa1a330\n// > EVP_PKEY_get1_DH @ 0xa1a3a0\n// > <???> @ 0x7a5bc\n// \n// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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 12:07:31 +0000\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 0x9f5390 to 0x9f53d4 (68 bytes)\n; \n; 3 xrefs:\n; > EVP_PKEY_set1_DH @ 0xa1a330\n; > EVP_PKEY_get1_DH @ 0xa1a3a0\n; > <???> @ 0x7a5bc\n; \n; This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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 12:07:31 +0000\n; \nPUSH            {LR}                                                   ; +0x0, 0x9f5390\nMOV             R3, R0                                                 ; +0x4, 0x9f5394\nSUB             SP, SP, #0xC                                           ; +0x8, 0x9f5398\nADD             R0, R0, #0x38 ; '8'                                    ; +0xc, 0x9f539c\nLDR             R3, [R3,#0x48]                                         ; +0x10, 0x9f53a0\nMOV             R1, #1                                                 ; +0x14, 0x9f53a4\nADD             R2, SP, #0xC+var_8                                     ; +0x18, 0x9f53a8\nBL              CRYPTO_atomic_add                                      ; +0x1c, 0x9f53ac\nCMP             R0, #0                                                 ; +0x20, 0x9f53b0\nMOVLE           R0, #0                                                 ; +0x24, 0x9f53b4\nBLE             loc_9F53CC                                             ; +0x28, 0x9f53b8\nLDR             R0, [SP,#0xC+var_8]                                    ; +0x2c, 0x9f53bc\nCMP             R0, #1                                                 ; +0x30, 0x9f53c0\nMOVLE           R0, #0                                                 ; +0x34, 0x9f53c4\nMOVGT           R0, #1                                                 ; +0x38, 0x9f53c8\nADD             SP, SP, #0xC                                           ; +0x3c, 0x9f53cc\nPOP             {PC}                                                   ; +0x40, 0x9f53d0", "xrefs": ["EVP_PKEY_set1_DH @ 0xa1a330", "EVP_PKEY_get1_DH @ 0xa1a3a0", "<???> @ 0x7a5bc"], "is_objc": false, "is_32_bit": true, "is_64_bit": false, "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"}