{"type": "func", "start": 16896396, "end": 16896512, "name": "ENGINE_get_digest", "pseudocode": "// \n// ENGINE_get_digest from 0x101d18c to 0x101d200 (116 bytes)\n// \n// 2 xrefs:\n// > EVP_DigestInit_ex @ 0x101fbc4\n// > <???> @ 0x69b20\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_digest(__int64 a1, unsigned int a2)\n{\n  unsigned int (__fastcall *digests)(__int64, __int64 *, _QWORD, _QWORD); // x4\n  __int64 v6; // [xsp+28h] [xbp+28h] BYREF\n\n  digests = (unsigned int (__fastcall *)(__int64, __int64 *, _QWORD, _QWORD))ENGINE_get_digests(a1);\n  if ( digests && digests(a1, &v6, 0, a2) )\n    return v6;\n  ERR_put_error(38, 186, 147, \"crypto/engine/tb_digest.c\", 74);\n  return 0;\n}", "assembly": "; \n; ENGINE_get_digest from 0x101d18c to 0x101d200 (116 bytes)\n; \n; 2 xrefs:\n; > EVP_DigestInit_ex @ 0x101fbc4\n; > <???> @ 0x69b20\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, 0x101d18c\nMOV             X29, SP                                                ; +0x4, 0x101d190\nSTP             X19, X20, [SP,#0x30+var_20]                            ; +0x8, 0x101d194\nMOV             X20, X0                                                ; +0xc, 0x101d198\nMOV             W19, W1                                                ; +0x10, 0x101d19c\nBL              ENGINE_get_digests                                     ; +0x14, 0x101d1a0\nMOV             X4, X0                                                 ; +0x18, 0x101d1a4\nCBZ             X0, loc_101D1D4                                        ; +0x1c, 0x101d1a8\nMOV             X0, X20                                                ; +0x20, 0x101d1ac\nADD             X1, X29, #0x30+var_8                                   ; +0x24, 0x101d1b0\nMOV             X2, #0                                                 ; +0x28, 0x101d1b4\nMOV             W3, W19                                                ; +0x2c, 0x101d1b8\nBLR             X4                                                     ; +0x30, 0x101d1bc\nCBZ             W0, loc_101D1D4                                        ; +0x34, 0x101d1c0\nLDR             X0, [X29,#0x30+var_8]                                  ; +0x38, 0x101d1c4\nLDP             X19, X20, [SP,#0x30+var_20]                            ; +0x3c, 0x101d1c8\nLDP             X29, X30, [SP+0x30+var_30],#0x30                       ; +0x40, 0x101d1cc\nRET                                                                    ; +0x44, 0x101d1d0\nADRP            X3, #aCryptoEngineTb_1@PAGE; \"crypto/engine/tb_digest.c\" ; +0x48, 0x101d1d4\nMOV             W0, #0x26 ; '&'                                        ; +0x4c, 0x101d1d8\nMOV             W1, #0xBA                                              ; +0x50, 0x101d1dc\nMOV             W2, #0x93                                              ; +0x54, 0x101d1e0\nADD             X3, X3, #aCryptoEngineTb_1@PAGEOFF; \"crypto/engine/tb_digest.c\" ; +0x58, 0x101d1e4\nMOV             W4, #0x4A ; 'J'                                        ; +0x5c, 0x101d1e8\nBL              ERR_put_error                                          ; +0x60, 0x101d1ec\nMOV             X0, #0                                                 ; +0x64, 0x101d1f0\nLDP             X19, X20, [SP,#0x30+var_20]                            ; +0x68, 0x101d1f4\nLDP             X29, X30, [SP+0x30+var_30],#0x30                       ; +0x6c, 0x101d1f8\nRET                                                                    ; +0x70, 0x101d1fc", "xrefs": ["EVP_DigestInit_ex @ 0x101fbc4", "<???> @ 0x69b20"], "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"}