{"type": "func", "start": 10539648, "end": 10539764, "name": "ENGINE_register_pkey_asn1_meths", "pseudocode": "// \n// ENGINE_register_pkey_asn1_meths from 0xa0d280 to 0xa0d2f4 (116 bytes)\n// \n// 2 xrefs:\n// > ENGINE_register_all_pkey_asn1_meths @ 0xa0d310\n// > <???> @ 0x7c05c\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_pkey_asn1_meths(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 + 40);\n  if ( !v1 )\n    return 1;\n  v3 = v1();\n  if ( v3 > 0 )\n    return engine_table_register(&dword_D34118, sub_A0D1B8, a1, v5, v3, 0);\n  else\n    return 1;\n}", "assembly": "; \n; ENGINE_register_pkey_asn1_meths from 0xa0d280 to 0xa0d2f4 (116 bytes)\n; \n; 2 xrefs:\n; > ENGINE_register_all_pkey_asn1_meths @ 0xa0d310\n; > <???> @ 0x7c05c\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,#0x28]                                        ; +0x0, 0xa0d280\nCMP             R12, #0                                                ; +0x4, 0xa0d284\nBEQ             loc_A0D2EC                                             ; +0x8, 0xa0d288\nPUSH            {R4,LR}                                                ; +0xc, 0xa0d28c\nMOV             R1, #0                                                 ; +0x10, 0xa0d290\nSUB             SP, SP, #0x10                                          ; +0x14, 0xa0d294\nMOV             R3, R1                                                 ; +0x18, 0xa0d298\nADD             R2, SP, #0x18+var_C                                    ; +0x1c, 0xa0d29c\nMOV             R4, R0                                                 ; +0x20, 0xa0d2a0\nBLX             R12                                                    ; +0x24, 0xa0d2a4\nCMP             R0, #0                                                 ; +0x28, 0xa0d2a8\nMOVLE           R0, #1                                                 ; +0x2c, 0xa0d2ac\nBGT             loc_A0D2BC                                             ; +0x30, 0xa0d2b0\nADD             SP, SP, #0x10                                          ; +0x34, 0xa0d2b4\nPOP             {R4,PC}                                                ; +0x38, 0xa0d2b8\nMOV             R1, #0                                                 ; +0x3c, 0xa0d2bc\nSTR             R0, [SP,#0x18+var_18]                                  ; +0x40, 0xa0d2c0\nSTR             R1, [SP,#0x18+var_14]                                  ; +0x44, 0xa0d2c4\nLDR             R0, =(dword_D34118 - 0xA0D2E4)                         ; +0x48, 0xa0d2c8\nLDR             R1, =(sub_A0D1B8 - 0xA0D2E0)                           ; +0x4c, 0xa0d2cc\nLDR             R3, [SP,#0x18+var_C]                                   ; +0x50, 0xa0d2d0\nMOV             R2, R4                                                 ; +0x54, 0xa0d2d4\nADD             R1, PC, R1; sub_A0D1B8                                 ; +0x58, 0xa0d2d8\nADD             R0, PC, R0; dword_D34118                               ; +0x5c, 0xa0d2dc\nBL              engine_table_register                                  ; +0x60, 0xa0d2e0\nADD             SP, SP, #0x10                                          ; +0x64, 0xa0d2e4\nPOP             {R4,PC}                                                ; +0x68, 0xa0d2e8\nMOV             R0, #1                                                 ; +0x6c, 0xa0d2ec\nBX              LR                                                     ; +0x70, 0xa0d2f0", "xrefs": ["ENGINE_register_all_pkey_asn1_meths @ 0xa0d310", "<???> @ 0x7c05c"], "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"}