{"type": "func", "start": 14282120, "end": 14282260, "name": "ENGINE_set_default_digests", "pseudocode": "// \n// ENGINE_set_default_digests from 0xd9ed88 to 0xd9ee14 (140 bytes)\n// \n// 2 xrefs:\n// > ENGINE_set_default @ 0xd9ceb8\n// > <???> @ 0x2c730\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_set_default_digests(__int64 a1)\n{\n  __int64 (*v1)(void); // x4\n  int v3; // w0\n  __int64 v5; // [xsp+28h] [xbp+28h]\n\n  v1 = *(__int64 (**)(void))(a1 + 64);\n  if ( !v1 )\n    return 1;\n  v3 = v1();\n  if ( v3 > 0 )\n    return (unsigned int)engine_table_register(&unk_125D628, sub_D9ECB0, a1, v5, (unsigned int)v3);\n  else\n    return 1;\n}", "assembly": "; \n; ENGINE_set_default_digests from 0xd9ed88 to 0xd9ee14 (140 bytes)\n; \n; 2 xrefs:\n; > ENGINE_set_default @ 0xd9ceb8\n; > <???> @ 0x2c730\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, 0xd9ed88\nMOV             X29, SP                                                ; +0x4, 0xd9ed8c\nLDR             X4, [X0,#0x40]                                         ; +0x8, 0xd9ed90\nSTR             X19, [SP,#0x30+var_20]                                 ; +0xc, 0xd9ed94\nCBZ             X4, loc_D9EE00                                         ; +0x10, 0xd9ed98\nMOV             X1, #0                                                 ; +0x14, 0xd9ed9c\nADD             X2, X29, #0x30+var_8                                   ; +0x18, 0xd9eda0\nMOV             W3, W1                                                 ; +0x1c, 0xd9eda4\nMOV             X19, X0                                                ; +0x20, 0xd9eda8\nBLR             X4                                                     ; +0x24, 0xd9edac\nCMP             W0, WZR                                                ; +0x28, 0xd9edb0\nMOV             W4, W0                                                 ; +0x2c, 0xd9edb4\nMOV             W5, #1                                                 ; +0x30, 0xd9edb8\nB.GT            loc_D9EDD0                                             ; +0x34, 0xd9edbc\nMOV             W0, W5                                                 ; +0x38, 0xd9edc0\nLDR             X19, [SP,#0x30+var_20]                                 ; +0x3c, 0xd9edc4\nLDP             X29, X30, [SP+0x30+var_30],#0x30                       ; +0x40, 0xd9edc8\nRET                                                                    ; +0x44, 0xd9edcc\nLDR             X3, [X29,#0x30+var_8]                                  ; +0x48, 0xd9edd0\nADRP            X0, #unk_125D628@PAGE                                  ; +0x4c, 0xd9edd4\nADRP            X1, #sub_D9ECB0@PAGE                                   ; +0x50, 0xd9edd8\nMOV             X2, X19                                                ; +0x54, 0xd9eddc\nADD             X1, X1, #sub_D9ECB0@PAGEOFF                            ; +0x58, 0xd9ede0\nADD             X0, X0, #unk_125D628@PAGEOFF                           ; +0x5c, 0xd9ede4\nBL              engine_table_register                                  ; +0x60, 0xd9ede8\nMOV             W5, W0                                                 ; +0x64, 0xd9edec\nMOV             W0, W5                                                 ; +0x68, 0xd9edf0\nLDR             X19, [SP,#0x30+var_20]                                 ; +0x6c, 0xd9edf4\nLDP             X29, X30, [SP+0x30+var_30],#0x30                       ; +0x70, 0xd9edf8\nRET                                                                    ; +0x74, 0xd9edfc\nMOV             W5, #1                                                 ; +0x78, 0xd9ee00\nLDR             X19, [SP,#0x30+var_20]                                 ; +0x7c, 0xd9ee04\nMOV             W0, W5                                                 ; +0x80, 0xd9ee08\nLDP             X29, X30, [SP+0x30+var_30],#0x30                       ; +0x84, 0xd9ee0c\nRET                                                                    ; +0x88, 0xd9ee10", "xrefs": ["ENGINE_set_default @ 0xd9ceb8", "<???> @ 0x2c730"], "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"}