{"type": "func", "start": 14228184, "end": 14228316, "name": "EC_POINT_set_to_infinity", "pseudocode": "// \n// EC_POINT_set_to_infinity from 0xd91ad8 to 0xd91b5c (132 bytes)\n// \n// 10 xrefs:\n// > ec_wNAF_mul @ 0xd92bec\n// > ec_wNAF_mul @ 0xd9379c\n// > sub_D96D88 @ 0xd96e68\n// > ec_GFp_simple_oct2point @ 0xd98ecc\n// > ec_GF2m_simple_oct2point @ 0xe32e38\n// > ec_GF2m_simple_add @ 0xe3407c\n// > sub_E7CC48 @ 0xe7cd0c\n// > sub_E7CC48 @ 0xe7d238\n// > ec_GF2m_simple_mul @ 0xe7d5b8\n// > <???> @ 0xa5d80\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_set_to_infinity(__int64 a1, _QWORD *a2)\n{\n  __int64 (*v2)(void); // x19\n\n  v2 = *(__int64 (**)(void))(*(_QWORD *)a1 + 112LL);\n  if ( v2 )\n  {\n    if ( *(_QWORD *)a1 == *a2 )\n    {\n      return v2();\n    }\n    else\n    {\n      ERR_put_error(16, 127, 101, \"crypto/ec/ec_lib.c\", 644);\n      return 0;\n    }\n  }\n  else\n  {\n    ERR_put_error(16, 127, 66, \"crypto/ec/ec_lib.c\", 640);\n    return 0;\n  }\n}", "assembly": "; \n; EC_POINT_set_to_infinity from 0xd91ad8 to 0xd91b5c (132 bytes)\n; \n; 10 xrefs:\n; > ec_wNAF_mul @ 0xd92bec\n; > ec_wNAF_mul @ 0xd9379c\n; > sub_D96D88 @ 0xd96e68\n; > ec_GFp_simple_oct2point @ 0xd98ecc\n; > ec_GF2m_simple_oct2point @ 0xe32e38\n; > ec_GF2m_simple_add @ 0xe3407c\n; > sub_E7CC48 @ 0xe7cd0c\n; > sub_E7CC48 @ 0xe7d238\n; > ec_GF2m_simple_mul @ 0xe7d5b8\n; > <???> @ 0xa5d80\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,#var_20]!                                ; +0x0, 0xd91ad8\nMOV             X29, SP                                                ; +0x4, 0xd91adc\nLDR             X2, [X0]                                               ; +0x8, 0xd91ae0\nSTR             X19, [SP,#0x20+var_10]                                 ; +0xc, 0xd91ae4\nLDR             X19, [X2,#0x70]                                        ; +0x10, 0xd91ae8\nCBZ             X19, loc_D91B38                                        ; +0x14, 0xd91aec\nLDR             X3, [X1]                                               ; +0x18, 0xd91af0\nCMP             X2, X3                                                 ; +0x1c, 0xd91af4\nB.EQ            loc_D91B28                                             ; +0x20, 0xd91af8\nADRP            X3, #aCryptoEcEcLibC@PAGE; \"crypto/ec/ec_lib.c\"        ; +0x24, 0xd91afc\nMOV             W0, #0x10                                              ; +0x28, 0xd91b00\nMOV             W1, #0x7F                                              ; +0x2c, 0xd91b04\nMOV             W2, #0x65 ; 'e'                                        ; +0x30, 0xd91b08\nADD             X3, X3, #aCryptoEcEcLibC@PAGEOFF; \"crypto/ec/ec_lib.c\" ; +0x34, 0xd91b0c\nMOV             W4, #0x284                                             ; +0x38, 0xd91b10\nBL              ERR_put_error                                          ; +0x3c, 0xd91b14\nMOV             W0, #0                                                 ; +0x40, 0xd91b18\nLDR             X19, [SP,#0x20+var_10]                                 ; +0x44, 0xd91b1c\nLDP             X29, X30, [SP+0x20+var_20],#0x20                       ; +0x48, 0xd91b20\nRET                                                                    ; +0x4c, 0xd91b24\nBLR             X19                                                    ; +0x50, 0xd91b28\nLDR             X19, [SP,#0x20+var_10]                                 ; +0x54, 0xd91b2c\nLDP             X29, X30, [SP+0x20+var_20],#0x20                       ; +0x58, 0xd91b30\nRET                                                                    ; +0x5c, 0xd91b34\nADRP            X3, #aCryptoEcEcLibC@PAGE; \"crypto/ec/ec_lib.c\"        ; +0x60, 0xd91b38\nMOV             W0, #0x10                                              ; +0x64, 0xd91b3c\nMOV             W1, #0x7F                                              ; +0x68, 0xd91b40\nMOV             W2, #0x42 ; 'B'                                        ; +0x6c, 0xd91b44\nADD             X3, X3, #aCryptoEcEcLibC@PAGEOFF; \"crypto/ec/ec_lib.c\" ; +0x70, 0xd91b48\nMOV             W4, #0x280                                             ; +0x74, 0xd91b4c\nBL              ERR_put_error                                          ; +0x78, 0xd91b50\nMOV             W0, W19                                                ; +0x7c, 0xd91b54\nB               loc_D91B1C                                             ; +0x80, 0xd91b58", "xrefs": ["ec_wNAF_mul @ 0xd92bec", "ec_wNAF_mul @ 0xd9379c", "sub_D96D88 @ 0xd96e68", "ec_GFp_simple_oct2point @ 0xd98ecc", "ec_GF2m_simple_oct2point @ 0xe32e38", "ec_GF2m_simple_add @ 0xe3407c", "sub_E7CC48 @ 0xe7cd0c", "sub_E7CC48 @ 0xe7d238", "ec_GF2m_simple_mul @ 0xe7d5b8", "<???> @ 0xa5d80"], "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"}