{"type": "func", "start": 8410488, "end": 8410560, "name": "EVP_PKEY_get0_RSA", "pseudocode": "// \n// EVP_PKEY_get0_RSA from 0x805578 to 0x8055c0 (72 bytes)\n// \n// 10 xrefs:\n// > sub_64231C @ 0x642780\n// > sub_79B558 @ 0x79b628\n// > sub_79B6F4 @ 0x79b7c8\n// > SSL_use_PrivateKey @ 0x79bf4c\n// > SSL_CTX_use_PrivateKey @ 0x79c818\n// > tls_construct_client_key_exchange @ 0x7a2450\n// > tls_process_client_key_exchange @ 0x7ab1e0\n// > EVP_PKEY_get1_RSA @ 0x8055c8\n// > PEM_X509_INFO_write_bio @ 0x8ba6bc\n// > <???> @ 0x54e0c\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_RSA(_DWORD *a1)\n{\n  if ( *a1 == 6 )\n    return a1[5];\n  ERR_put_error(6, 121, 127, (int)\"crypto/evp/p_lib.c\", 264);\n  return 0;\n}", "assembly": "; \n; EVP_PKEY_get0_RSA from 0x805578 to 0x8055c0 (72 bytes)\n; \n; 10 xrefs:\n; > sub_64231C @ 0x642780\n; > sub_79B558 @ 0x79b628\n; > sub_79B6F4 @ 0x79b7c8\n; > SSL_use_PrivateKey @ 0x79bf4c\n; > SSL_CTX_use_PrivateKey @ 0x79c818\n; > tls_construct_client_key_exchange @ 0x7a2450\n; > tls_process_client_key_exchange @ 0x7ab1e0\n; > EVP_PKEY_get1_RSA @ 0x8055c8\n; > PEM_X509_INFO_write_bio @ 0x8ba6bc\n; > <???> @ 0x54e0c\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, 0x805578\nCMP             R3, #6                                                 ; +0x4, 0x80557c\nBNE             loc_80558C                                             ; +0x8, 0x805580\nLDR             R0, [R0,#0x14]                                         ; +0xc, 0x805584\nBX              LR                                                     ; +0x10, 0x805588\nPUSH            {LR}                                                   ; +0x14, 0x80558c\nMOV             R3, #0x108                                             ; +0x18, 0x805590\nSUB             SP, SP, #0xC                                           ; +0x1c, 0x805594\nSTR             R3, [SP,#0x10+var_10]                                  ; +0x20, 0x805598\nLDR             R3, =(aCryptoEvpPLibC - 0x8055B4); \"crypto/evp/p_lib.c\" ; +0x24, 0x80559c\nMOV             R0, #6                                                 ; +0x28, 0x8055a0\nMOV             R1, #0x79 ; 'y'                                        ; +0x2c, 0x8055a4\nMOV             R2, #0x7F                                              ; +0x30, 0x8055a8\nADD             R3, PC, R3; \"crypto/evp/p_lib.c\"                       ; +0x34, 0x8055ac\nBL              ERR_put_error                                          ; +0x38, 0x8055b0\nMOV             R0, #0                                                 ; +0x3c, 0x8055b4\nADD             SP, SP, #0xC                                           ; +0x40, 0x8055b8\nPOP             {PC}                                                   ; +0x44, 0x8055bc", "xrefs": ["sub_64231C @ 0x642780", "sub_79B558 @ 0x79b628", "sub_79B6F4 @ 0x79b7c8", "SSL_use_PrivateKey @ 0x79bf4c", "SSL_CTX_use_PrivateKey @ 0x79c818", "tls_construct_client_key_exchange @ 0x7a2450", "tls_process_client_key_exchange @ 0x7ab1e0", "EVP_PKEY_get1_RSA @ 0x8055c8", "PEM_X509_INFO_write_bio @ 0x8ba6bc", "<???> @ 0x54e0c"], "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"}