{"type": "func", "start": 8408796, "end": 8408848, "name": "EVP_PKEY_security_bits", "pseudocode": "// \n// EVP_PKEY_security_bits from 0x804edc to 0x804f10 (52 bytes)\n// \n// 9 xrefs:\n// > ssl3_ctrl @ 0x78f59c\n// > ssl3_ctx_ctrl @ 0x79021c\n// > tls_construct_server_key_exchange @ 0x7aa1d4\n// > ssl_get_auto_dh @ 0x7b4bb8\n// > ssl_security_cert @ 0x7b4cd4\n// > ssl_security_cert @ 0x7b4d78\n// > sub_843DE0 @ 0x8445d4\n// > X509_verify_cert @ 0x845174\n// > <???> @ 0x5af2c\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_security_bits(int a1)\n{\n  int v1; // r3\n  int (*v2)(void); // r3\n\n  if ( !a1 )\n    return 0;\n  v1 = *(_DWORD *)(a1 + 12);\n  if ( v1 && (v2 = *(int (**)(void))(v1 + 56)) != nullptr )\n    return v2();\n  else\n    return -2;\n}", "assembly": "; \n; EVP_PKEY_security_bits from 0x804edc to 0x804f10 (52 bytes)\n; \n; 9 xrefs:\n; > ssl3_ctrl @ 0x78f59c\n; > ssl3_ctx_ctrl @ 0x79021c\n; > tls_construct_server_key_exchange @ 0x7aa1d4\n; > ssl_get_auto_dh @ 0x7b4bb8\n; > ssl_security_cert @ 0x7b4cd4\n; > ssl_security_cert @ 0x7b4d78\n; > sub_843DE0 @ 0x8445d4\n; > X509_verify_cert @ 0x845174\n; > <???> @ 0x5af2c\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\nSUBS            R3, R0, #0                                             ; +0x0, 0x804edc\nBEQ             loc_804F00                                             ; +0x4, 0x804ee0\nLDR             R3, [R3,#0xC]                                          ; +0x8, 0x804ee4\nCMP             R3, #0                                                 ; +0xc, 0x804ee8\nBEQ             loc_804F08                                             ; +0x10, 0x804eec\nLDR             R3, [R3,#0x38]                                         ; +0x14, 0x804ef0\nCMP             R3, #0                                                 ; +0x18, 0x804ef4\nBEQ             loc_804F08                                             ; +0x1c, 0x804ef8\nBX              R3                                                     ; +0x20, 0x804efc\nMOV             R0, R3                                                 ; +0x24, 0x804f00\nBX              LR                                                     ; +0x28, 0x804f04\nMOV             R0, #0xFFFFFFFE                                        ; +0x2c, 0x804f08\nBX              LR                                                     ; +0x30, 0x804f0c", "xrefs": ["ssl3_ctrl @ 0x78f59c", "ssl3_ctx_ctrl @ 0x79021c", "tls_construct_server_key_exchange @ 0x7aa1d4", "ssl_get_auto_dh @ 0x7b4bb8", "ssl_security_cert @ 0x7b4cd4", "ssl_security_cert @ 0x7b4d78", "sub_843DE0 @ 0x8445d4", "X509_verify_cert @ 0x845174", "<???> @ 0x5af2c"], "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"}