{"type": "func", "start": 14226516, "end": 14226600, "name": "EC_GROUP_check_discriminant", "pseudocode": "// \n// EC_GROUP_check_discriminant from 0xd91454 to 0xd914a8 (84 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x8d708\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_GROUP_check_discriminant(__int64 a1)\n{\n  __int64 (*v1)(void); // x19\n\n  v1 = *(__int64 (**)(void))(*(_QWORD *)a1 + 72LL);\n  if ( v1 )\n    return v1();\n  ERR_put_error(16, 171, 66, \"crypto/ec/ec_lib.c\", 465);\n  return 0;\n}", "assembly": "; \n; EC_GROUP_check_discriminant from 0xd91454 to 0xd914a8 (84 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x8d708\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, 0xd91454\nMOV             X29, SP                                                ; +0x4, 0xd91458\nLDR             X2, [X0]                                               ; +0x8, 0xd9145c\nSTR             X19, [SP,#0x20+var_10]                                 ; +0xc, 0xd91460\nLDR             X19, [X2,#0x48]                                        ; +0x10, 0xd91464\nCBZ             X19, loc_D9147C                                        ; +0x14, 0xd91468\nBLR             X19                                                    ; +0x18, 0xd9146c\nLDR             X19, [SP,#0x20+var_10]                                 ; +0x1c, 0xd91470\nLDP             X29, X30, [SP+0x20+var_20],#0x20                       ; +0x20, 0xd91474\nRET                                                                    ; +0x24, 0xd91478\nADRP            X3, #aCryptoEcEcLibC@PAGE; \"crypto/ec/ec_lib.c\"        ; +0x28, 0xd9147c\nMOV             W0, #0x10                                              ; +0x2c, 0xd91480\nMOV             W1, #0xAB                                              ; +0x30, 0xd91484\nMOV             W2, #0x42 ; 'B'                                        ; +0x34, 0xd91488\nADD             X3, X3, #aCryptoEcEcLibC@PAGEOFF; \"crypto/ec/ec_lib.c\" ; +0x38, 0xd9148c\nMOV             W4, #0x1D1                                             ; +0x3c, 0xd91490\nBL              ERR_put_error                                          ; +0x40, 0xd91494\nMOV             W0, W19                                                ; +0x44, 0xd91498\nLDR             X19, [SP,#0x20+var_10]                                 ; +0x48, 0xd9149c\nLDP             X29, X30, [SP+0x20+var_20],#0x20                       ; +0x4c, 0xd914a0\nRET                                                                    ; +0x50, 0xd914a4", "xrefs": ["<???> @ 0x8d708"], "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"}