{"type": "func", "start": 16897376, "end": 16897492, "name": "ENGINE_get_pkey_meth", "pseudocode": "// \n// ENGINE_get_pkey_meth from 0x101d560 to 0x101d5d4 (116 bytes)\n// \n// 3 xrefs:\n// > EVP_PKEY_CTX_new @ 0x102c338\n// > EVP_PKEY_CTX_new_id @ 0x102c580\n// > <???> @ 0x76df8\n// \n// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 13:16:09 +0000\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 0x101d560 to 0x101d5d4 (116 bytes)\n; \n; 3 xrefs:\n; > EVP_PKEY_CTX_new @ 0x102c338\n; > EVP_PKEY_CTX_new_id @ 0x102c580\n; > <???> @ 0x76df8\n; \n; This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 13:16:09 +0000\n; \nSTP             X29, X30, [SP,#var_30]!                                ; +0x0, 0x101d560\nMOV             X29, SP                                                ; +0x4, 0x101d564\nSTP             X19, X20, [SP,#0x30+var_20]                            ; +0x8, 0x101d568\nMOV             X20, X0                                                ; +0xc, 0x101d56c\nMOV             W19, W1                                                ; +0x10, 0x101d570\nBL              ENGINE_get_pkey_meths                                  ; +0x14, 0x101d574\nMOV             X4, X0                                                 ; +0x18, 0x101d578\nCBZ             X0, loc_101D5A8                                        ; +0x1c, 0x101d57c\nMOV             X0, X20                                                ; +0x20, 0x101d580\nADD             X1, X29, #0x30+var_8                                   ; +0x24, 0x101d584\nMOV             X2, #0                                                 ; +0x28, 0x101d588\nMOV             W3, W19                                                ; +0x2c, 0x101d58c\nBLR             X4                                                     ; +0x30, 0x101d590\nCBZ             W0, loc_101D5A8                                        ; +0x34, 0x101d594\nLDR             X0, [X29,#0x30+var_8]                                  ; +0x38, 0x101d598\nLDP             X19, X20, [SP,#0x30+var_20]                            ; +0x3c, 0x101d59c\nLDP             X29, X30, [SP+0x30+var_30],#0x30                       ; +0x40, 0x101d5a0\nRET                                                                    ; +0x44, 0x101d5a4\nADRP            X3, #aCryptoEngineTb_2@PAGE; \"crypto/engine/tb_pkmeth.c\" ; +0x48, 0x101d5a8\nMOV             W0, #0x26 ; '&'                                        ; +0x4c, 0x101d5ac\nMOV             W1, #0xC0                                              ; +0x50, 0x101d5b0\nMOV             W2, #0x65 ; 'e'                                        ; +0x54, 0x101d5b4\nADD             X3, X3, #aCryptoEngineTb_2@PAGEOFF; \"crypto/engine/tb_pkmeth.c\" ; +0x58, 0x101d5b8\nMOV             W4, #0x4C ; 'L'                                        ; +0x5c, 0x101d5bc\nBL              ERR_put_error                                          ; +0x60, 0x101d5c0\nMOV             X0, #0                                                 ; +0x64, 0x101d5c4\nLDP             X19, X20, [SP,#0x30+var_20]                            ; +0x68, 0x101d5c8\nLDP             X29, X30, [SP+0x30+var_30],#0x30                       ; +0x6c, 0x101d5cc\nRET                                                                    ; +0x70, 0x101d5d0", "xrefs": ["EVP_PKEY_CTX_new @ 0x102c338", "EVP_PKEY_CTX_new_id @ 0x102c580", "<???> @ 0x76df8"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "arm", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}