//
// sub_10035380C from 0x10035380c to 0x100353874 (104 bytes)
//
// 1 xrefs:
// > sub_100353874 @ 0x1003538a0
//
// 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_10035380C(unsigned int *a1, unsigned int *a2)
{
unsigned __int64 v4; // x22
cocos2d::CCObject *v5; // x21
__int64 v6; // x9
if ( *a2 )
{
v4 = 0;
do
{
v5 = *(cocos2d::CCObject **)(*((_QWORD *)a2 + 2) + 8 * v4);
cocos2d::CCObject::retain(v5);
v6 = *a1;
*(_QWORD *)(*((_QWORD *)a1 + 2) + 8 * v6) = v5;
*a1 = v6 + 1;
++v4;
}
while ( v4 < *a2 );
}
}