{"type": "func", "start": 8357672, "end": 8357788, "name": "ENGINE_set_default_pkey_asn1_meths", "pseudocode": "// \n// ENGINE_set_default_pkey_asn1_meths from 0x7f8728 to 0x7f879c (116 bytes)\n// \n// 2 xrefs:\n// > ENGINE_set_default @ 0x7f6f34\n// > <???> @ 0x6222c\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_set_default_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, 1);\n  else\n    return 1;\n}", "assembly": "; \n; ENGINE_set_default_pkey_asn1_meths from 0x7f8728 to 0x7f879c (116 bytes)\n; \n; 2 xrefs:\n; > ENGINE_set_default @ 0x7f6f34\n; > <???> @ 0x6222c\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, 0x7f8728\nCMP             R12, #0                                                ; +0x4, 0x7f872c\nBEQ             loc_7F8794                                             ; +0x8, 0x7f8730\nPUSH            {R4,LR}                                                ; +0xc, 0x7f8734\nMOV             R1, #0                                                 ; +0x10, 0x7f8738\nSUB             SP, SP, #0x10                                          ; +0x14, 0x7f873c\nMOV             R3, R1                                                 ; +0x18, 0x7f8740\nADD             R2, SP, #0x18+var_C                                    ; +0x1c, 0x7f8744\nMOV             R4, R0                                                 ; +0x20, 0x7f8748\nBLX             R12                                                    ; +0x24, 0x7f874c\nCMP             R0, #0                                                 ; +0x28, 0x7f8750\nMOVLE           R0, #1                                                 ; +0x2c, 0x7f8754\nBGT             loc_7F8764                                             ; +0x30, 0x7f8758\nADD             SP, SP, #0x10                                          ; +0x34, 0x7f875c\nPOP             {R4,PC}                                                ; +0x38, 0x7f8760\nMOV             R1, #1                                                 ; +0x3c, 0x7f8764\nSTR             R0, [SP,#0x18+var_18]                                  ; +0x40, 0x7f8768\nSTR             R1, [SP,#0x18+var_14]                                  ; +0x44, 0x7f876c\nLDR             R0, =(dword_AD2E8C - 0x7F878C)                         ; +0x48, 0x7f8770\nLDR             R1, =(sub_7F85B8 - 0x7F8788)                           ; +0x4c, 0x7f8774\nLDR             R3, [SP,#0x18+var_C]                                   ; +0x50, 0x7f8778\nMOV             R2, R4                                                 ; +0x54, 0x7f877c\nADD             R1, PC, R1; sub_7F85B8                                 ; +0x58, 0x7f8780\nADD             R0, PC, R0; dword_AD2E8C                               ; +0x5c, 0x7f8784\nBL              engine_table_register                                  ; +0x60, 0x7f8788\nADD             SP, SP, #0x10                                          ; +0x64, 0x7f878c\nPOP             {R4,PC}                                                ; +0x68, 0x7f8790\nMOV             R0, #1                                                 ; +0x6c, 0x7f8794\nBX              LR                                                     ; +0x70, 0x7f8798", "xrefs": ["ENGINE_set_default @ 0x7f6f34", "<???> @ 0x6222c"], "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"}