//
// sub_10074D094 from 0x10074d094 to 0x10074d118 (132 bytes)
//
// 10 xrefs:
// > sub_10074ABE4 @ 0x10074ad7c
// > sub_10074AF44 @ 0x10074b070
// > sub_10074DA74 @ 0x10074dc04
// > sub_10074DDF8 @ 0x10074df1c
// > sub_1007500E0 @ 0x100750188
// > sub_10075075C @ 0x100750830
// > sub_100750910 @ 0x100750944
// > sub_100750D94 @ 0x100750dbc
// > sub_100751A5C @ 0x100751a94
// > sub_100752C44 @ 0x100752c74
//
// 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
//
_DWORD *__fastcall sub_10074D094(_DWORD *result, char *a2)
{
__int64 v2; // x8
char *v3; // x9
unsigned __int8 *v4; // x10
unsigned __int8 *v5; // x12
v2 = 0;
v3 = (char *)&unk_1009F1AE0;
if ( a2 )
v3 = a2;
do
{
v4 = (unsigned __int8 *)&v3[(int)v2 >> 4];
v5 = (unsigned __int8 *)&v3[v2 & 0xF];
result[8] = (v5[16] | (16 * *v4)) << 24;
result[264] = (v5[48] | (16 * v4[32])) << 16;
result[520] = (v5[80] | (16 * v4[64])) << 8;
result[776] = v5[112] | (16 * v4[96]);
++v2;
++result;
}
while ( v2 != 256 );
return result;
}