NTSTATUS __stdcall XmAccumRegister(INT64 a1){
unsigned int v1;
INT64 v2;
v1 = *(_DWORD *)(a1 + 112) & 7;
*(_DWORD *)(a1 + 120) = *(_BYTE *)(a1 + 138) != 0 ? 3 : 1;
XmSetSourceValue(a1, (UINT16 *)(a1 + 4 * (v1 + 6i64)));
XmSetDestinationValue(v2, (UINT16 *)(v2 + 24));
return 1;
}