{"type": "func", "start": 8410788, "end": 8410860, "name": "EVP_PKEY_get0_EC_KEY", "pseudocode": "// \n// EVP_PKEY_get0_EC_KEY from 0x8056a4 to 0x8056ec (72 bytes)\n// \n// 13 xrefs:\n// > sub_79B558 @ 0x79b654\n// > tls12_check_peer_sigalg @ 0x7b0a60\n// > tls1_check_chain @ 0x7b4448\n// > tls1_check_chain @ 0x7b4464\n// > sub_7E3D80 @ 0x7e3dcc\n// > sub_7E3D80 @ 0x7e3f30\n// > EVP_PKEY_get1_EC_KEY @ 0x8056f8\n// > X509_chain_check_suiteb @ 0x83ecf0\n// > X509_chain_check_suiteb @ 0x83ed80\n// > X509_chain_check_suiteb @ 0x83edcc\n// > X509_chain_check_suiteb @ 0x83eea0\n// > X509_CRL_check_suiteb @ 0x83efe0\n// > <???> @ 0x5c7ec\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 EVP_PKEY_get0_EC_KEY(_DWORD *a1)\n{\n  if ( *a1 == 408 )\n    return a1[5];\n  ERR_put_error(6, 131, 142, (int)\"crypto/evp/p_lib.c\", 319);\n  return 0;\n}", "assembly": "; \n; EVP_PKEY_get0_EC_KEY from 0x8056a4 to 0x8056ec (72 bytes)\n; \n; 13 xrefs:\n; > sub_79B558 @ 0x79b654\n; > tls12_check_peer_sigalg @ 0x7b0a60\n; > tls1_check_chain @ 0x7b4448\n; > tls1_check_chain @ 0x7b4464\n; > sub_7E3D80 @ 0x7e3dcc\n; > sub_7E3D80 @ 0x7e3f30\n; > EVP_PKEY_get1_EC_KEY @ 0x8056f8\n; > X509_chain_check_suiteb @ 0x83ecf0\n; > X509_chain_check_suiteb @ 0x83ed80\n; > X509_chain_check_suiteb @ 0x83edcc\n; > X509_chain_check_suiteb @ 0x83eea0\n; > X509_CRL_check_suiteb @ 0x83efe0\n; > <???> @ 0x5c7ec\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             R3, [R0]                                               ; +0x0, 0x8056a4\nCMP             R3, #0x198                                             ; +0x4, 0x8056a8\nBNE             loc_8056B8                                             ; +0x8, 0x8056ac\nLDR             R0, [R0,#0x14]                                         ; +0xc, 0x8056b0\nBX              LR                                                     ; +0x10, 0x8056b4\nPUSH            {LR}                                                   ; +0x14, 0x8056b8\nLDR             R3, =0x13F                                             ; +0x18, 0x8056bc\nSUB             SP, SP, #0xC                                           ; +0x1c, 0x8056c0\nSTR             R3, [SP,#0x10+var_10]                                  ; +0x20, 0x8056c4\nLDR             R3, =(aCryptoEvpPLibC - 0x8056E0); \"crypto/evp/p_lib.c\" ; +0x24, 0x8056c8\nMOV             R0, #6                                                 ; +0x28, 0x8056cc\nMOV             R1, #0x83                                              ; +0x2c, 0x8056d0\nMOV             R2, #0x8E                                              ; +0x30, 0x8056d4\nADD             R3, PC, R3; \"crypto/evp/p_lib.c\"                       ; +0x34, 0x8056d8\nBL              ERR_put_error                                          ; +0x38, 0x8056dc\nMOV             R0, #0                                                 ; +0x3c, 0x8056e0\nADD             SP, SP, #0xC                                           ; +0x40, 0x8056e4\nPOP             {PC}                                                   ; +0x44, 0x8056e8", "xrefs": ["sub_79B558 @ 0x79b654", "tls12_check_peer_sigalg @ 0x7b0a60", "tls1_check_chain @ 0x7b4448", "tls1_check_chain @ 0x7b4464", "sub_7E3D80 @ 0x7e3dcc", "sub_7E3D80 @ 0x7e3f30", "EVP_PKEY_get1_EC_KEY @ 0x8056f8", "X509_chain_check_suiteb @ 0x83ecf0", "X509_chain_check_suiteb @ 0x83ed80", "X509_chain_check_suiteb @ 0x83edcc", "X509_chain_check_suiteb @ 0x83eea0", "X509_CRL_check_suiteb @ 0x83efe0", "<???> @ 0x5c7ec"], "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"}