{"type": "func", "start": 16895652, "end": 16895768, "name": "ENGINE_get_cipher", "pseudocode": "// \n// ENGINE_get_cipher from 0x101cea4 to 0x101cf18 (116 bytes)\n// \n// 2 xrefs:\n// > EVP_CipherInit_ex @ 0x1028118\n// > <???> @ 0x53bd8\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_get_cipher(__int64 a1, unsigned int a2)\n{\n  unsigned int (__fastcall *ciphers)(__int64, __int64 *, _QWORD, _QWORD); // x4\n  __int64 v6; // [xsp+28h] [xbp+28h] BYREF\n\n  ciphers = (unsigned int (__fastcall *)(__int64, __int64 *, _QWORD, _QWORD))ENGINE_get_ciphers(a1);\n  if ( ciphers && ciphers(a1, &v6, 0, a2) )\n    return v6;\n  ERR_put_error(38, 185, 146, \"crypto/engine/tb_cipher.c\", 74);\n  return 0;\n}", "assembly": "; \n; ENGINE_get_cipher from 0x101cea4 to 0x101cf18 (116 bytes)\n; \n; 2 xrefs:\n; > EVP_CipherInit_ex @ 0x1028118\n; > <???> @ 0x53bd8\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, 0x101cea4\nMOV             X29, SP                                                ; +0x4, 0x101cea8\nSTP             X19, X20, [SP,#0x30+var_20]                            ; +0x8, 0x101ceac\nMOV             X20, X0                                                ; +0xc, 0x101ceb0\nMOV             W19, W1                                                ; +0x10, 0x101ceb4\nBL              ENGINE_get_ciphers                                     ; +0x14, 0x101ceb8\nMOV             X4, X0                                                 ; +0x18, 0x101cebc\nCBZ             X0, loc_101CEEC                                        ; +0x1c, 0x101cec0\nMOV             X0, X20                                                ; +0x20, 0x101cec4\nADD             X1, X29, #0x30+var_8                                   ; +0x24, 0x101cec8\nMOV             X2, #0                                                 ; +0x28, 0x101cecc\nMOV             W3, W19                                                ; +0x2c, 0x101ced0\nBLR             X4                                                     ; +0x30, 0x101ced4\nCBZ             W0, loc_101CEEC                                        ; +0x34, 0x101ced8\nLDR             X0, [X29,#0x30+var_8]                                  ; +0x38, 0x101cedc\nLDP             X19, X20, [SP,#0x30+var_20]                            ; +0x3c, 0x101cee0\nLDP             X29, X30, [SP+0x30+var_30],#0x30                       ; +0x40, 0x101cee4\nRET                                                                    ; +0x44, 0x101cee8\nADRP            X3, #aCryptoEngineTb_0@PAGE; \"crypto/engine/tb_cipher.c\" ; +0x48, 0x101ceec\nMOV             W0, #0x26 ; '&'                                        ; +0x4c, 0x101cef0\nMOV             W1, #0xB9                                              ; +0x50, 0x101cef4\nMOV             W2, #0x92                                              ; +0x54, 0x101cef8\nADD             X3, X3, #aCryptoEngineTb_0@PAGEOFF; \"crypto/engine/tb_cipher.c\" ; +0x58, 0x101cefc\nMOV             W4, #0x4A ; 'J'                                        ; +0x5c, 0x101cf00\nBL              ERR_put_error                                          ; +0x60, 0x101cf04\nMOV             X0, #0                                                 ; +0x64, 0x101cf08\nLDP             X19, X20, [SP,#0x30+var_20]                            ; +0x68, 0x101cf0c\nLDP             X29, X30, [SP+0x30+var_30],#0x30                       ; +0x6c, 0x101cf10\nRET                                                                    ; +0x70, 0x101cf14", "xrefs": ["EVP_CipherInit_ex @ 0x1028118", "<???> @ 0x53bd8"], "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"}