{"type": "func", "start": 8410744, "end": 8410788, "name": "EVP_PKEY_set1_EC_KEY", "pseudocode": "// \n// EVP_PKEY_set1_EC_KEY from 0x805678 to 0x8056a4 (44 bytes)\n// \n// 3 xrefs:\n// > sub_7E3D80 @ 0x7e4538\n// > i2d_EC_PUBKEY @ 0x84ab38\n// > <???> @ 0x6113c\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_set1_EC_KEY(_DWORD *a1, int a2)\n{\n  int v3; // r5\n\n  v3 = EVP_PKEY_assign(a1, 408, a2);\n  if ( v3 )\n    EC_KEY_up_ref(a2);\n  return v3;\n}", "assembly": "; \n; EVP_PKEY_set1_EC_KEY from 0x805678 to 0x8056a4 (44 bytes)\n; \n; 3 xrefs:\n; > sub_7E3D80 @ 0x7e4538\n; > i2d_EC_PUBKEY @ 0x84ab38\n; > <???> @ 0x6113c\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\nPUSH            {R3-R5,LR}                                             ; +0x0, 0x805678\nMOV             R2, R1                                                 ; +0x4, 0x80567c\nMOV             R4, R1                                                 ; +0x8, 0x805680\nMOV             R1, #0x198                                             ; +0xc, 0x805684\nBL              EVP_PKEY_assign                                        ; +0x10, 0x805688\nSUBS            R5, R0, #0                                             ; +0x14, 0x80568c\nBEQ             loc_80569C                                             ; +0x18, 0x805690\nMOV             R0, R4                                                 ; +0x1c, 0x805694\nBL              EC_KEY_up_ref                                          ; +0x20, 0x805698\nMOV             R0, R5                                                 ; +0x24, 0x80569c\nPOP             {R3-R5,PC}                                             ; +0x28, 0x8056a0", "xrefs": ["sub_7E3D80 @ 0x7e4538", "i2d_EC_PUBKEY @ 0x84ab38", "<???> @ 0x6113c"], "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"}