{"type": "func", "start": 10484896, "end": 10485024, "name": "EC_POINT_is_at_infinity", "pseudocode": "// \n// EC_POINT_is_at_infinity from 0x9ffca0 to 0x9ffd20 (128 bytes)\n// \n// 26 xrefs:\n// > ec_key_simple_check_key @ 0x9fdc64\n// > ec_key_simple_check_key @ 0x9fddb0\n// > sub_A04EF0 @ 0xa04f04\n// > ec_GFp_simple_point2oct @ 0xa072f4\n// > ec_GFp_simple_point_get_affine_coordinates @ 0xa08194\n// > ec_GFp_simple_dbl @ 0xa084b4\n// > ec_GFp_simple_cmp @ 0xa08c44\n// > ec_GFp_simple_cmp @ 0xa08c58\n// > ec_GFp_simple_cmp @ 0xa08d64\n// > ec_GFp_simple_add @ 0xa08f1c\n// > ec_GFp_simple_add @ 0xa08f38\n// > ec_GFp_simple_invert @ 0xa094c0\n// > ec_GFp_simple_is_on_curve @ 0xa0950c\n// > ec_GFp_simple_make_affine @ 0xa09804\n// > ec_GF2m_simple_point2oct @ 0xa9dd24\n// > ec_GF2m_simple_point_get_affine_coordinates @ 0xa9ea80\n// > ec_GF2m_simple_cmp @ 0xa9eb90\n// > ec_GF2m_simple_cmp @ 0xa9eba4\n// > ec_GF2m_simple_cmp @ 0xa9ec74\n// > ec_GF2m_simple_make_affine @ 0xa9ed38\n// > ec_GF2m_simple_is_on_curve @ 0xa9ee24\n// > ec_GF2m_simple_add @ 0xa9ef9c\n// > ec_GF2m_simple_add @ 0xa9efd0\n// > ec_GF2m_simple_invert @ 0xa9f3c4\n// > sub_AE6010 @ 0xae6068\n// > <???> @ 0x7b1ac\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_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 0x9ffca0 to 0x9ffd20 (128 bytes)\n; \n; 26 xrefs:\n; > ec_key_simple_check_key @ 0x9fdc64\n; > ec_key_simple_check_key @ 0x9fddb0\n; > sub_A04EF0 @ 0xa04f04\n; > ec_GFp_simple_point2oct @ 0xa072f4\n; > ec_GFp_simple_point_get_affine_coordinates @ 0xa08194\n; > ec_GFp_simple_dbl @ 0xa084b4\n; > ec_GFp_simple_cmp @ 0xa08c44\n; > ec_GFp_simple_cmp @ 0xa08c58\n; > ec_GFp_simple_cmp @ 0xa08d64\n; > ec_GFp_simple_add @ 0xa08f1c\n; > ec_GFp_simple_add @ 0xa08f38\n; > ec_GFp_simple_invert @ 0xa094c0\n; > ec_GFp_simple_is_on_curve @ 0xa0950c\n; > ec_GFp_simple_make_affine @ 0xa09804\n; > ec_GF2m_simple_point2oct @ 0xa9dd24\n; > ec_GF2m_simple_point_get_affine_coordinates @ 0xa9ea80\n; > ec_GF2m_simple_cmp @ 0xa9eb90\n; > ec_GF2m_simple_cmp @ 0xa9eba4\n; > ec_GF2m_simple_cmp @ 0xa9ec74\n; > ec_GF2m_simple_make_affine @ 0xa9ed38\n; > ec_GF2m_simple_is_on_curve @ 0xa9ee24\n; > ec_GF2m_simple_add @ 0xa9ef9c\n; > ec_GF2m_simple_add @ 0xa9efd0\n; > ec_GF2m_simple_invert @ 0xa9f3c4\n; > sub_AE6010 @ 0xae6068\n; > <???> @ 0x7b1ac\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; \nLDR             R3, [R0]                                               ; +0x0, 0x9ffca0\nPUSH            {LR}                                                   ; +0x4, 0x9ffca4\nLDR             R2, [R3,#0x68]                                         ; +0x8, 0x9ffca8\nSUB             SP, SP, #0xC                                           ; +0xc, 0x9ffcac\nCMP             R2, #0                                                 ; +0x10, 0x9ffcb0\nBEQ             loc_9FFCFC                                             ; +0x14, 0x9ffcb4\nLDR             R12, [R1]                                              ; +0x18, 0x9ffcb8\nCMP             R3, R12                                                ; +0x1c, 0x9ffcbc\nBEQ             loc_9FFCF0                                             ; +0x20, 0x9ffcc0\nLDR             R3, =0x33A                                             ; +0x24, 0x9ffcc4\nSTR             R3, [SP,#0xC+var_C]                                    ; +0x28, 0x9ffcc8\nLDR             R3, =(aCryptoEcEcLibC - 0x9FFCE4); \"crypto/ec/ec_lib.c\" ; +0x2c, 0x9ffccc\nMOV             R0, #0x10                                              ; +0x30, 0x9ffcd0\nMOV             R1, #0x76 ; 'v'                                        ; +0x34, 0x9ffcd4\nMOV             R2, #0x65 ; 'e'                                        ; +0x38, 0x9ffcd8\nADD             R3, PC, R3; \"crypto/ec/ec_lib.c\"                       ; +0x3c, 0x9ffcdc\nBL              ERR_put_error                                          ; +0x40, 0x9ffce0\nMOV             R0, #0                                                 ; +0x44, 0x9ffce4\nADD             SP, SP, #0xC                                           ; +0x48, 0x9ffce8\nPOP             {PC}                                                   ; +0x4c, 0x9ffcec\nADD             SP, SP, #0xC                                           ; +0x50, 0x9ffcf0\nPOP             {LR}                                                   ; +0x54, 0x9ffcf4\nBX              R2                                                     ; +0x58, 0x9ffcf8\nLDR             R3, =0x336                                             ; +0x5c, 0x9ffcfc\nSTR             R3, [SP,#0xC+var_C]                                    ; +0x60, 0x9ffd00\nLDR             R3, =(aCryptoEcEcLibC - 0x9FFD1C); \"crypto/ec/ec_lib.c\" ; +0x64, 0x9ffd04\nMOV             R0, #0x10                                              ; +0x68, 0x9ffd08\nMOV             R1, #0x76 ; 'v'                                        ; +0x6c, 0x9ffd0c\nMOV             R2, #0x42 ; 'B'                                        ; +0x70, 0x9ffd10\nADD             R3, PC, R3; \"crypto/ec/ec_lib.c\"                       ; +0x74, 0x9ffd14\nBL              ERR_put_error                                          ; +0x78, 0x9ffd18\nB               loc_9FFCE4                                             ; +0x7c, 0x9ffd1c", "xrefs": ["ec_key_simple_check_key @ 0x9fdc64", "ec_key_simple_check_key @ 0x9fddb0", "sub_A04EF0 @ 0xa04f04", "ec_GFp_simple_point2oct @ 0xa072f4", "ec_GFp_simple_point_get_affine_coordinates @ 0xa08194", "ec_GFp_simple_dbl @ 0xa084b4", "ec_GFp_simple_cmp @ 0xa08c44", "ec_GFp_simple_cmp @ 0xa08c58", "ec_GFp_simple_cmp @ 0xa08d64", "ec_GFp_simple_add @ 0xa08f1c", "ec_GFp_simple_add @ 0xa08f38", "ec_GFp_simple_invert @ 0xa094c0", "ec_GFp_simple_is_on_curve @ 0xa0950c", "ec_GFp_simple_make_affine @ 0xa09804", "ec_GF2m_simple_point2oct @ 0xa9dd24", "ec_GF2m_simple_point_get_affine_coordinates @ 0xa9ea80", "ec_GF2m_simple_cmp @ 0xa9eb90", "ec_GF2m_simple_cmp @ 0xa9eba4", "ec_GF2m_simple_cmp @ 0xa9ec74", "ec_GF2m_simple_make_affine @ 0xa9ed38", "ec_GF2m_simple_is_on_curve @ 0xa9ee24", "ec_GF2m_simple_add @ 0xa9ef9c", "ec_GF2m_simple_add @ 0xa9efd0", "ec_GF2m_simple_invert @ 0xa9f3c4", "sub_AE6010 @ 0xae6068", "<???> @ 0x7b1ac"], "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"}