{"type": "func", "start": 14229260, "end": 14229392, "name": "EC_POINT_is_at_infinity", "pseudocode": "// \n// EC_POINT_is_at_infinity from 0xd91f0c to 0xd91f90 (132 bytes)\n// \n// 26 xrefs:\n// > ec_key_simple_check_key @ 0xd90040\n// > ec_key_simple_check_key @ 0xd90178\n// > sub_D96B44 @ 0xd96b5c\n// > ec_GFp_simple_point2oct @ 0xd98a30\n// > ec_GFp_simple_point_get_affine_coordinates @ 0xd998cc\n// > ec_GFp_simple_dbl @ 0xd99bcc\n// > ec_GFp_simple_cmp @ 0xd9a2fc\n// > ec_GFp_simple_cmp @ 0xd9a30c\n// > ec_GFp_simple_cmp @ 0xd9a418\n// > ec_GFp_simple_add @ 0xd9a5b0\n// > ec_GFp_simple_add @ 0xd9a5c0\n// > ec_GFp_simple_invert @ 0xd9aafc\n// > ec_GFp_simple_is_on_curve @ 0xd9ab60\n// > ec_GFp_simple_make_affine @ 0xd9ae18\n// > ec_GF2m_simple_point2oct @ 0xe3294c\n// > ec_GF2m_simple_point_get_affine_coordinates @ 0xe33744\n// > ec_GF2m_simple_cmp @ 0xe33880\n// > ec_GF2m_simple_cmp @ 0xe33890\n// > ec_GF2m_simple_cmp @ 0xe33974\n// > ec_GF2m_simple_make_affine @ 0xe33a5c\n// > ec_GF2m_simple_is_on_curve @ 0xe33b50\n// > ec_GF2m_simple_add @ 0xe33ccc\n// > ec_GF2m_simple_add @ 0xe33d10\n// > ec_GF2m_simple_invert @ 0xe340b4\n// > sub_E7CC48 @ 0xe7cca8\n// > <???> @ 0x63f00\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_is_at_infinity(__int64 a1, _QWORD *a2)\n{\n  __int64 (*v2)(void); // x19\n\n  v2 = *(__int64 (**)(void))(*(_QWORD *)a1 + 200LL);\n  if ( v2 )\n  {\n    if ( *(_QWORD *)a1 == *a2 )\n    {\n      return v2();\n    }\n    else\n    {\n      ERR_put_error(16, 118, 101, \"crypto/ec/ec_lib.c\", 826);\n      return 0;\n    }\n  }\n  else\n  {\n    ERR_put_error(16, 118, 66, \"crypto/ec/ec_lib.c\", 822);\n    return 0;\n  }\n}", "assembly": "; \n; EC_POINT_is_at_infinity from 0xd91f0c to 0xd91f90 (132 bytes)\n; \n; 26 xrefs:\n; > ec_key_simple_check_key @ 0xd90040\n; > ec_key_simple_check_key @ 0xd90178\n; > sub_D96B44 @ 0xd96b5c\n; > ec_GFp_simple_point2oct @ 0xd98a30\n; > ec_GFp_simple_point_get_affine_coordinates @ 0xd998cc\n; > ec_GFp_simple_dbl @ 0xd99bcc\n; > ec_GFp_simple_cmp @ 0xd9a2fc\n; > ec_GFp_simple_cmp @ 0xd9a30c\n; > ec_GFp_simple_cmp @ 0xd9a418\n; > ec_GFp_simple_add @ 0xd9a5b0\n; > ec_GFp_simple_add @ 0xd9a5c0\n; > ec_GFp_simple_invert @ 0xd9aafc\n; > ec_GFp_simple_is_on_curve @ 0xd9ab60\n; > ec_GFp_simple_make_affine @ 0xd9ae18\n; > ec_GF2m_simple_point2oct @ 0xe3294c\n; > ec_GF2m_simple_point_get_affine_coordinates @ 0xe33744\n; > ec_GF2m_simple_cmp @ 0xe33880\n; > ec_GF2m_simple_cmp @ 0xe33890\n; > ec_GF2m_simple_cmp @ 0xe33974\n; > ec_GF2m_simple_make_affine @ 0xe33a5c\n; > ec_GF2m_simple_is_on_curve @ 0xe33b50\n; > ec_GF2m_simple_add @ 0xe33ccc\n; > ec_GF2m_simple_add @ 0xe33d10\n; > ec_GF2m_simple_invert @ 0xe340b4\n; > sub_E7CC48 @ 0xe7cca8\n; > <???> @ 0x63f00\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, 0xd91f0c\nMOV             X29, SP                                                ; +0x4, 0xd91f10\nLDR             X2, [X0]                                               ; +0x8, 0xd91f14\nSTR             X19, [SP,#0x20+var_10]                                 ; +0xc, 0xd91f18\nLDR             X19, [X2,#0xC8]                                        ; +0x10, 0xd91f1c\nCBZ             X19, loc_D91F6C                                        ; +0x14, 0xd91f20\nLDR             X3, [X1]                                               ; +0x18, 0xd91f24\nCMP             X2, X3                                                 ; +0x1c, 0xd91f28\nB.EQ            loc_D91F5C                                             ; +0x20, 0xd91f2c\nADRP            X3, #aCryptoEcEcLibC@PAGE; \"crypto/ec/ec_lib.c\"        ; +0x24, 0xd91f30\nMOV             W0, #0x10                                              ; +0x28, 0xd91f34\nMOV             W1, #0x76 ; 'v'                                        ; +0x2c, 0xd91f38\nMOV             W2, #0x65 ; 'e'                                        ; +0x30, 0xd91f3c\nADD             X3, X3, #aCryptoEcEcLibC@PAGEOFF; \"crypto/ec/ec_lib.c\" ; +0x34, 0xd91f40\nMOV             W4, #0x33A                                             ; +0x38, 0xd91f44\nBL              ERR_put_error                                          ; +0x3c, 0xd91f48\nMOV             W0, #0                                                 ; +0x40, 0xd91f4c\nLDR             X19, [SP,#0x20+var_10]                                 ; +0x44, 0xd91f50\nLDP             X29, X30, [SP+0x20+var_20],#0x20                       ; +0x48, 0xd91f54\nRET                                                                    ; +0x4c, 0xd91f58\nBLR             X19                                                    ; +0x50, 0xd91f5c\nLDR             X19, [SP,#0x20+var_10]                                 ; +0x54, 0xd91f60\nLDP             X29, X30, [SP+0x20+var_20],#0x20                       ; +0x58, 0xd91f64\nRET                                                                    ; +0x5c, 0xd91f68\nADRP            X3, #aCryptoEcEcLibC@PAGE; \"crypto/ec/ec_lib.c\"        ; +0x60, 0xd91f6c\nMOV             W0, #0x10                                              ; +0x64, 0xd91f70\nMOV             W1, #0x76 ; 'v'                                        ; +0x68, 0xd91f74\nMOV             W2, #0x42 ; 'B'                                        ; +0x6c, 0xd91f78\nADD             X3, X3, #aCryptoEcEcLibC@PAGEOFF; \"crypto/ec/ec_lib.c\" ; +0x70, 0xd91f7c\nMOV             W4, #0x336                                             ; +0x74, 0xd91f80\nBL              ERR_put_error                                          ; +0x78, 0xd91f84\nMOV             W0, W19                                                ; +0x7c, 0xd91f88\nB               loc_D91F50                                             ; +0x80, 0xd91f8c", "xrefs": ["ec_key_simple_check_key @ 0xd90040", "ec_key_simple_check_key @ 0xd90178", "sub_D96B44 @ 0xd96b5c", "ec_GFp_simple_point2oct @ 0xd98a30", "ec_GFp_simple_point_get_affine_coordinates @ 0xd998cc", "ec_GFp_simple_dbl @ 0xd99bcc", "ec_GFp_simple_cmp @ 0xd9a2fc", "ec_GFp_simple_cmp @ 0xd9a30c", "ec_GFp_simple_cmp @ 0xd9a418", "ec_GFp_simple_add @ 0xd9a5b0", "ec_GFp_simple_add @ 0xd9a5c0", "ec_GFp_simple_invert @ 0xd9aafc", "ec_GFp_simple_is_on_curve @ 0xd9ab60", "ec_GFp_simple_make_affine @ 0xd9ae18", "ec_GF2m_simple_point2oct @ 0xe3294c", "ec_GF2m_simple_point_get_affine_coordinates @ 0xe33744", "ec_GF2m_simple_cmp @ 0xe33880", "ec_GF2m_simple_cmp @ 0xe33890", "ec_GF2m_simple_cmp @ 0xe33974", "ec_GF2m_simple_make_affine @ 0xe33a5c", "ec_GF2m_simple_is_on_curve @ 0xe33b50", "ec_GF2m_simple_add @ 0xe33ccc", "ec_GF2m_simple_add @ 0xe33d10", "ec_GF2m_simple_invert @ 0xe340b4", "sub_E7CC48 @ 0xe7cca8", "<???> @ 0x63f00"], "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"}