{"type": "func", "start": 10541516, "end": 10541632, "name": "ENGINE_register_digests", "pseudocode": "// \n// ENGINE_register_digests from 0xa0d9cc to 0xa0da40 (116 bytes)\n// \n// 3 xrefs:\n// > ENGINE_register_complete @ 0xa0bc24\n// > ENGINE_register_all_digests @ 0xa0da5c\n// > <???> @ 0x7bcfc\n// \n// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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 12:07:44 +0000\n// \n\nint __fastcall ENGINE_register_digests(int a1)\n{\n  int (*v1)(void); // r12\n  int v3; // r0\n  int v5; // [sp+Ch] [bp-Ch]\n\n  v1 = *(int (**)(void))(a1 + 32);\n  if ( !v1 )\n    return 1;\n  v3 = v1();\n  if ( v3 > 0 )\n    return engine_table_register(&unk_D34124, sub_A0D9A8, a1, v5, v3, 0);\n  else\n    return 1;\n}", "assembly": "; \n; ENGINE_register_digests from 0xa0d9cc to 0xa0da40 (116 bytes)\n; \n; 3 xrefs:\n; > ENGINE_register_complete @ 0xa0bc24\n; > ENGINE_register_all_digests @ 0xa0da5c\n; > <???> @ 0x7bcfc\n; \n; This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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 12:07:44 +0000\n; \nLDR             R12, [R0,#0x20]                                        ; +0x0, 0xa0d9cc\nCMP             R12, #0                                                ; +0x4, 0xa0d9d0\nBEQ             loc_A0DA38                                             ; +0x8, 0xa0d9d4\nPUSH            {R4,LR}                                                ; +0xc, 0xa0d9d8\nMOV             R1, #0                                                 ; +0x10, 0xa0d9dc\nSUB             SP, SP, #0x10                                          ; +0x14, 0xa0d9e0\nMOV             R3, R1                                                 ; +0x18, 0xa0d9e4\nADD             R2, SP, #0x18+var_C                                    ; +0x1c, 0xa0d9e8\nMOV             R4, R0                                                 ; +0x20, 0xa0d9ec\nBLX             R12                                                    ; +0x24, 0xa0d9f0\nCMP             R0, #0                                                 ; +0x28, 0xa0d9f4\nMOVLE           R0, #1                                                 ; +0x2c, 0xa0d9f8\nBGT             loc_A0DA08                                             ; +0x30, 0xa0d9fc\nADD             SP, SP, #0x10                                          ; +0x34, 0xa0da00\nPOP             {R4,PC}                                                ; +0x38, 0xa0da04\nMOV             R1, #0                                                 ; +0x3c, 0xa0da08\nSTR             R0, [SP,#0x18+var_18]                                  ; +0x40, 0xa0da0c\nSTR             R1, [SP,#0x18+var_14]                                  ; +0x44, 0xa0da10\nLDR             R0, =(unk_D34124 - 0xA0DA30)                           ; +0x48, 0xa0da14\nLDR             R1, =(sub_A0D9A8 - 0xA0DA2C)                           ; +0x4c, 0xa0da18\nLDR             R3, [SP,#0x18+var_C]                                   ; +0x50, 0xa0da1c\nMOV             R2, R4                                                 ; +0x54, 0xa0da20\nADD             R1, PC, R1; sub_A0D9A8                                 ; +0x58, 0xa0da24\nADD             R0, PC, R0; unk_D34124                                 ; +0x5c, 0xa0da28\nBL              engine_table_register                                  ; +0x60, 0xa0da2c\nADD             SP, SP, #0x10                                          ; +0x64, 0xa0da30\nPOP             {R4,PC}                                                ; +0x68, 0xa0da34\nMOV             R0, #1                                                 ; +0x6c, 0xa0da38\nBX              LR                                                     ; +0x70, 0xa0da3c", "xrefs": ["ENGINE_register_complete @ 0xa0bc24", "ENGINE_register_all_digests @ 0xa0da5c", "<???> @ 0x7bcfc"], "is_objc": false, "is_32_bit": true, "is_64_bit": false, "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"}