//
// asn1_set_choice_selector from 0x7ca344 to 0x7ca358 (20 bytes)
//
// 10 xrefs:
// > sub_7C5148 @ 0x7c57dc
// > sub_7C5148 @ 0x7c5c40
// > sub_7C626C @ 0x7c6628
// > sub_7C626C @ 0x7c66f8
// > ASN1_item_ex_d2i @ 0x7c7038
// > ASN1_item_ex_d2i @ 0x7c710c
// > sub_7C96C0 @ 0x7c9824
// > ASN1_item_ex_new @ 0x7c9c70
// > ASN1_item_ex_new @ 0x7c9df8
// > ??> @ 0x5ea6c
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
int __fastcall asn1_set_choice_selector(int *a1, int a2, int a3)
{
int v3; // r12
int v4; // r3
int result; // r0
v3 = *a1;
v4 = *(_DWORD *)(a3 + 4);
result = *(_DWORD *)(*a1 + v4);
*(_DWORD *)(v3 + v4) = a2;
return result;
}