{"type": "func", "start": 14337536, "end": 14337596, "name": "EVP_PKEY_set1_EC_KEY", "pseudocode": "// \n// EVP_PKEY_set1_EC_KEY from 0xdac600 to 0xdac63c (60 bytes)\n// \n// 3 xrefs:\n// > sub_D8B4C0 @ 0xd8bae0\n// > i2d_EC_PUBKEY @ 0xdf250c\n// > <???> @ 0x6c090\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\nbool __fastcall EVP_PKEY_set1_EC_KEY(__int64 a1, __int64 a2)\n{\n  _BOOL4 v3; // w19\n\n  v3 = EVP_PKEY_assign(a1, 0x198u, a2);\n  if ( v3 )\n    EC_KEY_up_ref(a2);\n  return v3;\n}", "assembly": "; \n; EVP_PKEY_set1_EC_KEY from 0xdac600 to 0xdac63c (60 bytes)\n; \n; 3 xrefs:\n; > sub_D8B4C0 @ 0xd8bae0\n; > i2d_EC_PUBKEY @ 0xdf250c\n; > <???> @ 0x6c090\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\nSTP             X29, X30, [SP,#-0x20+var_s0]!                          ; +0x0, 0xdac600\nMOV             X29, SP                                                ; +0x4, 0xdac604\nSTP             X19, X20, [SP,#var_s10]                                ; +0x8, 0xdac608\nMOV             X20, X1                                                ; +0xc, 0xdac60c\nMOV             W1, #0x198                                             ; +0x10, 0xdac610\nMOV             X2, X20                                                ; +0x14, 0xdac614\nBL              EVP_PKEY_assign                                        ; +0x18, 0xdac618\nMOV             W19, W0                                                ; +0x1c, 0xdac61c\nCBZ             W0, loc_DAC62C                                         ; +0x20, 0xdac620\nMOV             X0, X20                                                ; +0x24, 0xdac624\nBL              EC_KEY_up_ref                                          ; +0x28, 0xdac628\nMOV             W0, W19                                                ; +0x2c, 0xdac62c\nLDP             X19, X20, [SP,#var_s10]                                ; +0x30, 0xdac630\nLDP             X29, X30, [SP+var_s0],#0x20                            ; +0x34, 0xdac634\nRET                                                                    ; +0x38, 0xdac638", "xrefs": ["sub_D8B4C0 @ 0xd8bae0", "i2d_EC_PUBKEY @ 0xdf250c", "<???> @ 0x6c090"], "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"}