{"type": "func", "start": 14281540, "end": 14281656, "name": "ENGINE_get_cipher", "pseudocode": "// \n// ENGINE_get_cipher from 0xd9eb44 to 0xd9ebb8 (116 bytes)\n// \n// 2 xrefs:\n// > EVP_CipherInit_ex @ 0xda9db8\n// > <???> @ 0x39888\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\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 0xd9eb44 to 0xd9ebb8 (116 bytes)\n; \n; 2 xrefs:\n; > EVP_CipherInit_ex @ 0xda9db8\n; > <???> @ 0x39888\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\nSTP             X29, X30, [SP,#var_30]!                                ; +0x0, 0xd9eb44\nMOV             X29, SP                                                ; +0x4, 0xd9eb48\nSTP             X19, X20, [SP,#0x30+var_20]                            ; +0x8, 0xd9eb4c\nMOV             X20, X0                                                ; +0xc, 0xd9eb50\nMOV             W19, W1                                                ; +0x10, 0xd9eb54\nBL              ENGINE_get_ciphers                                     ; +0x14, 0xd9eb58\nMOV             X4, X0                                                 ; +0x18, 0xd9eb5c\nCBZ             X0, loc_D9EB8C                                         ; +0x1c, 0xd9eb60\nMOV             X0, X20                                                ; +0x20, 0xd9eb64\nADD             X1, X29, #0x30+var_8                                   ; +0x24, 0xd9eb68\nMOV             X2, #0                                                 ; +0x28, 0xd9eb6c\nMOV             W3, W19                                                ; +0x2c, 0xd9eb70\nBLR             X4                                                     ; +0x30, 0xd9eb74\nCBZ             W0, loc_D9EB8C                                         ; +0x34, 0xd9eb78\nLDR             X0, [X29,#0x30+var_8]                                  ; +0x38, 0xd9eb7c\nLDP             X19, X20, [SP,#0x30+var_20]                            ; +0x3c, 0xd9eb80\nLDP             X29, X30, [SP+0x30+var_30],#0x30                       ; +0x40, 0xd9eb84\nRET                                                                    ; +0x44, 0xd9eb88\nADRP            X3, #aCryptoEngineTb_0@PAGE; \"crypto/engine/tb_cipher.c\" ; +0x48, 0xd9eb8c\nMOV             W0, #0x26 ; '&'                                        ; +0x4c, 0xd9eb90\nMOV             W1, #0xB9                                              ; +0x50, 0xd9eb94\nMOV             W2, #0x92                                              ; +0x54, 0xd9eb98\nADD             X3, X3, #aCryptoEngineTb_0@PAGEOFF; \"crypto/engine/tb_cipher.c\" ; +0x58, 0xd9eb9c\nMOV             W4, #0x4A ; 'J'                                        ; +0x5c, 0xd9eba0\nBL              ERR_put_error                                          ; +0x60, 0xd9eba4\nMOV             X0, #0                                                 ; +0x64, 0xd9eba8\nLDP             X19, X20, [SP,#0x30+var_20]                            ; +0x68, 0xd9ebac\nLDP             X29, X30, [SP+0x30+var_30],#0x30                       ; +0x6c, 0xd9ebb0\nRET                                                                    ; +0x70, 0xd9ebb4", "xrefs": ["EVP_CipherInit_ex @ 0xda9db8", "<???> @ 0x39888"], "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"}