//
// asn1_set_choice_selector from 0xfee650 to 0xfee664 (20 bytes)
//
// 10 xrefs:
// > sub_FE9B88 @ 0xfea190
// > sub_FE9B88 @ 0xfea56c
// > sub_FEAA90 @ 0xfeade4
// > sub_FEAA90 @ 0xfeaea4
// > ASN1_item_ex_d2i @ 0xfeb68c
// > ASN1_item_ex_d2i @ 0xfeb74c
// > sub_FEDB60 @ 0xfeddb0
// > ASN1_item_ex_new @ 0xfee0a8
// > ASN1_item_ex_new @ 0xfee1e0
// > ??> @ 0x63b08
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 13:15:44 +0000
//
__int64 __fastcall asn1_set_choice_selector(__int64 *a1, int a2, __int64 a3)
{
__int64 v3; // x3
__int64 v4; // x2
__int64 result; // x0
v3 = *a1;
v4 = *(_QWORD *)(a3 + 8);
result = *(unsigned int *)(*a1 + v4);
*(_DWORD *)(v3 + v4) = a2;
return result;
}