//
// sub_1003F30FC from 0x1003f30fc to 0x1003f3164 (104 bytes)
//
// 1 xrefs:
// > sub_1003F3164 @ 0x1003f3190
//
// 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:04:31 +0000
//
__int64 __fastcall sub_1003F30FC(__int64 result, unsigned int *a2)
{
unsigned int *v3; // x20
unsigned __int64 v4; // x22
__int64 v5; // x21
__int64 v6; // x9
if ( *a2 )
{
v3 = (unsigned int *)result;
v4 = 0;
do
{
v5 = *(_QWORD *)(*((_QWORD *)a2 + 2) + 8 * v4);
result = cocos2d::CCObject::retain(v5);
v6 = *v3;
*(_QWORD *)(*((_QWORD *)v3 + 2) + 8 * v6) = v5;
*v3 = v6 + 1;
++v4;
}
while ( v4 < *a2 );
}
return result;
}