{"type": "func", "start": 8360632, "end": 8360748, "name": "ENGINE_set_default_pkey_meths", "pseudocode": "// \n// ENGINE_set_default_pkey_meths from 0x7f92b8 to 0x7f932c (116 bytes)\n// \n// 2 xrefs:\n// > ENGINE_set_default @ 0x7f6f5c\n// > <???> @ 0x6224c\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_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 + 36);\n  if ( !v1 )\n    return 1;\n  v3 = v1();\n  if ( v3 > 0 )\n    return engine_table_register(&unk_AD2EA4, sub_7F91EC, a1, v5, v3, 1);\n  else\n    return 1;\n}", "assembly": "; \n; ENGINE_set_default_pkey_meths from 0x7f92b8 to 0x7f932c (116 bytes)\n; \n; 2 xrefs:\n; > ENGINE_set_default @ 0x7f6f5c\n; > <???> @ 0x6224c\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,#0x24]                                        ; +0x0, 0x7f92b8\nCMP             R12, #0                                                ; +0x4, 0x7f92bc\nBEQ             loc_7F9324                                             ; +0x8, 0x7f92c0\nPUSH            {R4,LR}                                                ; +0xc, 0x7f92c4\nMOV             R1, #0                                                 ; +0x10, 0x7f92c8\nSUB             SP, SP, #0x10                                          ; +0x14, 0x7f92cc\nMOV             R3, R1                                                 ; +0x18, 0x7f92d0\nADD             R2, SP, #0x18+var_C                                    ; +0x1c, 0x7f92d4\nMOV             R4, R0                                                 ; +0x20, 0x7f92d8\nBLX             R12                                                    ; +0x24, 0x7f92dc\nCMP             R0, #0                                                 ; +0x28, 0x7f92e0\nMOVLE           R0, #1                                                 ; +0x2c, 0x7f92e4\nBGT             loc_7F92F4                                             ; +0x30, 0x7f92e8\nADD             SP, SP, #0x10                                          ; +0x34, 0x7f92ec\nPOP             {R4,PC}                                                ; +0x38, 0x7f92f0\nMOV             R1, #1                                                 ; +0x3c, 0x7f92f4\nSTR             R0, [SP,#0x18+var_18]                                  ; +0x40, 0x7f92f8\nSTR             R1, [SP,#0x18+var_14]                                  ; +0x44, 0x7f92fc\nLDR             R0, =(unk_AD2EA4 - 0x7F931C)                           ; +0x48, 0x7f9300\nLDR             R1, =(sub_7F91EC - 0x7F9318)                           ; +0x4c, 0x7f9304\nLDR             R3, [SP,#0x18+var_C]                                   ; +0x50, 0x7f9308\nMOV             R2, R4                                                 ; +0x54, 0x7f930c\nADD             R1, PC, R1; sub_7F91EC                                 ; +0x58, 0x7f9310\nADD             R0, PC, R0; unk_AD2EA4                                 ; +0x5c, 0x7f9314\nBL              engine_table_register                                  ; +0x60, 0x7f9318\nADD             SP, SP, #0x10                                          ; +0x64, 0x7f931c\nPOP             {R4,PC}                                                ; +0x68, 0x7f9320\nMOV             R0, #1                                                 ; +0x6c, 0x7f9324\nBX              LR                                                     ; +0x70, 0x7f9328", "xrefs": ["ENGINE_set_default @ 0x7f6f5c", "<???> @ 0x6224c"], "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"}