{"type": "func", "start": 14226264, "end": 14226348, "name": "EC_GROUP_set_curve_GF2m", "pseudocode": "// \n// EC_GROUP_set_curve_GF2m from 0xd91358 to 0xd913ac (84 bytes)\n// \n// 2 xrefs:\n// > EC_GROUP_new_curve_GF2m @ 0xd8f968\n// > <???> @ 0x4e7f8\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_GF2m(__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, 176, 66, \"crypto/ec/ec_lib.c\", 434);\n  return 0;\n}", "assembly": "; \n; EC_GROUP_set_curve_GF2m from 0xd91358 to 0xd913ac (84 bytes)\n; \n; 2 xrefs:\n; > EC_GROUP_new_curve_GF2m @ 0xd8f968\n; > <???> @ 0x4e7f8\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, 0xd91358\nMOV             X29, SP                                                ; +0x4, 0xd9135c\nLDR             X5, [X0]                                               ; +0x8, 0xd91360\nSTR             X19, [SP,#0x20+var_10]                                 ; +0xc, 0xd91364\nLDR             X19, [X5,#0x28]                                        ; +0x10, 0xd91368\nCBZ             X19, loc_D91380                                        ; +0x14, 0xd9136c\nBLR             X19                                                    ; +0x18, 0xd91370\nLDR             X19, [SP,#0x20+var_10]                                 ; +0x1c, 0xd91374\nLDP             X29, X30, [SP+0x20+var_20],#0x20                       ; +0x20, 0xd91378\nRET                                                                    ; +0x24, 0xd9137c\nADRP            X3, #aCryptoEcEcLibC@PAGE; \"crypto/ec/ec_lib.c\"        ; +0x28, 0xd91380\nMOV             W0, #0x10                                              ; +0x2c, 0xd91384\nMOV             W1, #0xB0                                              ; +0x30, 0xd91388\nMOV             W2, #0x42 ; 'B'                                        ; +0x34, 0xd9138c\nADD             X3, X3, #aCryptoEcEcLibC@PAGEOFF; \"crypto/ec/ec_lib.c\" ; +0x38, 0xd91390\nMOV             W4, #0x1B2                                             ; +0x3c, 0xd91394\nBL              ERR_put_error                                          ; +0x40, 0xd91398\nMOV             W0, W19                                                ; +0x44, 0xd9139c\nLDR             X19, [SP,#0x20+var_10]                                 ; +0x48, 0xd913a0\nLDP             X29, X30, [SP+0x20+var_20],#0x20                       ; +0x4c, 0xd913a4\nRET                                                                    ; +0x50, 0xd913a8", "xrefs": ["EC_GROUP_new_curve_GF2m @ 0xd8f968", "<???> @ 0x4e7f8"], "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"}