{"type": "func", "start": 8357504, "end": 8357620, "name": "ENGINE_register_pkey_asn1_meths", "pseudocode": "// \n// ENGINE_register_pkey_asn1_meths from 0x7f8680 to 0x7f86f4 (116 bytes)\n// \n// 2 xrefs:\n// > ENGINE_register_all_pkey_asn1_meths @ 0x7f8710\n// > <???> @ 0x625dc\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\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_AD2E8C, sub_7F85B8, a1, v5, v3, 0);\n  else\n    return 1;\n}", "assembly": "; \n; ENGINE_register_pkey_asn1_meths from 0x7f8680 to 0x7f86f4 (116 bytes)\n; \n; 2 xrefs:\n; > ENGINE_register_all_pkey_asn1_meths @ 0x7f8710\n; > <???> @ 0x625dc\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\nLDR             R12, [R0,#0x28]                                        ; +0x0, 0x7f8680\nCMP             R12, #0                                                ; +0x4, 0x7f8684\nBEQ             loc_7F86EC                                             ; +0x8, 0x7f8688\nPUSH            {R4,LR}                                                ; +0xc, 0x7f868c\nMOV             R1, #0                                                 ; +0x10, 0x7f8690\nSUB             SP, SP, #0x10                                          ; +0x14, 0x7f8694\nMOV             R3, R1                                                 ; +0x18, 0x7f8698\nADD             R2, SP, #0x18+var_C                                    ; +0x1c, 0x7f869c\nMOV             R4, R0                                                 ; +0x20, 0x7f86a0\nBLX             R12                                                    ; +0x24, 0x7f86a4\nCMP             R0, #0                                                 ; +0x28, 0x7f86a8\nMOVLE           R0, #1                                                 ; +0x2c, 0x7f86ac\nBGT             loc_7F86BC                                             ; +0x30, 0x7f86b0\nADD             SP, SP, #0x10                                          ; +0x34, 0x7f86b4\nPOP             {R4,PC}                                                ; +0x38, 0x7f86b8\nMOV             R1, #0                                                 ; +0x3c, 0x7f86bc\nSTR             R0, [SP,#0x18+var_18]                                  ; +0x40, 0x7f86c0\nSTR             R1, [SP,#0x18+var_14]                                  ; +0x44, 0x7f86c4\nLDR             R0, =(dword_AD2E8C - 0x7F86E4)                         ; +0x48, 0x7f86c8\nLDR             R1, =(sub_7F85B8 - 0x7F86E0)                           ; +0x4c, 0x7f86cc\nLDR             R3, [SP,#0x18+var_C]                                   ; +0x50, 0x7f86d0\nMOV             R2, R4                                                 ; +0x54, 0x7f86d4\nADD             R1, PC, R1; sub_7F85B8                                 ; +0x58, 0x7f86d8\nADD             R0, PC, R0; dword_AD2E8C                               ; +0x5c, 0x7f86dc\nBL              engine_table_register                                  ; +0x60, 0x7f86e0\nADD             SP, SP, #0x10                                          ; +0x64, 0x7f86e4\nPOP             {R4,PC}                                                ; +0x68, 0x7f86e8\nMOV             R0, #1                                                 ; +0x6c, 0x7f86ec\nBX              LR                                                     ; +0x70, 0x7f86f0", "xrefs": ["ENGINE_register_all_pkey_asn1_meths @ 0x7f8710", "<???> @ 0x625dc"], "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"}