{"type": "func", "start": 14222000, "end": 14222080, "name": "EC_KEY_set_group", "pseudocode": "// \n// EC_KEY_set_group from 0xd902b0 to 0xd90300 (80 bytes)\n// \n// 6 xrefs:\n// > sub_D8B3AC @ 0xd8b404\n// > sub_D8B4C0 @ 0xd8bc90\n// > sub_D8BEA8 @ 0xd8bed8\n// > sub_E348E8 @ 0xe34918\n// > sub_E349A4 @ 0xe34a4c\n// > <???> @ 0x2e488\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_KEY_set_group(_QWORD *a1, __int64 a2)\n{\n  __int64 (*v4)(void); // x2\n  __int64 result; // x0\n  __int64 v6; // x0\n\n  v4 = *(__int64 (**)(void))(*a1 + 40LL);\n  if ( !v4 || (result = v4(), (_DWORD)result) )\n  {\n    EC_GROUP_free(a1[3]);\n    v6 = EC_GROUP_dup(a2);\n    a1[3] = v6;\n    return v6 != 0;\n  }\n  return result;\n}", "assembly": "; \n; EC_KEY_set_group from 0xd902b0 to 0xd90300 (80 bytes)\n; \n; 6 xrefs:\n; > sub_D8B3AC @ 0xd8b404\n; > sub_D8B4C0 @ 0xd8bc90\n; > sub_D8BEA8 @ 0xd8bed8\n; > sub_E348E8 @ 0xe34918\n; > sub_E349A4 @ 0xe34a4c\n; > <???> @ 0x2e488\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,#-0x20+var_s0]!                          ; +0x0, 0xd902b0\nMOV             X29, SP                                                ; +0x4, 0xd902b4\nLDR             X2, [X0]                                               ; +0x8, 0xd902b8\nSTP             X19, X20, [SP,#var_s10]                                ; +0xc, 0xd902bc\nMOV             X19, X0                                                ; +0x10, 0xd902c0\nMOV             X20, X1                                                ; +0x14, 0xd902c4\nLDR             X2, [X2,#0x28]                                         ; +0x18, 0xd902c8\nCBZ             X2, loc_D902D8                                         ; +0x1c, 0xd902cc\nBLR             X2                                                     ; +0x20, 0xd902d0\nCBZ             W0, loc_D902F4                                         ; +0x24, 0xd902d4\nLDR             X0, [X19,#0x18]                                        ; +0x28, 0xd902d8\nBL              EC_GROUP_free                                          ; +0x2c, 0xd902dc\nMOV             X0, X20                                                ; +0x30, 0xd902e0\nBL              EC_GROUP_dup                                           ; +0x34, 0xd902e4\nCMP             X0, XZR                                                ; +0x38, 0xd902e8\nSTR             X0, [X19,#0x18]                                        ; +0x3c, 0xd902ec\nCSET            W0, NE                                                 ; +0x40, 0xd902f0\nLDP             X19, X20, [SP,#var_s10]                                ; +0x44, 0xd902f4\nLDP             X29, X30, [SP+var_s0],#0x20                            ; +0x48, 0xd902f8\nRET                                                                    ; +0x4c, 0xd902fc", "xrefs": ["sub_D8B3AC @ 0xd8b404", "sub_D8B4C0 @ 0xd8bc90", "sub_D8BEA8 @ 0xd8bed8", "sub_E348E8 @ 0xe34918", "sub_E349A4 @ 0xe34a4c", "<???> @ 0x2e488"], "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"}