{"type": "func", "start": 8360464, "end": 8360580, "name": "ENGINE_register_pkey_meths", "pseudocode": "// \n// ENGINE_register_pkey_meths from 0x7f9210 to 0x7f9284 (116 bytes)\n// \n// 3 xrefs:\n// > ENGINE_register_complete @ 0x7f7054\n// > ENGINE_register_all_pkey_meths @ 0x7f92a0\n// > <???> @ 0x622dc\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_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, 0);\n  else\n    return 1;\n}", "assembly": "; \n; ENGINE_register_pkey_meths from 0x7f9210 to 0x7f9284 (116 bytes)\n; \n; 3 xrefs:\n; > ENGINE_register_complete @ 0x7f7054\n; > ENGINE_register_all_pkey_meths @ 0x7f92a0\n; > <???> @ 0x622dc\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, 0x7f9210\nCMP             R12, #0                                                ; +0x4, 0x7f9214\nBEQ             loc_7F927C                                             ; +0x8, 0x7f9218\nPUSH            {R4,LR}                                                ; +0xc, 0x7f921c\nMOV             R1, #0                                                 ; +0x10, 0x7f9220\nSUB             SP, SP, #0x10                                          ; +0x14, 0x7f9224\nMOV             R3, R1                                                 ; +0x18, 0x7f9228\nADD             R2, SP, #0x18+var_C                                    ; +0x1c, 0x7f922c\nMOV             R4, R0                                                 ; +0x20, 0x7f9230\nBLX             R12                                                    ; +0x24, 0x7f9234\nCMP             R0, #0                                                 ; +0x28, 0x7f9238\nMOVLE           R0, #1                                                 ; +0x2c, 0x7f923c\nBGT             loc_7F924C                                             ; +0x30, 0x7f9240\nADD             SP, SP, #0x10                                          ; +0x34, 0x7f9244\nPOP             {R4,PC}                                                ; +0x38, 0x7f9248\nMOV             R1, #0                                                 ; +0x3c, 0x7f924c\nSTR             R0, [SP,#0x18+var_18]                                  ; +0x40, 0x7f9250\nSTR             R1, [SP,#0x18+var_14]                                  ; +0x44, 0x7f9254\nLDR             R0, =(unk_AD2EA4 - 0x7F9274)                           ; +0x48, 0x7f9258\nLDR             R1, =(sub_7F91EC - 0x7F9270)                           ; +0x4c, 0x7f925c\nLDR             R3, [SP,#0x18+var_C]                                   ; +0x50, 0x7f9260\nMOV             R2, R4                                                 ; +0x54, 0x7f9264\nADD             R1, PC, R1; sub_7F91EC                                 ; +0x58, 0x7f9268\nADD             R0, PC, R0; unk_AD2EA4                                 ; +0x5c, 0x7f926c\nBL              engine_table_register                                  ; +0x60, 0x7f9270\nADD             SP, SP, #0x10                                          ; +0x64, 0x7f9274\nPOP             {R4,PC}                                                ; +0x68, 0x7f9278\nMOV             R0, #1                                                 ; +0x6c, 0x7f927c\nBX              LR                                                     ; +0x70, 0x7f9280", "xrefs": ["ENGINE_register_complete @ 0x7f7054", "ENGINE_register_all_pkey_meths @ 0x7f92a0", "<???> @ 0x622dc"], "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"}