{"type": "func", "start": 14228080, "end": 14228176, "name": "EC_POINT_dup", "pseudocode": "// \n// EC_POINT_dup from 0xd91a70 to 0xd91ad0 (96 bytes)\n// \n// 2 xrefs:\n// > EC_KEY_set_public_key @ 0xd903d0\n// > <???> @ 0x48fc0\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\n__int64 __fastcall EC_POINT_dup(_QWORD *a1, __int64 *a2)\n{\n  _QWORD *v3; // x0\n  __int64 v4; // x19\n\n  if ( a1 )\n  {\n    v3 = EC_POINT_new(a2);\n    v4 = (__int64)v3;\n    if ( v3 )\n    {\n      if ( (unsigned int)EC_POINT_copy(v3, a1) )\n        return v4;\n      EC_POINT_free(v4);\n    }\n  }\n  return 0;\n}", "assembly": "; \n; EC_POINT_dup from 0xd91a70 to 0xd91ad0 (96 bytes)\n; \n; 2 xrefs:\n; > EC_KEY_set_public_key @ 0xd903d0\n; > <???> @ 0x48fc0\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, 0xd91a70\nMOV             X2, X0                                                 ; +0x4, 0xd91a74\nMOV             X29, SP                                                ; +0x8, 0xd91a78\nSTP             X19, X20, [SP,#var_s10]                                ; +0xc, 0xd91a7c\nCBZ             X0, loc_D91ABC                                         ; +0x10, 0xd91a80\nMOV             X0, X1                                                 ; +0x14, 0xd91a84\nMOV             X20, X2                                                ; +0x18, 0xd91a88\nBL              EC_POINT_new                                           ; +0x1c, 0xd91a8c\nMOV             X19, X0                                                ; +0x20, 0xd91a90\nCBZ             X0, loc_D91ABC                                         ; +0x24, 0xd91a94\nMOV             X1, X20                                                ; +0x28, 0xd91a98\nBL              EC_POINT_copy                                          ; +0x2c, 0xd91a9c\nCBZ             W0, loc_D91AB4                                         ; +0x30, 0xd91aa0\nMOV             X0, X19                                                ; +0x34, 0xd91aa4\nLDP             X19, X20, [SP,#var_s10]                                ; +0x38, 0xd91aa8\nLDP             X29, X30, [SP+var_s0],#0x20                            ; +0x3c, 0xd91aac\nRET                                                                    ; +0x40, 0xd91ab0\nMOV             X0, X19                                                ; +0x44, 0xd91ab4\nBL              EC_POINT_free                                          ; +0x48, 0xd91ab8\nMOV             X19, #0                                                ; +0x4c, 0xd91abc\nMOV             X0, X19                                                ; +0x50, 0xd91ac0\nLDP             X19, X20, [SP,#var_s10]                                ; +0x54, 0xd91ac4\nLDP             X29, X30, [SP+var_s0],#0x20                            ; +0x58, 0xd91ac8\nRET                                                                    ; +0x5c, 0xd91acc", "xrefs": ["EC_KEY_set_public_key @ 0xd903d0", "<???> @ 0x48fc0"], "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"}