//
// cocos2d::CCArray::recreateNewIndexes from 0x180007310 to 0x180007319 (9 bytes)
//
// 1 xrefs:
// > ??> @ 0x18014cf68
//
// This function is hookable on this platform (idp: pc, 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:21:18 +0000
//
void __fastcall cocos2d::CCArray::recreateNewIndexes(cocos2d::CCArray *this)
{
int *v1; // rcx
__int64 v2; // r10
int v3; // r9d
__int64 i; // rax
__int64 v5; // r8
v1 = *((int **)this + 7);
v2 = *v1;
v3 = 0;
if ( v2 > 0 )
{
for ( i = 0; i < v2; ++i )
{
v5 = *(_QWORD *)(*((_QWORD *)v1 + 2) + 8 * i);
*(_DWORD *)(v5 + 32) = v3++;
}
}
}