{"type": "func", "start": 8302752, "end": 8302880, "name": "EC_POINT_is_at_infinity", "pseudocode": "// \n// EC_POINT_is_at_infinity from 0x7eb0a0 to 0x7eb120 (128 bytes)\n// \n// 26 xrefs:\n// > ec_key_simple_check_key @ 0x7e9064\n// > ec_key_simple_check_key @ 0x7e91b0\n// > sub_7F02F0 @ 0x7f0304\n// > ec_GFp_simple_point2oct @ 0x7f26f4\n// > ec_GFp_simple_point_get_affine_coordinates @ 0x7f3594\n// > ec_GFp_simple_dbl @ 0x7f38b4\n// > ec_GFp_simple_cmp @ 0x7f4044\n// > ec_GFp_simple_cmp @ 0x7f4058\n// > ec_GFp_simple_cmp @ 0x7f4164\n// > ec_GFp_simple_add @ 0x7f431c\n// > ec_GFp_simple_add @ 0x7f4338\n// > ec_GFp_simple_invert @ 0x7f48c0\n// > ec_GFp_simple_is_on_curve @ 0x7f490c\n// > ec_GFp_simple_make_affine @ 0x7f4c04\n// > ec_GF2m_simple_point2oct @ 0x889124\n// > ec_GF2m_simple_point_get_affine_coordinates @ 0x889e80\n// > ec_GF2m_simple_cmp @ 0x889f90\n// > ec_GF2m_simple_cmp @ 0x889fa4\n// > ec_GF2m_simple_cmp @ 0x88a074\n// > ec_GF2m_simple_make_affine @ 0x88a138\n// > ec_GF2m_simple_is_on_curve @ 0x88a224\n// > ec_GF2m_simple_add @ 0x88a39c\n// > ec_GF2m_simple_add @ 0x88a3d0\n// > ec_GF2m_simple_invert @ 0x88a7c4\n// > sub_8D1010 @ 0x8d1068\n// > <???> @ 0x6172c\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\nint __fastcall EC_POINT_is_at_infinity(int a1, _DWORD *a2)\n{\n  int (*v2)(void); // r2\n\n  v2 = *(int (**)(void))(*(_DWORD *)a1 + 104);\n  if ( !v2 )\n  {\n    ERR_put_error(16, 118, 66, \"crypto/ec/ec_lib.c\", 822);\n    return 0;\n  }\n  if ( *(_DWORD *)a1 != *a2 )\n  {\n    ERR_put_error(16, 118, 101, \"crypto/ec/ec_lib.c\", 826);\n    return 0;\n  }\n  return v2();\n}", "assembly": "; \n; EC_POINT_is_at_infinity from 0x7eb0a0 to 0x7eb120 (128 bytes)\n; \n; 26 xrefs:\n; > ec_key_simple_check_key @ 0x7e9064\n; > ec_key_simple_check_key @ 0x7e91b0\n; > sub_7F02F0 @ 0x7f0304\n; > ec_GFp_simple_point2oct @ 0x7f26f4\n; > ec_GFp_simple_point_get_affine_coordinates @ 0x7f3594\n; > ec_GFp_simple_dbl @ 0x7f38b4\n; > ec_GFp_simple_cmp @ 0x7f4044\n; > ec_GFp_simple_cmp @ 0x7f4058\n; > ec_GFp_simple_cmp @ 0x7f4164\n; > ec_GFp_simple_add @ 0x7f431c\n; > ec_GFp_simple_add @ 0x7f4338\n; > ec_GFp_simple_invert @ 0x7f48c0\n; > ec_GFp_simple_is_on_curve @ 0x7f490c\n; > ec_GFp_simple_make_affine @ 0x7f4c04\n; > ec_GF2m_simple_point2oct @ 0x889124\n; > ec_GF2m_simple_point_get_affine_coordinates @ 0x889e80\n; > ec_GF2m_simple_cmp @ 0x889f90\n; > ec_GF2m_simple_cmp @ 0x889fa4\n; > ec_GF2m_simple_cmp @ 0x88a074\n; > ec_GF2m_simple_make_affine @ 0x88a138\n; > ec_GF2m_simple_is_on_curve @ 0x88a224\n; > ec_GF2m_simple_add @ 0x88a39c\n; > ec_GF2m_simple_add @ 0x88a3d0\n; > ec_GF2m_simple_invert @ 0x88a7c4\n; > sub_8D1010 @ 0x8d1068\n; > <???> @ 0x6172c\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\nLDR             R3, [R0]                                               ; +0x0, 0x7eb0a0\nPUSH            {LR}                                                   ; +0x4, 0x7eb0a4\nLDR             R2, [R3,#0x68]                                         ; +0x8, 0x7eb0a8\nSUB             SP, SP, #0xC                                           ; +0xc, 0x7eb0ac\nCMP             R2, #0                                                 ; +0x10, 0x7eb0b0\nBEQ             loc_7EB0FC                                             ; +0x14, 0x7eb0b4\nLDR             R12, [R1]                                              ; +0x18, 0x7eb0b8\nCMP             R3, R12                                                ; +0x1c, 0x7eb0bc\nBEQ             loc_7EB0F0                                             ; +0x20, 0x7eb0c0\nLDR             R3, =0x33A                                             ; +0x24, 0x7eb0c4\nSTR             R3, [SP,#0xC+var_C]                                    ; +0x28, 0x7eb0c8\nLDR             R3, =(aCryptoEcEcLibC - 0x7EB0E4); \"crypto/ec/ec_lib.c\" ; +0x2c, 0x7eb0cc\nMOV             R0, #0x10                                              ; +0x30, 0x7eb0d0\nMOV             R1, #0x76 ; 'v'                                        ; +0x34, 0x7eb0d4\nMOV             R2, #0x65 ; 'e'                                        ; +0x38, 0x7eb0d8\nADD             R3, PC, R3; \"crypto/ec/ec_lib.c\"                       ; +0x3c, 0x7eb0dc\nBL              ERR_put_error                                          ; +0x40, 0x7eb0e0\nMOV             R0, #0                                                 ; +0x44, 0x7eb0e4\nADD             SP, SP, #0xC                                           ; +0x48, 0x7eb0e8\nPOP             {PC}                                                   ; +0x4c, 0x7eb0ec\nADD             SP, SP, #0xC                                           ; +0x50, 0x7eb0f0\nPOP             {LR}                                                   ; +0x54, 0x7eb0f4\nBX              R2                                                     ; +0x58, 0x7eb0f8\nLDR             R3, =0x336                                             ; +0x5c, 0x7eb0fc\nSTR             R3, [SP,#0xC+var_C]                                    ; +0x60, 0x7eb100\nLDR             R3, =(aCryptoEcEcLibC - 0x7EB11C); \"crypto/ec/ec_lib.c\" ; +0x64, 0x7eb104\nMOV             R0, #0x10                                              ; +0x68, 0x7eb108\nMOV             R1, #0x76 ; 'v'                                        ; +0x6c, 0x7eb10c\nMOV             R2, #0x42 ; 'B'                                        ; +0x70, 0x7eb110\nADD             R3, PC, R3; \"crypto/ec/ec_lib.c\"                       ; +0x74, 0x7eb114\nBL              ERR_put_error                                          ; +0x78, 0x7eb118\nB               loc_7EB0E4                                             ; +0x7c, 0x7eb11c", "xrefs": ["ec_key_simple_check_key @ 0x7e9064", "ec_key_simple_check_key @ 0x7e91b0", "sub_7F02F0 @ 0x7f0304", "ec_GFp_simple_point2oct @ 0x7f26f4", "ec_GFp_simple_point_get_affine_coordinates @ 0x7f3594", "ec_GFp_simple_dbl @ 0x7f38b4", "ec_GFp_simple_cmp @ 0x7f4044", "ec_GFp_simple_cmp @ 0x7f4058", "ec_GFp_simple_cmp @ 0x7f4164", "ec_GFp_simple_add @ 0x7f431c", "ec_GFp_simple_add @ 0x7f4338", "ec_GFp_simple_invert @ 0x7f48c0", "ec_GFp_simple_is_on_curve @ 0x7f490c", "ec_GFp_simple_make_affine @ 0x7f4c04", "ec_GF2m_simple_point2oct @ 0x889124", "ec_GF2m_simple_point_get_affine_coordinates @ 0x889e80", "ec_GF2m_simple_cmp @ 0x889f90", "ec_GF2m_simple_cmp @ 0x889fa4", "ec_GF2m_simple_cmp @ 0x88a074", "ec_GF2m_simple_make_affine @ 0x88a138", "ec_GF2m_simple_is_on_curve @ 0x88a224", "ec_GF2m_simple_add @ 0x88a39c", "ec_GF2m_simple_add @ 0x88a3d0", "ec_GF2m_simple_invert @ 0x88a7c4", "sub_8D1010 @ 0x8d1068", "<???> @ 0x6172c"], "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"}