{"type": "func", "start": 8293668, "end": 8293736, "name": "EC_KEY_up_ref", "pseudocode": "// \n// EC_KEY_up_ref from 0x7e8d24 to 0x7e8d68 (68 bytes)\n// \n// 3 xrefs:\n// > EVP_PKEY_set1_EC_KEY @ 0x805698\n// > EVP_PKEY_get1_EC_KEY @ 0x805704\n// > <???> @ 0x616ac\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 EC_KEY_up_ref(int a1)\n{\n  int v2; // [sp+4h] [bp-8h] BYREF\n\n  return CRYPTO_atomic_add(a1 + 32, 1, &v2, *(_DWORD *)(a1 + 44)) > 0 && v2 > 1;\n}", "assembly": "; \n; EC_KEY_up_ref from 0x7e8d24 to 0x7e8d68 (68 bytes)\n; \n; 3 xrefs:\n; > EVP_PKEY_set1_EC_KEY @ 0x805698\n; > EVP_PKEY_get1_EC_KEY @ 0x805704\n; > <???> @ 0x616ac\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, 0x7e8d24\nMOV             R3, R0                                                 ; +0x4, 0x7e8d28\nSUB             SP, SP, #0xC                                           ; +0x8, 0x7e8d2c\nADD             R0, R0, #0x20 ; ' '                                    ; +0xc, 0x7e8d30\nLDR             R3, [R3,#0x2C]                                         ; +0x10, 0x7e8d34\nMOV             R1, #1                                                 ; +0x14, 0x7e8d38\nADD             R2, SP, #0xC+var_8                                     ; +0x18, 0x7e8d3c\nBL              CRYPTO_atomic_add                                      ; +0x1c, 0x7e8d40\nCMP             R0, #0                                                 ; +0x20, 0x7e8d44\nMOVLE           R0, #0                                                 ; +0x24, 0x7e8d48\nBLE             loc_7E8D60                                             ; +0x28, 0x7e8d4c\nLDR             R0, [SP,#0xC+var_8]                                    ; +0x2c, 0x7e8d50\nCMP             R0, #1                                                 ; +0x30, 0x7e8d54\nMOVLE           R0, #0                                                 ; +0x34, 0x7e8d58\nMOVGT           R0, #1                                                 ; +0x38, 0x7e8d5c\nADD             SP, SP, #0xC                                           ; +0x3c, 0x7e8d60\nPOP             {PC}                                                   ; +0x40, 0x7e8d64", "xrefs": ["EVP_PKEY_set1_EC_KEY @ 0x805698", "EVP_PKEY_get1_EC_KEY @ 0x805704", "<???> @ 0x616ac"], "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"}