{"type": "func", "start": 14283264, "end": 14283380, "name": "ENGINE_get_pkey_meth", "pseudocode": "// \n// ENGINE_get_pkey_meth from 0xd9f200 to 0xd9f274 (116 bytes)\n// \n// 3 xrefs:\n// > EVP_PKEY_CTX_new @ 0xdadfd8\n// > EVP_PKEY_CTX_new_id @ 0xdae220\n// > <???> @ 0x56058\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\n__int64 __fastcall ENGINE_get_pkey_meth(__int64 a1, unsigned int a2)\n{\n  unsigned int (__fastcall *pkey_meths)(__int64, __int64 *, _QWORD, _QWORD); // x4\n  __int64 v6; // [xsp+28h] [xbp+28h] BYREF\n\n  pkey_meths = (unsigned int (__fastcall *)(__int64, __int64 *, _QWORD, _QWORD))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 0xd9f200 to 0xd9f274 (116 bytes)\n; \n; 3 xrefs:\n; > EVP_PKEY_CTX_new @ 0xdadfd8\n; > EVP_PKEY_CTX_new_id @ 0xdae220\n; > <???> @ 0x56058\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\nSTP             X29, X30, [SP,#var_30]!                                ; +0x0, 0xd9f200\nMOV             X29, SP                                                ; +0x4, 0xd9f204\nSTP             X19, X20, [SP,#0x30+var_20]                            ; +0x8, 0xd9f208\nMOV             X20, X0                                                ; +0xc, 0xd9f20c\nMOV             W19, W1                                                ; +0x10, 0xd9f210\nBL              ENGINE_get_pkey_meths                                  ; +0x14, 0xd9f214\nMOV             X4, X0                                                 ; +0x18, 0xd9f218\nCBZ             X0, loc_D9F248                                         ; +0x1c, 0xd9f21c\nMOV             X0, X20                                                ; +0x20, 0xd9f220\nADD             X1, X29, #0x30+var_8                                   ; +0x24, 0xd9f224\nMOV             X2, #0                                                 ; +0x28, 0xd9f228\nMOV             W3, W19                                                ; +0x2c, 0xd9f22c\nBLR             X4                                                     ; +0x30, 0xd9f230\nCBZ             W0, loc_D9F248                                         ; +0x34, 0xd9f234\nLDR             X0, [X29,#0x30+var_8]                                  ; +0x38, 0xd9f238\nLDP             X19, X20, [SP,#0x30+var_20]                            ; +0x3c, 0xd9f23c\nLDP             X29, X30, [SP+0x30+var_30],#0x30                       ; +0x40, 0xd9f240\nRET                                                                    ; +0x44, 0xd9f244\nADRP            X3, #aCryptoEngineTb_2@PAGE; \"crypto/engine/tb_pkmeth.c\" ; +0x48, 0xd9f248\nMOV             W0, #0x26 ; '&'                                        ; +0x4c, 0xd9f24c\nMOV             W1, #0xC0                                              ; +0x50, 0xd9f250\nMOV             W2, #0x65 ; 'e'                                        ; +0x54, 0xd9f254\nADD             X3, X3, #aCryptoEngineTb_2@PAGEOFF; \"crypto/engine/tb_pkmeth.c\" ; +0x58, 0xd9f258\nMOV             W4, #0x4C ; 'L'                                        ; +0x5c, 0xd9f25c\nBL              ERR_put_error                                          ; +0x60, 0xd9f260\nMOV             X0, #0                                                 ; +0x64, 0xd9f264\nLDP             X19, X20, [SP,#0x30+var_20]                            ; +0x68, 0xd9f268\nLDP             X29, X30, [SP+0x30+var_30],#0x30                       ; +0x6c, 0xd9f26c\nRET                                                                    ; +0x70, 0xd9f270", "xrefs": ["EVP_PKEY_CTX_new @ 0xdadfd8", "EVP_PKEY_CTX_new_id @ 0xdae220", "<???> @ 0x56058"], "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"}