//
// sub_E281F4 from 0xe281f4 to 0xe28234 (64 bytes)
//
// 1 xrefs:
// > sub_E2463C @ 0xe24714
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// 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 13:09:49 +0000
//
__int64 __fastcall sub_E281F4(__int64 a1, __int64 a2)
{
__int64 v2; // x2
char v3; // w4
char v4; // w3
unsigned int v5; // w5
__int64 result; // x0
v2 = a1 >> 32;
v3 = BYTE1(a1);
v4 = BYTE2(a1);
v5 = BYTE3(a1);
*(_BYTE *)a2 = a1;
result = HIBYTE(HIDWORD(a1));
*(_BYTE *)(a2 + 1) = v3;
*(_BYTE *)(a2 + 2) = v4;
*(_BYTE *)(a2 + 3) = v5;
*(_WORD *)(a2 + 4) = v2;
*(_BYTE *)(a2 + 6) = BYTE2(v2);
*(_BYTE *)(a2 + 7) = result;
return result;
}