{"type": "func", "start": 17510520, "end": 17510616, "name": "EC_POINT_point2bn", "pseudocode": "// \n// EC_POINT_point2bn from 0x10b3078 to 0x10b30d8 (96 bytes)\n// \n// 2 xrefs:\n// > ECPKParameters_print @ 0x101424c\n// > <???> @ 0xfa738\n// \n// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\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 13:17:44 +0000\n// \n\n__int64 __fastcall EC_POINT_point2bn(__int64 a1, _QWORD *a2, __int64 a3, __int64 a4)\n{\n  __int64 result; // x0\n  unsigned __int64 *v6; // x19\n  _BYTE *v7; // [xsp+28h] [xbp+28h] BYREF\n\n  result = EC_POINT_point2buf(a1, a2, a3, (__int64 *)&v7);\n  if ( result )\n  {\n    v6 = BN_bin2bn(v7, result, a4);\n    CRYPTO_free(v7, (__int64)\"crypto/ec/ec_print.c\", 28);\n    return (__int64)v6;\n  }\n  return result;\n}", "assembly": "; \n; EC_POINT_point2bn from 0x10b3078 to 0x10b30d8 (96 bytes)\n; \n; 2 xrefs:\n; > ECPKParameters_print @ 0x101424c\n; > <???> @ 0xfa738\n; \n; This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\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 13:17:44 +0000\n; \nSTP             X29, X30, [SP,#var_30]!                                ; +0x0, 0x10b3078\nMOV             X29, SP                                                ; +0x4, 0x10b307c\nSTR             X19, [SP,#0x30+var_20]                                 ; +0x8, 0x10b3080\nMOV             X19, X3                                                ; +0xc, 0x10b3084\nADD             X3, X29, #0x30+var_8                                   ; +0x10, 0x10b3088\nBL              EC_POINT_point2buf                                     ; +0x14, 0x10b308c\nMOV             X1, X0                                                 ; +0x18, 0x10b3090\nCBZ             X0, loc_10B30CC                                        ; +0x1c, 0x10b3094\nLDR             X0, [X29,#0x30+var_8]                                  ; +0x20, 0x10b3098\nMOV             X2, X19                                                ; +0x24, 0x10b309c\nBL              BN_bin2bn                                              ; +0x28, 0x10b30a0\nMOV             X19, X0                                                ; +0x2c, 0x10b30a4\nADRP            X1, #aCryptoEcEcPrin@PAGE; \"crypto/ec/ec_print.c\"      ; +0x30, 0x10b30a8\nLDR             X0, [X29,#0x30+var_8]                                  ; +0x34, 0x10b30ac\nADD             X1, X1, #aCryptoEcEcPrin@PAGEOFF; \"crypto/ec/ec_print.c\" ; +0x38, 0x10b30b0\nMOV             W2, #0x1C                                              ; +0x3c, 0x10b30b4\nBL              CRYPTO_free                                            ; +0x40, 0x10b30b8\nMOV             X0, X19                                                ; +0x44, 0x10b30bc\nLDR             X19, [SP,#0x30+var_20]                                 ; +0x48, 0x10b30c0\nLDP             X29, X30, [SP+0x30+var_30],#0x30                       ; +0x4c, 0x10b30c4\nRET                                                                    ; +0x50, 0x10b30c8\nLDR             X19, [SP,#0x30+var_20]                                 ; +0x54, 0x10b30cc\nLDP             X29, X30, [SP+0x30+var_30],#0x30                       ; +0x58, 0x10b30d0\nRET                                                                    ; +0x5c, 0x10b30d4", "xrefs": ["ECPKParameters_print @ 0x101424c", "<???> @ 0xfa738"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "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"}