{"type": "func", "start": 10483572, "end": 10483648, "name": "EC_POINT_dup", "pseudocode": "// \n// EC_POINT_dup from 0x9ff774 to 0x9ff7c0 (76 bytes)\n// \n// 2 xrefs:\n// > EC_KEY_set_public_key @ 0x9fe044\n// > <???> @ 0x7b1ec\n// \n// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 12:07:37 +0000\n// \n\nint __fastcall EC_POINT_dup(_DWORD *a1, int *a2)\n{\n  _DWORD *v3; // r0\n  int v4; // r4\n  int v5; // r5\n  int result; // r0\n\n  if ( !a1 )\n    return 0;\n  v3 = EC_POINT_new(a2);\n  v4 = (int)v3;\n  if ( !v3 )\n    return 0;\n  v5 = EC_POINT_copy(v3, a1);\n  result = v4;\n  if ( !v5 )\n  {\n    EC_POINT_free(v4);\n    return 0;\n  }\n  return result;\n}", "assembly": "; \n; EC_POINT_dup from 0x9ff774 to 0x9ff7c0 (76 bytes)\n; \n; 2 xrefs:\n; > EC_KEY_set_public_key @ 0x9fe044\n; > <???> @ 0x7b1ec\n; \n; This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 12:07:37 +0000\n; \nPUSH            {R3-R5,LR}                                             ; +0x0, 0x9ff774\nSUBS            R3, R0, #0                                             ; +0x4, 0x9ff778\nBEQ             loc_9FF7AC                                             ; +0x8, 0x9ff77c\nMOV             R0, R1                                                 ; +0xc, 0x9ff780\nMOV             R5, R3                                                 ; +0x10, 0x9ff784\nBL              EC_POINT_new                                           ; +0x14, 0x9ff788\nSUBS            R4, R0, #0                                             ; +0x18, 0x9ff78c\nBEQ             loc_9FF7AC                                             ; +0x1c, 0x9ff790\nMOV             R1, R5                                                 ; +0x20, 0x9ff794\nBL              EC_POINT_copy                                          ; +0x24, 0x9ff798\nSUBS            R5, R0, #0                                             ; +0x28, 0x9ff79c\nMOV             R0, R4                                                 ; +0x2c, 0x9ff7a0\nBEQ             loc_9FF7B4                                             ; +0x30, 0x9ff7a4\nPOP             {R3-R5,PC}                                             ; +0x34, 0x9ff7a8\nMOV             R0, #0                                                 ; +0x38, 0x9ff7ac\nPOP             {R3-R5,PC}                                             ; +0x3c, 0x9ff7b0\nBL              EC_POINT_free                                          ; +0x40, 0x9ff7b4\nMOV             R0, R5                                                 ; +0x44, 0x9ff7b8\nPOP             {R3-R5,PC}                                             ; +0x48, 0x9ff7bc", "xrefs": ["EC_KEY_set_public_key @ 0x9fe044", "<???> @ 0x7b1ec"], "is_objc": false, "is_32_bit": true, "is_64_bit": false, "idp_name": "arm", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}