{"type": "func", "start": 14226096, "end": 14226180, "name": "EC_GROUP_set_curve_GFp", "pseudocode": "// \n// EC_GROUP_set_curve_GFp from 0xd912b0 to 0xd91304 (84 bytes)\n// \n// 2 xrefs:\n// > EC_GROUP_new_curve_GFp @ 0xd8f8f4\n// > <???> @ 0x8ffd0\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_set_curve_GFp(__int64 a1)\n{\n  __int64 (*v1)(void); // x19\n\n  v1 = *(__int64 (**)(void))(*(_QWORD *)a1 + 40LL);\n  if ( v1 )\n    return v1();\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 0xd912b0 to 0xd91304 (84 bytes)\n; \n; 2 xrefs:\n; > EC_GROUP_new_curve_GFp @ 0xd8f8f4\n; > <???> @ 0x8ffd0\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, 0xd912b0\nMOV             X29, SP                                                ; +0x4, 0xd912b4\nLDR             X5, [X0]                                               ; +0x8, 0xd912b8\nSTR             X19, [SP,#0x20+var_10]                                 ; +0xc, 0xd912bc\nLDR             X19, [X5,#0x28]                                        ; +0x10, 0xd912c0\nCBZ             X19, loc_D912D8                                        ; +0x14, 0xd912c4\nBLR             X19                                                    ; +0x18, 0xd912c8\nLDR             X19, [SP,#0x20+var_10]                                 ; +0x1c, 0xd912cc\nLDP             X29, X30, [SP+0x20+var_20],#0x20                       ; +0x20, 0xd912d0\nRET                                                                    ; +0x24, 0xd912d4\nADRP            X3, #aCryptoEcEcLibC@PAGE; \"crypto/ec/ec_lib.c\"        ; +0x28, 0xd912d8\nMOV             W0, #0x10                                              ; +0x2c, 0xd912dc\nMOV             W1, #0x6D ; 'm'                                        ; +0x30, 0xd912e0\nMOV             W2, #0x42 ; 'B'                                        ; +0x34, 0xd912e4\nADD             X3, X3, #aCryptoEcEcLibC@PAGEOFF; \"crypto/ec/ec_lib.c\" ; +0x38, 0xd912e8\nMOV             W4, #0x19C                                             ; +0x3c, 0xd912ec\nBL              ERR_put_error                                          ; +0x40, 0xd912f0\nMOV             W0, W19                                                ; +0x44, 0xd912f4\nLDR             X19, [SP,#0x20+var_10]                                 ; +0x48, 0xd912f8\nLDP             X29, X30, [SP+0x20+var_20],#0x20                       ; +0x4c, 0xd912fc\nRET                                                                    ; +0x50, 0xd91300", "xrefs": ["EC_GROUP_new_curve_GFp @ 0xd8f8f4", "<???> @ 0x8ffd0"], "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"}