//
// sub_F7E5D4 from 0xf7e5d4 to 0xf7e600 (44 bytes)
//
// 0 xrefs:
//
// 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:13:49 +0000
//
__int64 __fastcall sub_F7E5D4(__int64 result, __int64 a2)
{
if ( (*(_BYTE *)result & 1) != 0 )
{
*(_DWORD *)(*(_QWORD *)(result + 16) + 4 * a2) = 0;
*(_QWORD *)(result + 8) = a2;
}
else
{
*(_DWORD *)(result + 4 * a2 + 4) = 0;
*(_BYTE *)result = 2 * a2;
}
return result;
}