{"type": "func", "start": 8408988, "end": 8409048, "name": "EVP_PKEY_cmp_parameters", "pseudocode": "// \n// EVP_PKEY_cmp_parameters from 0x804f9c to 0x804fd8 (60 bytes)\n// \n// 3 xrefs:\n// > EVP_PKEY_copy_parameters @ 0x80533c\n// > EVP_PKEY_derive_set_peer @ 0x8066e8\n// > <???> @ 0x63abc\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_cmp_parameters(_DWORD *a1, _DWORD *a2)\n{\n  int v2; // r3\n  int (*v3)(void); // r3\n\n  if ( *a1 != *a2 )\n    return -1;\n  v2 = a1[3];\n  if ( v2 && (v3 = *(int (**)(void))(v2 + 76)) != nullptr )\n    return v3();\n  else\n    return -2;\n}", "assembly": "; \n; EVP_PKEY_cmp_parameters from 0x804f9c to 0x804fd8 (60 bytes)\n; \n; 3 xrefs:\n; > EVP_PKEY_copy_parameters @ 0x80533c\n; > EVP_PKEY_derive_set_peer @ 0x8066e8\n; > <???> @ 0x63abc\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             R12, [R0]                                              ; +0x0, 0x804f9c\nLDR             R2, [R1]                                               ; +0x4, 0x804fa0\nCMP             R12, R2                                                ; +0x8, 0x804fa4\nBNE             loc_804FC8                                             ; +0xc, 0x804fa8\nLDR             R3, [R0,#0xC]                                          ; +0x10, 0x804fac\nCMP             R3, #0                                                 ; +0x14, 0x804fb0\nBEQ             loc_804FD0                                             ; +0x18, 0x804fb4\nLDR             R3, [R3,#0x4C]                                         ; +0x1c, 0x804fb8\nCMP             R3, #0                                                 ; +0x20, 0x804fbc\nBEQ             loc_804FD0                                             ; +0x24, 0x804fc0\nBX              R3                                                     ; +0x28, 0x804fc4\nMOV             R0, #0xFFFFFFFF                                        ; +0x2c, 0x804fc8\nBX              LR                                                     ; +0x30, 0x804fcc\nMOV             R0, #0xFFFFFFFE                                        ; +0x34, 0x804fd0\nBX              LR                                                     ; +0x38, 0x804fd4", "xrefs": ["EVP_PKEY_copy_parameters @ 0x80533c", "EVP_PKEY_derive_set_peer @ 0x8066e8", "<???> @ 0x63abc"], "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"}