{"type": "func", "start": 8360784, "end": 8360896, "name": "ENGINE_get_pkey_meth", "pseudocode": "// \n// ENGINE_get_pkey_meth from 0x7f9350 to 0x7f93c0 (112 bytes)\n// \n// 3 xrefs:\n// > EVP_PKEY_CTX_new @ 0x8070b8\n// > EVP_PKEY_CTX_new_id @ 0x807354\n// > <???> @ 0x627ec\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_get_pkey_meth(int a1, int a2)\n{\n  int (__fastcall *pkey_meths)(int, int *, _DWORD, int); // r12\n  int v6; // [sp+Ch] [bp-8h] BYREF\n\n  pkey_meths = (int (__fastcall *)(int, int *, _DWORD, int))ENGINE_get_pkey_meths(a1);\n  if ( pkey_meths && pkey_meths(a1, &v6, 0, a2) )\n    return v6;\n  ERR_put_error(38, 192, 101, \"crypto/engine/tb_pkmeth.c\", 76);\n  return 0;\n}", "assembly": "; \n; ENGINE_get_pkey_meth from 0x7f9350 to 0x7f93c0 (112 bytes)\n; \n; 3 xrefs:\n; > EVP_PKEY_CTX_new @ 0x8070b8\n; > EVP_PKEY_CTX_new_id @ 0x807354\n; > <???> @ 0x627ec\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\nPUSH            {R4,R5,LR}                                             ; +0x0, 0x7f9350\nSUB             SP, SP, #0x14                                          ; +0x4, 0x7f9354\nMOV             R4, R1                                                 ; +0x8, 0x7f9358\nMOV             R5, R0                                                 ; +0xc, 0x7f935c\nBL              ENGINE_get_pkey_meths                                  ; +0x10, 0x7f9360\nSUBS            R12, R0, #0                                            ; +0x14, 0x7f9364\nBEQ             loc_7F9394                                             ; +0x18, 0x7f9368\nMOV             R0, R5                                                 ; +0x1c, 0x7f936c\nMOV             R3, R4                                                 ; +0x20, 0x7f9370\nADD             R1, SP, #0x14+var_8                                    ; +0x24, 0x7f9374\nMOV             R2, #0                                                 ; +0x28, 0x7f9378\nBLX             R12                                                    ; +0x2c, 0x7f937c\nCMP             R0, #0                                                 ; +0x30, 0x7f9380\nBEQ             loc_7F9394                                             ; +0x34, 0x7f9384\nLDR             R0, [SP,#0x14+var_8]                                   ; +0x38, 0x7f9388\nADD             SP, SP, #0x14                                          ; +0x3c, 0x7f938c\nPOP             {R4,R5,PC}                                             ; +0x40, 0x7f9390\nMOV             R3, #0x4C ; 'L'                                        ; +0x44, 0x7f9394\nSTR             R3, [SP,#0x14+var_14]                                  ; +0x48, 0x7f9398\nLDR             R3, =(aCryptoEngineTb_2 - 0x7F93B4); \"crypto/engine/tb_pkmeth.c\" ; +0x4c, 0x7f939c\nMOV             R0, #0x26 ; '&'                                        ; +0x50, 0x7f93a0\nMOV             R1, #0xC0                                              ; +0x54, 0x7f93a4\nMOV             R2, #0x65 ; 'e'                                        ; +0x58, 0x7f93a8\nADD             R3, PC, R3; \"crypto/engine/tb_pkmeth.c\"                ; +0x5c, 0x7f93ac\nBL              ERR_put_error                                          ; +0x60, 0x7f93b0\nMOV             R0, #0                                                 ; +0x64, 0x7f93b4\nADD             SP, SP, #0x14                                          ; +0x68, 0x7f93b8\nPOP             {R4,R5,PC}                                             ; +0x6c, 0x7f93bc", "xrefs": ["EVP_PKEY_CTX_new @ 0x8070b8", "EVP_PKEY_CTX_new_id @ 0x807354", "<???> @ 0x627ec"], "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"}