{"type": "func", "start": 14230840, "end": 14231016, "name": "EC_POINTs_make_affine", "pseudocode": "// \n// EC_POINTs_make_affine from 0xd92538 to 0xd925e8 (176 bytes)\n// \n// 3 xrefs:\n// > ec_wNAF_mul @ 0xd93578\n// > ec_wNAF_precompute_mult @ 0xd93ba0\n// > <???> @ 0x94428\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_POINTs_make_affine(__int64 *a1, __int64 a2, _QWORD **a3)\n{\n  __int64 v3; // x6\n  __int64 (*v4)(void); // x19\n  __int64 v5; // x4\n\n  v3 = *a1;\n  v4 = *(__int64 (**)(void))(*a1 + 232);\n  if ( v4 )\n  {\n    if ( a2 )\n    {\n      if ( v3 != **a3 )\n      {\nLABEL_9:\n        ERR_put_error(16, 136, 101, \"crypto/ec/ec_lib.c\", 891);\n        return 0;\n      }\n      v5 = 0;\n      while ( ++v5 != a2 )\n      {\n        if ( v3 != *a3[v5] )\n          goto LABEL_9;\n      }\n    }\n    return v4();\n  }\n  else\n  {\n    ERR_put_error(16, 136, 66, \"crypto/ec/ec_lib.c\", 886);\n    return 0;\n  }\n}", "assembly": "; \n; EC_POINTs_make_affine from 0xd92538 to 0xd925e8 (176 bytes)\n; \n; 3 xrefs:\n; > ec_wNAF_mul @ 0xd93578\n; > ec_wNAF_precompute_mult @ 0xd93ba0\n; > <???> @ 0x94428\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, 0xd92538\nMOV             X29, SP                                                ; +0x4, 0xd9253c\nLDR             X6, [X0]                                               ; +0x8, 0xd92540\nSTR             X19, [SP,#0x20+var_10]                                 ; +0xc, 0xd92544\nLDR             X19, [X6,#0xE8]                                        ; +0x10, 0xd92548\nCBZ             X19, loc_D925C4                                        ; +0x14, 0xd9254c\nCBZ             X1, loc_D92588                                         ; +0x18, 0xd92550\nLDR             X4, [X2]                                               ; +0x1c, 0xd92554\nLDR             X4, [X4]                                               ; +0x20, 0xd92558\nCMP             X6, X4                                                 ; +0x24, 0xd9255c\nB.NE            loc_D92598                                             ; +0x28, 0xd92560\nMOV             X4, #0                                                 ; +0x2c, 0xd92564\nB               loc_D9257C                                             ; +0x30, 0xd92568\nLDR             X5, [X2,X4,LSL#3]                                      ; +0x34, 0xd9256c\nLDR             X5, [X5]                                               ; +0x38, 0xd92570\nCMP             X6, X5                                                 ; +0x3c, 0xd92574\nB.NE            loc_D92598                                             ; +0x40, 0xd92578\nADD             X4, X4, #1                                             ; +0x44, 0xd9257c\nCMP             X4, X1                                                 ; +0x48, 0xd92580\nB.NE            loc_D9256C                                             ; +0x4c, 0xd92584\nBLR             X19                                                    ; +0x50, 0xd92588\nLDR             X19, [SP,#0x20+var_10]                                 ; +0x54, 0xd9258c\nLDP             X29, X30, [SP+0x20+var_20],#0x20                       ; +0x58, 0xd92590\nRET                                                                    ; +0x5c, 0xd92594\nADRP            X3, #aCryptoEcEcLibC@PAGE; \"crypto/ec/ec_lib.c\"        ; +0x60, 0xd92598\nMOV             W0, #0x10                                              ; +0x64, 0xd9259c\nMOV             W1, #0x88                                              ; +0x68, 0xd925a0\nMOV             W2, #0x65 ; 'e'                                        ; +0x6c, 0xd925a4\nADD             X3, X3, #aCryptoEcEcLibC@PAGEOFF; \"crypto/ec/ec_lib.c\" ; +0x70, 0xd925a8\nMOV             W4, #0x37B                                             ; +0x74, 0xd925ac\nBL              ERR_put_error                                          ; +0x78, 0xd925b0\nLDR             X19, [SP,#0x20+var_10]                                 ; +0x7c, 0xd925b4\nMOV             W0, #0                                                 ; +0x80, 0xd925b8\nLDP             X29, X30, [SP+0x20+var_20],#0x20                       ; +0x84, 0xd925bc\nRET                                                                    ; +0x88, 0xd925c0\nADRP            X3, #aCryptoEcEcLibC@PAGE; \"crypto/ec/ec_lib.c\"        ; +0x8c, 0xd925c4\nMOV             W0, #0x10                                              ; +0x90, 0xd925c8\nMOV             W1, #0x88                                              ; +0x94, 0xd925cc\nMOV             W2, #0x42 ; 'B'                                        ; +0x98, 0xd925d0\nADD             X3, X3, #aCryptoEcEcLibC@PAGEOFF; \"crypto/ec/ec_lib.c\" ; +0x9c, 0xd925d4\nMOV             W4, #0x376                                             ; +0xa0, 0xd925d8\nBL              ERR_put_error                                          ; +0xa4, 0xd925dc\nMOV             W0, W19                                                ; +0xa8, 0xd925e0\nB               loc_D9258C                                             ; +0xac, 0xd925e4", "xrefs": ["ec_wNAF_mul @ 0xd93578", "ec_wNAF_precompute_mult @ 0xd93ba0", "<???> @ 0x94428"], "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"}