//
// sub_84FEE0 from 0x84fee0 to 0x84fef4 (20 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 12:02:30 +0000
//
unsigned int __fastcall sub_84FEE0(unsigned int a1, _BYTE *a2)
{
char v2; // r2
char v3; // r3
unsigned int result; // r0
v2 = BYTE1(a1);
v3 = BYTE2(a1);
*a2 = a1;
result = HIBYTE(a1);
a2[1] = v2;
a2[2] = v3;
a2[3] = result;
return result;
}