{"type": "func", "start": 8356248, "end": 8356348, "name": "ENGINE_up_ref", "pseudocode": "// \n// ENGINE_up_ref from 0x7f8198 to 0x7f81fc (100 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x6253c\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\nint __fastcall ENGINE_up_ref(int a1)\n{\n  _BYTE v2[4]; // [sp+Ch] [bp-4h] BYREF\n\n  if ( a1 )\n  {\n    CRYPTO_atomic_add(a1 + 80, 1, v2, global_engine_lock);\n    return 1;\n  }\n  else\n  {\n    ERR_put_error(38, 190, 67, \"crypto/engine/eng_list.c\", 349);\n    return 0;\n  }\n}", "assembly": "; \n; ENGINE_up_ref from 0x7f8198 to 0x7f81fc (100 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x6253c\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            {R4,LR}                                                ; +0x0, 0x7f8198\nSUBS            R4, R0, #0                                             ; +0x4, 0x7f819c\nSUB             SP, SP, #0x10                                          ; +0x8, 0x7f81a0\nBEQ             loc_7F81D0                                             ; +0xc, 0x7f81a4\nLDR             R3, =(global_engine_lock_ptr - 0x7F81B8)               ; +0x10, 0x7f81a8\nADD             R0, R4, #0x50 ; 'P'                                    ; +0x14, 0x7f81ac\nLDR             R3, [PC,R3]; global_engine_lock                        ; +0x18, 0x7f81b0\nMOV             R1, #1                                                 ; +0x1c, 0x7f81b4\nLDR             R3, [R3]                                               ; +0x20, 0x7f81b8\nADD             R2, SP, #0x10+var_4                                    ; +0x24, 0x7f81bc\nBL              CRYPTO_atomic_add                                      ; +0x28, 0x7f81c0\nMOV             R0, #1                                                 ; +0x2c, 0x7f81c4\nADD             SP, SP, #0x10                                          ; +0x30, 0x7f81c8\nPOP             {R4,PC}                                                ; +0x34, 0x7f81cc\nLDR             R3, =0x15D                                             ; +0x38, 0x7f81d0\nSTR             R3, [SP,#0x10+var_10]                                  ; +0x3c, 0x7f81d4\nLDR             R3, =(aCryptoEngineEn_4 - 0x7F81F0); \"crypto/engine/eng_list.c\" ; +0x40, 0x7f81d8\nMOV             R0, #0x26 ; '&'                                        ; +0x44, 0x7f81dc\nMOV             R1, #0xBE                                              ; +0x48, 0x7f81e0\nMOV             R2, #0x43 ; 'C'                                        ; +0x4c, 0x7f81e4\nADD             R3, PC, R3; \"crypto/engine/eng_list.c\"                 ; +0x50, 0x7f81e8\nBL              ERR_put_error                                          ; +0x54, 0x7f81ec\nMOV             R0, R4                                                 ; +0x58, 0x7f81f0\nADD             SP, SP, #0x10                                          ; +0x5c, 0x7f81f4\nPOP             {R4,PC}                                                ; +0x60, 0x7f81f8", "xrefs": ["<???> @ 0x6253c"], "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"}