the shuffle part, you are missing these local variables
int32 ArrayIndex{};
int32 ArrayElement{};
bool bReturnInt3{};
bool bReturnInt4{};
bool bReturnInt5{};
FCustomThunkTemplates::Array_Shuffle(Arr);
FCustomThunkTemplates::Array_Get(Arr, ArrayIndex, ArrayElement);
bReturnInt3 = UKismetMathLibrary::EqualEqual_IntInt(ArrayElement, 3);
if (bReturnInt3)
{
++var3;
}
FCustomThunkTemplates::Array_Shuffle(Arr);
FCustomThunkTemplates::Array_Get(Arr, ArrayIndex, ArrayElement);
bReturnInt3 = UKismetMathLibrary::EqualEqual_IntInt(ArrayElement, 4);
if (bReturnInt4)
{
++var4;
}
FCustomThunkTemplates::Array_Shuffle(Arr);
FCustomThunkTemplates::Array_Get(Arr, ArrayIndex, ArrayElement);
bReturnInt3 = UKismetMathLibrary::EqualEqual_IntInt(ArrayElement, 5);
if (bReturnInt5)
{
++var5;
}
now just don’t forget to print each variable to test if it works for you.
hope it helps, cheers!