{"type": "func", "start": 16896044, "end": 16896172, "name": "ENGINE_register_digests", "pseudocode": "// \n// ENGINE_register_digests from 0x101d02c to 0x101d0ac (128 bytes)\n// \n// 3 xrefs:\n// > ENGINE_register_complete @ 0x101b360\n// > ENGINE_register_all_digests @ 0x101d0c8\n// > <???> @ 0x9e458\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_register_digests(__int64 a1)\n{\n  __int64 (*v1)(void); // x4\n  unsigned int v3; // w0\n  bool v4; // cc\n  __int64 v5; // x4\n  __int64 result; // x0\n  __int64 v7; // [xsp+28h] [xbp+28h]\n\n  v1 = *(__int64 (**)(void))(a1 + 64);\n  if ( !v1 )\n    return 1;\n  v3 = v1();\n  v4 = (int)v3 <= 0;\n  v5 = v3;\n  result = 1;\n  if ( !v4 )\n    return engine_table_register(&unk_1566428, sub_101D010, a1, v7, v5);\n  return result;\n}", "assembly": "; \n; ENGINE_register_digests from 0x101d02c to 0x101d0ac (128 bytes)\n; \n; 3 xrefs:\n; > ENGINE_register_complete @ 0x101b360\n; > ENGINE_register_all_digests @ 0x101d0c8\n; > <???> @ 0x9e458\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, 0x101d02c\nMOV             X29, SP                                                ; +0x4, 0x101d030\nLDR             X4, [X0,#0x40]                                         ; +0x8, 0x101d034\nSTR             X19, [SP,#0x30+var_20]                                 ; +0xc, 0x101d038\nCBZ             X4, loc_101D09C                                        ; +0x10, 0x101d03c\nMOV             X1, #0                                                 ; +0x14, 0x101d040\nADD             X2, X29, #0x30+var_8                                   ; +0x18, 0x101d044\nMOV             W3, W1                                                 ; +0x1c, 0x101d048\nMOV             X19, X0                                                ; +0x20, 0x101d04c\nBLR             X4                                                     ; +0x24, 0x101d050\nCMP             W0, WZR                                                ; +0x28, 0x101d054\nMOV             W4, W0                                                 ; +0x2c, 0x101d058\nMOV             W0, #1                                                 ; +0x30, 0x101d05c\nB.GT            loc_101D070                                            ; +0x34, 0x101d060\nLDR             X19, [SP,#0x30+var_20]                                 ; +0x38, 0x101d064\nLDP             X29, X30, [SP+0x30+var_30],#0x30                       ; +0x3c, 0x101d068\nRET                                                                    ; +0x40, 0x101d06c\nLDR             X3, [X29,#0x30+var_8]                                  ; +0x44, 0x101d070\nADRP            X0, #unk_1566428@PAGE                                  ; +0x48, 0x101d074\nADRP            X1, #sub_101D010@PAGE                                  ; +0x4c, 0x101d078\nMOV             X2, X19                                                ; +0x50, 0x101d07c\nADD             X1, X1, #sub_101D010@PAGEOFF                           ; +0x54, 0x101d080\nMOV             W5, #0                                                 ; +0x58, 0x101d084\nADD             X0, X0, #unk_1566428@PAGEOFF                           ; +0x5c, 0x101d088\nBL              engine_table_register                                  ; +0x60, 0x101d08c\nLDR             X19, [SP,#0x30+var_20]                                 ; +0x64, 0x101d090\nLDP             X29, X30, [SP+0x30+var_30],#0x30                       ; +0x68, 0x101d094\nRET                                                                    ; +0x6c, 0x101d098\nMOV             W0, #1                                                 ; +0x70, 0x101d09c\nLDR             X19, [SP,#0x30+var_20]                                 ; +0x74, 0x101d0a0\nLDP             X29, X30, [SP+0x30+var_30],#0x30                       ; +0x78, 0x101d0a4\nRET                                                                    ; +0x7c, 0x101d0a8", "xrefs": ["ENGINE_register_complete @ 0x101b360", "ENGINE_register_all_digests @ 0x101d0c8", "<???> @ 0x9e458"], "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"}