{"type": "func", "start": 10483656, "end": 10483784, "name": "EC_POINT_set_to_infinity", "pseudocode": "// \n// EC_POINT_set_to_infinity from 0x9ff7c8 to 0x9ff848 (128 bytes)\n// \n// 10 xrefs:\n// > ec_wNAF_mul @ 0xa00bf4\n// > ec_wNAF_mul @ 0xa01640\n// > sub_A05194 @ 0xa06058\n// > ec_GFp_simple_oct2point @ 0xa0778c\n// > ec_GF2m_simple_oct2point @ 0xa9e20c\n// > ec_GF2m_simple_add @ 0xa9f388\n// > sub_AE6010 @ 0xae6098\n// > sub_AE6010 @ 0xae6660\n// > ec_GF2m_simple_mul @ 0xae6a1c\n// > <???> @ 0x7b51c\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_set_to_infinity(int a1, _DWORD *a2)\n{\n  int (*v2)(void); // r2\n\n  v2 = *(int (**)(void))(*(_DWORD *)a1 + 60);\n  if ( !v2 )\n  {\n    ERR_put_error(16, 127, 66, \"crypto/ec/ec_lib.c\", 640);\n    return 0;\n  }\n  if ( *(_DWORD *)a1 != *a2 )\n  {\n    ERR_put_error(16, 127, 101, \"crypto/ec/ec_lib.c\", 644);\n    return 0;\n  }\n  return v2();\n}", "assembly": "; \n; EC_POINT_set_to_infinity from 0x9ff7c8 to 0x9ff848 (128 bytes)\n; \n; 10 xrefs:\n; > ec_wNAF_mul @ 0xa00bf4\n; > ec_wNAF_mul @ 0xa01640\n; > sub_A05194 @ 0xa06058\n; > ec_GFp_simple_oct2point @ 0xa0778c\n; > ec_GF2m_simple_oct2point @ 0xa9e20c\n; > ec_GF2m_simple_add @ 0xa9f388\n; > sub_AE6010 @ 0xae6098\n; > sub_AE6010 @ 0xae6660\n; > ec_GF2m_simple_mul @ 0xae6a1c\n; > <???> @ 0x7b51c\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, 0x9ff7c8\nPUSH            {LR}                                                   ; +0x4, 0x9ff7cc\nLDR             R2, [R3,#0x3C]                                         ; +0x8, 0x9ff7d0\nSUB             SP, SP, #0xC                                           ; +0xc, 0x9ff7d4\nCMP             R2, #0                                                 ; +0x10, 0x9ff7d8\nBEQ             loc_9FF824                                             ; +0x14, 0x9ff7dc\nLDR             R12, [R1]                                              ; +0x18, 0x9ff7e0\nCMP             R3, R12                                                ; +0x1c, 0x9ff7e4\nBEQ             loc_9FF818                                             ; +0x20, 0x9ff7e8\nMOV             R3, #0x284                                             ; +0x24, 0x9ff7ec\nSTR             R3, [SP,#0xC+var_C]                                    ; +0x28, 0x9ff7f0\nLDR             R3, =(aCryptoEcEcLibC - 0x9FF80C); \"crypto/ec/ec_lib.c\" ; +0x2c, 0x9ff7f4\nMOV             R0, #0x10                                              ; +0x30, 0x9ff7f8\nMOV             R1, #0x7F                                              ; +0x34, 0x9ff7fc\nMOV             R2, #0x65 ; 'e'                                        ; +0x38, 0x9ff800\nADD             R3, PC, R3; \"crypto/ec/ec_lib.c\"                       ; +0x3c, 0x9ff804\nBL              ERR_put_error                                          ; +0x40, 0x9ff808\nMOV             R0, #0                                                 ; +0x44, 0x9ff80c\nADD             SP, SP, #0xC                                           ; +0x48, 0x9ff810\nPOP             {PC}                                                   ; +0x4c, 0x9ff814\nADD             SP, SP, #0xC                                           ; +0x50, 0x9ff818\nPOP             {LR}                                                   ; +0x54, 0x9ff81c\nBX              R2                                                     ; +0x58, 0x9ff820\nMOV             R3, #0x280                                             ; +0x5c, 0x9ff824\nSTR             R3, [SP,#0xC+var_C]                                    ; +0x60, 0x9ff828\nLDR             R3, =(aCryptoEcEcLibC - 0x9FF844); \"crypto/ec/ec_lib.c\" ; +0x64, 0x9ff82c\nMOV             R0, #0x10                                              ; +0x68, 0x9ff830\nMOV             R1, #0x7F                                              ; +0x6c, 0x9ff834\nMOV             R2, #0x42 ; 'B'                                        ; +0x70, 0x9ff838\nADD             R3, PC, R3; \"crypto/ec/ec_lib.c\"                       ; +0x74, 0x9ff83c\nBL              ERR_put_error                                          ; +0x78, 0x9ff840\nB               loc_9FF80C                                             ; +0x7c, 0x9ff844", "xrefs": ["ec_wNAF_mul @ 0xa00bf4", "ec_wNAF_mul @ 0xa01640", "sub_A05194 @ 0xa06058", "ec_GFp_simple_oct2point @ 0xa0778c", "ec_GF2m_simple_oct2point @ 0xa9e20c", "ec_GF2m_simple_add @ 0xa9f388", "sub_AE6010 @ 0xae6098", "sub_AE6010 @ 0xae6660", "ec_GF2m_simple_mul @ 0xae6a1c", "<???> @ 0x7b51c"], "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"}