//
// cocos2d::CCParticleBatchNode::updateAllAtlasIndexes from 0x1003c9430 to 0x1003c948f (95 bytes)
//
// 0 xrefs:
//
// 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 cocos2d::CCParticleBatchNode::updateAllAtlasIndexes(cocos2d::CCParticleBatchNode *a1)
{
cocos2d::CCArray *m_pChildren; // rax
cocos2d::ccArray *data; // rax
cocos2d::CCObject **arr; // rbx
unsigned __int64 v4; // r14
int v5; // r15d
cocos2d::CCObject *v6; // rdi
m_pChildren = a1->m_pChildren;
if ( m_pChildren )
{
data = m_pChildren->data;
if ( data->num )
{
arr = data->arr;
v4 = (unsigned __int64)&arr[data->num - 1];
v5 = 0;
do
{
v6 = *arr;
if ( !*arr )
break;
v6[7].m_uOrderOfArrival = v5;
v5 += ((__int64 (__fastcall *)(cocos2d::CCObject *))v6->__vftable[18].update)(v6);
++arr;
}
while ( (unsigned __int64)arr <= v4 );
}
}
}