{"type": "func", "start": 14230708, "end": 14230840, "name": "EC_POINT_make_affine", "pseudocode": "// \n// EC_POINT_make_affine from 0xd924b4 to 0xd92538 (132 bytes)\n// \n// 3 xrefs:\n// > sub_D98060 @ 0xd9841c\n// > ec_GF2m_simple_invert @ 0xe340e8\n// > <???> @ 0x829f8\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_make_affine(__int64 a1, _QWORD *a2)\n{\n  __int64 (*v2)(void); // x19\n\n  v2 = *(__int64 (**)(void))(*(_QWORD *)a1 + 224LL);\n  if ( v2 )\n  {\n    if ( *(_QWORD *)a1 == *a2 )\n    {\n      return v2();\n    }\n    else\n    {\n      ERR_put_error(16, 120, 101, \"crypto/ec/ec_lib.c\", 874);\n      return 0;\n    }\n  }\n  else\n  {\n    ERR_put_error(16, 120, 66, \"crypto/ec/ec_lib.c\", 870);\n    return 0;\n  }\n}", "assembly": "; \n; EC_POINT_make_affine from 0xd924b4 to 0xd92538 (132 bytes)\n; \n; 3 xrefs:\n; > sub_D98060 @ 0xd9841c\n; > ec_GF2m_simple_invert @ 0xe340e8\n; > <???> @ 0x829f8\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, 0xd924b4\nMOV             X29, SP                                                ; +0x4, 0xd924b8\nLDR             X3, [X0]                                               ; +0x8, 0xd924bc\nSTR             X19, [SP,#0x20+var_10]                                 ; +0xc, 0xd924c0\nLDR             X19, [X3,#0xE0]                                        ; +0x10, 0xd924c4\nCBZ             X19, loc_D92514                                        ; +0x14, 0xd924c8\nLDR             X4, [X1]                                               ; +0x18, 0xd924cc\nCMP             X3, X4                                                 ; +0x1c, 0xd924d0\nB.EQ            loc_D92504                                             ; +0x20, 0xd924d4\nADRP            X3, #aCryptoEcEcLibC@PAGE; \"crypto/ec/ec_lib.c\"        ; +0x24, 0xd924d8\nMOV             W0, #0x10                                              ; +0x28, 0xd924dc\nMOV             W1, #0x78 ; 'x'                                        ; +0x2c, 0xd924e0\nMOV             W2, #0x65 ; 'e'                                        ; +0x30, 0xd924e4\nADD             X3, X3, #aCryptoEcEcLibC@PAGEOFF; \"crypto/ec/ec_lib.c\" ; +0x34, 0xd924e8\nMOV             W4, #0x36A                                             ; +0x38, 0xd924ec\nBL              ERR_put_error                                          ; +0x3c, 0xd924f0\nMOV             W0, #0                                                 ; +0x40, 0xd924f4\nLDR             X19, [SP,#0x20+var_10]                                 ; +0x44, 0xd924f8\nLDP             X29, X30, [SP+0x20+var_20],#0x20                       ; +0x48, 0xd924fc\nRET                                                                    ; +0x4c, 0xd92500\nBLR             X19                                                    ; +0x50, 0xd92504\nLDR             X19, [SP,#0x20+var_10]                                 ; +0x54, 0xd92508\nLDP             X29, X30, [SP+0x20+var_20],#0x20                       ; +0x58, 0xd9250c\nRET                                                                    ; +0x5c, 0xd92510\nADRP            X3, #aCryptoEcEcLibC@PAGE; \"crypto/ec/ec_lib.c\"        ; +0x60, 0xd92514\nMOV             W0, #0x10                                              ; +0x64, 0xd92518\nMOV             W1, #0x78 ; 'x'                                        ; +0x68, 0xd9251c\nMOV             W2, #0x42 ; 'B'                                        ; +0x6c, 0xd92520\nADD             X3, X3, #aCryptoEcEcLibC@PAGEOFF; \"crypto/ec/ec_lib.c\" ; +0x70, 0xd92524\nMOV             W4, #0x366                                             ; +0x74, 0xd92528\nBL              ERR_put_error                                          ; +0x78, 0xd9252c\nMOV             W0, W19                                                ; +0x7c, 0xd92530\nB               loc_D924F8                                             ; +0x80, 0xd92534", "xrefs": ["sub_D98060 @ 0xd9841c", "ec_GF2m_simple_invert @ 0xe340e8", "<???> @ 0x829f8"], "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"}