//
// sub_10032A2E0 from 0x10032a2e0 to 0x10032a3d4 (244 bytes)
//
// 2 xrefs:
// > cocos2d::CCApplication::setResourceRootPath @ 0x100329808
// > sub_10056DBF0 @ 0x10056dc44
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
void __fastcall sub_10032A2E0(_QWORD *a1, __int64 a2, __int64 a3, unsigned __int64 a4, __m128 a5)
{
__int64 v7; // r15
_QWORD *v9; // r12
_QWORD *v10; // rdi
_QWORD *v11; // [rsp+40h] [rbp-30h]
if ( a4 )
{
if ( a4 >= 0xAAAAAAAAAAAAAABLL )
sub_100054A60();
v7 = a2;
v9 = operator new(24 * a4);
*a1 = v9;
a1[1] = v9;
a1[2] = &v9[3 * a4];
v11 = v9;
if ( a2 == a3 )
{
v10 = v9;
}
else
{
v10 = v9;
do
{
if ( (*(_BYTE *)v7 & 1) != 0 )
{
sub_100006B70(v10, *(const void **)(v7 + 16), *(_QWORD *)(v7 + 8), *(double *)a5.i64);
v10 = v11;
}
else
{
v10[2] = *(_QWORD *)(v7 + 16);
a5 = *(__m128 *)v7;
*(_OWORD *)v10 = *(_OWORD *)v7;
}
v7 += 24;
v10 += 3;
v11 = v10;
}
while ( v7 != a3 );
}
a1[1] = v10;
}
}