{"type": "func", "start": 16892836, "end": 16892944, "name": "ENGINE_up_ref", "pseudocode": "// \n// ENGINE_up_ref from 0x101c3a4 to 0x101c410 (108 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x74c50\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:16:08 +0000\n// \n\n__int64 __fastcall ENGINE_up_ref(__int64 a1)\n{\n  char v2; // [xsp+2Ch] [xbp+2Ch] BYREF\n\n  if ( a1 )\n  {\n    CRYPTO_atomic_add(a1 + 156, 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 0x101c3a4 to 0x101c410 (108 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x74c50\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:16:08 +0000\n; \nSTP             X29, X30, [SP,#var_30]!                                ; +0x0, 0x101c3a4\nMOV             X29, SP                                                ; +0x4, 0x101c3a8\nSTR             X19, [SP,#0x30+var_20]                                 ; +0x8, 0x101c3ac\nMOV             X19, X0                                                ; +0xc, 0x101c3b0\nCBZ             X0, loc_101C3E4                                        ; +0x10, 0x101c3b4\nADRP            X3, #global_engine_lock_ptr@PAGE                       ; +0x14, 0x101c3b8\nADD             X2, X29, #0x30+var_4                                   ; +0x18, 0x101c3bc\nMOV             W1, #1                                                 ; +0x1c, 0x101c3c0\nADD             X0, X0, #0x9C                                          ; +0x20, 0x101c3c4\nLDR             X3, [X3,#global_engine_lock_ptr@PAGEOFF]; global_engine_lock ; +0x24, 0x101c3c8\nLDR             X3, [X3]                                               ; +0x28, 0x101c3cc\nBL              CRYPTO_atomic_add                                      ; +0x2c, 0x101c3d0\nLDR             X19, [SP,#0x30+var_20]                                 ; +0x30, 0x101c3d4\nMOV             W0, #1                                                 ; +0x34, 0x101c3d8\nLDP             X29, X30, [SP+0x30+var_30],#0x30                       ; +0x38, 0x101c3dc\nRET                                                                    ; +0x3c, 0x101c3e0\nADRP            X3, #aCryptoEngineEn_4@PAGE; \"crypto/engine/eng_list.c\" ; +0x40, 0x101c3e4\nMOV             W0, #0x26 ; '&'                                        ; +0x44, 0x101c3e8\nMOV             W1, #0xBE                                              ; +0x48, 0x101c3ec\nMOV             W2, #0x43 ; 'C'                                        ; +0x4c, 0x101c3f0\nADD             X3, X3, #aCryptoEngineEn_4@PAGEOFF; \"crypto/engine/eng_list.c\" ; +0x50, 0x101c3f4\nMOV             W4, #0x15D                                             ; +0x54, 0x101c3f8\nBL              ERR_put_error                                          ; +0x58, 0x101c3fc\nMOV             W0, W19                                                ; +0x5c, 0x101c400\nLDR             X19, [SP,#0x30+var_20]                                 ; +0x60, 0x101c404\nLDP             X29, X30, [SP+0x30+var_30],#0x30                       ; +0x64, 0x101c408\nRET                                                                    ; +0x68, 0x101c40c", "xrefs": ["<???> @ 0x74c50"], "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"}