{"type": "func", "start": 10481952, "end": 10482036, "name": "EC_GROUP_check_discriminant", "pseudocode": "// \n// EC_GROUP_check_discriminant from 0x9ff120 to 0x9ff174 (84 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x7b4ec\n// \n// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 12:07:37 +0000\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 0x9ff120 to 0x9ff174 (84 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x7b4ec\n; \n; This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 12:07:37 +0000\n; \nLDR             R3, [R0]                                               ; +0x0, 0x9ff120\nPUSH            {R4,LR}                                                ; +0x4, 0x9ff124\nLDR             R4, [R3,#0x28]                                         ; +0x8, 0x9ff128\nSUB             SP, SP, #8                                             ; +0xc, 0x9ff12c\nCMP             R4, #0                                                 ; +0x10, 0x9ff130\nBEQ             loc_9FF148                                             ; +0x14, 0x9ff134\nMOV             R3, R4                                                 ; +0x18, 0x9ff138\nADD             SP, SP, #8                                             ; +0x1c, 0x9ff13c\nPOP             {R4,LR}                                                ; +0x20, 0x9ff140\nBX              R3                                                     ; +0x24, 0x9ff144\nLDR             R3, =0x1D1                                             ; +0x28, 0x9ff148\nSTR             R3, [SP,#8+var_8]                                      ; +0x2c, 0x9ff14c\nLDR             R3, =(aCryptoEcEcLibC - 0x9FF168); \"crypto/ec/ec_lib.c\" ; +0x30, 0x9ff150\nMOV             R0, #0x10                                              ; +0x34, 0x9ff154\nMOV             R1, #0xAB                                              ; +0x38, 0x9ff158\nMOV             R2, #0x42 ; 'B'                                        ; +0x3c, 0x9ff15c\nADD             R3, PC, R3; \"crypto/ec/ec_lib.c\"                       ; +0x40, 0x9ff160\nBL              ERR_put_error                                          ; +0x44, 0x9ff164\nMOV             R0, R4                                                 ; +0x48, 0x9ff168\nADD             SP, SP, #8                                             ; +0x4c, 0x9ff16c\nPOP             {R4,PC}                                                ; +0x50, 0x9ff170", "xrefs": ["<???> @ 0x7b4ec"], "is_objc": false, "is_32_bit": true, "is_64_bit": false, "idp_name": "arm", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}