{"type": "func", "start": 8304296, "end": 8304424, "name": "EC_POINT_make_affine", "pseudocode": "// \n// EC_POINT_make_affine from 0x7eb6a8 to 0x7eb728 (128 bytes)\n// \n// 3 xrefs:\n// > sub_7F1BA0 @ 0x7f1fcc\n// > ec_GF2m_simple_invert @ 0x88a7f4\n// > <???> @ 0x61afc\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_make_affine(int a1, _DWORD *a2)\n{\n  int (*v2)(void); // r12\n\n  v2 = *(int (**)(void))(*(_DWORD *)a1 + 116);\n  if ( !v2 )\n  {\n    ERR_put_error(16, 120, 66, \"crypto/ec/ec_lib.c\", 870);\n    return 0;\n  }\n  if ( *(_DWORD *)a1 != *a2 )\n  {\n    ERR_put_error(16, 120, 101, \"crypto/ec/ec_lib.c\", 874);\n    return 0;\n  }\n  return v2();\n}", "assembly": "; \n; EC_POINT_make_affine from 0x7eb6a8 to 0x7eb728 (128 bytes)\n; \n; 3 xrefs:\n; > sub_7F1BA0 @ 0x7f1fcc\n; > ec_GF2m_simple_invert @ 0x88a7f4\n; > <???> @ 0x61afc\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, 0x7eb6a8\nPUSH            {LR}                                                   ; +0x4, 0x7eb6ac\nLDR             R12, [R3,#0x74]                                        ; +0x8, 0x7eb6b0\nSUB             SP, SP, #0xC                                           ; +0xc, 0x7eb6b4\nCMP             R12, #0                                                ; +0x10, 0x7eb6b8\nBEQ             loc_7EB704                                             ; +0x14, 0x7eb6bc\nLDR             LR, [R1]                                               ; +0x18, 0x7eb6c0\nCMP             R3, LR                                                 ; +0x1c, 0x7eb6c4\nBEQ             loc_7EB6F8                                             ; +0x20, 0x7eb6c8\nLDR             R3, =0x36A                                             ; +0x24, 0x7eb6cc\nSTR             R3, [SP,#0xC+var_C]                                    ; +0x28, 0x7eb6d0\nLDR             R3, =(aCryptoEcEcLibC - 0x7EB6EC); \"crypto/ec/ec_lib.c\" ; +0x2c, 0x7eb6d4\nMOV             R0, #0x10                                              ; +0x30, 0x7eb6d8\nMOV             R1, #0x78 ; 'x'                                        ; +0x34, 0x7eb6dc\nMOV             R2, #0x65 ; 'e'                                        ; +0x38, 0x7eb6e0\nADD             R3, PC, R3; \"crypto/ec/ec_lib.c\"                       ; +0x3c, 0x7eb6e4\nBL              ERR_put_error                                          ; +0x40, 0x7eb6e8\nMOV             R0, #0                                                 ; +0x44, 0x7eb6ec\nADD             SP, SP, #0xC                                           ; +0x48, 0x7eb6f0\nPOP             {PC}                                                   ; +0x4c, 0x7eb6f4\nADD             SP, SP, #0xC                                           ; +0x50, 0x7eb6f8\nPOP             {LR}                                                   ; +0x54, 0x7eb6fc\nBX              R12                                                    ; +0x58, 0x7eb700\nLDR             R3, =0x366                                             ; +0x5c, 0x7eb704\nSTR             R3, [SP,#0xC+var_C]                                    ; +0x60, 0x7eb708\nLDR             R3, =(aCryptoEcEcLibC - 0x7EB724); \"crypto/ec/ec_lib.c\" ; +0x64, 0x7eb70c\nMOV             R0, #0x10                                              ; +0x68, 0x7eb710\nMOV             R1, #0x78 ; 'x'                                        ; +0x6c, 0x7eb714\nMOV             R2, #0x42 ; 'B'                                        ; +0x70, 0x7eb718\nADD             R3, PC, R3; \"crypto/ec/ec_lib.c\"                       ; +0x74, 0x7eb71c\nBL              ERR_put_error                                          ; +0x78, 0x7eb720\nB               loc_7EB6EC                                             ; +0x7c, 0x7eb724", "xrefs": ["sub_7F1BA0 @ 0x7f1fcc", "ec_GF2m_simple_invert @ 0x88a7f4", "<???> @ 0x61afc"], "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"}