{"type": "func", "start": 8299352, "end": 8299436, "name": "EC_GROUP_set_curve_GFp", "pseudocode": "// \n// EC_GROUP_set_curve_GFp from 0x7ea358 to 0x7ea3ac (84 bytes)\n// \n// 2 xrefs:\n// > EC_GROUP_new_curve_GFp @ 0x7e88c4\n// > <???> @ 0x6162c\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_set_curve_GFp(int a1)\n{\n  if ( *(_DWORD *)(*(_DWORD *)a1 + 24) )\n    return (*(int (__fastcall **)(int))(*(_DWORD *)a1 + 24))(a1);\n  ERR_put_error(16, 109, 66, \"crypto/ec/ec_lib.c\", 412);\n  return 0;\n}", "assembly": "; \n; EC_GROUP_set_curve_GFp from 0x7ea358 to 0x7ea3ac (84 bytes)\n; \n; 2 xrefs:\n; > EC_GROUP_new_curve_GFp @ 0x7e88c4\n; > <???> @ 0x6162c\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             R12, [R0]                                              ; +0x0, 0x7ea358\nPUSH            {R4,LR}                                                ; +0x4, 0x7ea35c\nLDR             R4, [R12,#0x18]                                        ; +0x8, 0x7ea360\nSUB             SP, SP, #8                                             ; +0xc, 0x7ea364\nCMP             R4, #0                                                 ; +0x10, 0x7ea368\nBEQ             loc_7EA380                                             ; +0x14, 0x7ea36c\nMOV             R12, R4                                                ; +0x18, 0x7ea370\nADD             SP, SP, #8                                             ; +0x1c, 0x7ea374\nPOP             {R4,LR}                                                ; +0x20, 0x7ea378\nBX              R12                                                    ; +0x24, 0x7ea37c\nMOV             R3, #0x19C                                             ; +0x28, 0x7ea380\nSTR             R3, [SP,#8+var_8]                                      ; +0x2c, 0x7ea384\nLDR             R3, =(aCryptoEcEcLibC - 0x7EA3A0); \"crypto/ec/ec_lib.c\" ; +0x30, 0x7ea388\nMOV             R0, #0x10                                              ; +0x34, 0x7ea38c\nMOV             R1, #0x6D ; 'm'                                        ; +0x38, 0x7ea390\nMOV             R2, #0x42 ; 'B'                                        ; +0x3c, 0x7ea394\nADD             R3, PC, R3; \"crypto/ec/ec_lib.c\"                       ; +0x40, 0x7ea398\nBL              ERR_put_error                                          ; +0x44, 0x7ea39c\nMOV             R0, R4                                                 ; +0x48, 0x7ea3a0\nADD             SP, SP, #8                                             ; +0x4c, 0x7ea3a4\nPOP             {R4,PC}                                                ; +0x50, 0x7ea3a8", "xrefs": ["EC_GROUP_new_curve_GFp @ 0x7e88c4", "<???> @ 0x6162c"], "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"}