//
// sub_10074D058 from 0x10074d058 to 0x10074d094 (60 bytes)
//
// 6 xrefs:
// > sub_1007500E0 @ 0x1007501a0
// > sub_100750910 @ 0x10075095c
// > sub_100751254 @ 0x100751280
// > sub_1007529BC @ 0x100752a9c
// > sub_100752AEC @ 0x100752b34
// > sub_100752B9C @ 0x100752bdc
//
// 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 11:13:28 +0000
//
__int64 __fastcall sub_10074D058(__int64 result, __int64 a2)
{
__int64 i; // x8
for ( i = 0; i != 32; i += 4 )
*(_DWORD *)(result + i) = *(unsigned __int8 *)(a2 + i)
| (unsigned __int16)(*(unsigned __int8 *)(a2 + 1 + i) << 8)
| (*(unsigned __int8 *)(a2 + 1 + i + 1) << 16) & 0xFFFFFF
| (*(unsigned __int8 *)(a2 + 1 + i + 2) << 24);
return result;
}