{"type": "func", "start": 8299808, "end": 8299892, "name": "EC_GROUP_check_discriminant", "pseudocode": "// \n// EC_GROUP_check_discriminant from 0x7ea520 to 0x7ea574 (84 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x61a6c\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_GROUP_check_discriminant(int a1)\n{\n  if ( *(_DWORD *)(*(_DWORD *)a1 + 40) )\n    return (*(int (__fastcall **)(int))(*(_DWORD *)a1 + 40))(a1);\n  ERR_put_error(16, 171, 66, \"crypto/ec/ec_lib.c\", 465);\n  return 0;\n}", "assembly": "; \n; EC_GROUP_check_discriminant from 0x7ea520 to 0x7ea574 (84 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x61a6c\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, 0x7ea520\nPUSH            {R4,LR}                                                ; +0x4, 0x7ea524\nLDR             R4, [R3,#0x28]                                         ; +0x8, 0x7ea528\nSUB             SP, SP, #8                                             ; +0xc, 0x7ea52c\nCMP             R4, #0                                                 ; +0x10, 0x7ea530\nBEQ             loc_7EA548                                             ; +0x14, 0x7ea534\nMOV             R3, R4                                                 ; +0x18, 0x7ea538\nADD             SP, SP, #8                                             ; +0x1c, 0x7ea53c\nPOP             {R4,LR}                                                ; +0x20, 0x7ea540\nBX              R3                                                     ; +0x24, 0x7ea544\nLDR             R3, =0x1D1                                             ; +0x28, 0x7ea548\nSTR             R3, [SP,#8+var_8]                                      ; +0x2c, 0x7ea54c\nLDR             R3, =(aCryptoEcEcLibC - 0x7EA568); \"crypto/ec/ec_lib.c\" ; +0x30, 0x7ea550\nMOV             R0, #0x10                                              ; +0x34, 0x7ea554\nMOV             R1, #0xAB                                              ; +0x38, 0x7ea558\nMOV             R2, #0x42 ; 'B'                                        ; +0x3c, 0x7ea55c\nADD             R3, PC, R3; \"crypto/ec/ec_lib.c\"                       ; +0x40, 0x7ea560\nBL              ERR_put_error                                          ; +0x44, 0x7ea564\nMOV             R0, R4                                                 ; +0x48, 0x7ea568\nADD             SP, SP, #8                                             ; +0x4c, 0x7ea56c\nPOP             {R4,PC}                                                ; +0x50, 0x7ea570", "xrefs": ["<???> @ 0x61a6c"], "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"}