//
// sub_4F410 from 0x4f410 to 0x4f430 (32 bytes)
//
// 10 xrefs:
// > sub_4F22C @ 0x4f27c
// > sub_73050 @ 0x73094
// > sub_730F4 @ 0x73138
// > sub_7A14C @ 0x7a188
// > sub_82AE8 @ 0x82b24
// > sub_82B70 @ 0x82bb0
// > sub_82C0C @ 0x82c48
// > sub_86888 @ 0x868c4
// > sub_98E04 @ 0x98e18
// > sub_99170 @ 0x99174
//
// 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
//
unsigned int __fastcall sub_4F410(int *a1)
{
int v1; // r1
int v2; // r3
unsigned int v3; // r4
unsigned int v4; // r1
v1 = *a1;
v2 = a1[2];
v3 = a1[3];
*a1 = a1[1];
a1[1] = v2;
a1[2] = v3;
v4 = v1 ^ (v1 << 11) ^ ((v1 ^ (unsigned int)(v1 << 11)) >> 8) ^ v3 ^ (v3 >> 19);
a1[3] = v4;
return v4;
}