//
// cocos2d::CCParticleBatchNode::updateAllAtlasIndexes from 0x5dd442 to 0x5dd47a (56 bytes)
//
// 3 xrefs:
// > cocos2d::CCParticleBatchNode::reorderChild @ 0x5dd4fc
// > cocos2d::CCParticleBatchNode::insertChild @ 0x5dd640
// > cocos2d::CCParticleBatchNode::removeChild @ 0x5dd79a
//
// 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 cocos2d::CCParticleBatchNode::updateAllAtlasIndexes(cocos2d::CCParticleBatchNode *a1)
{
cocos2d::CCArray *m_pChildren; // r3
cocos2d::ccArray *data; // r2
cocos2d::CCObject **arr; // r5
int v4; // r6
cocos2d::CCObject **v5; // r4
int *v6; // r0
int *v7; // t1
int v8; // r3
m_pChildren = a1->m_pChildren;
if ( m_pChildren )
{
data = m_pChildren->data;
if ( data->num )
{
arr = data->arr;
v4 = 0;
v5 = &arr[data->num] + 0x3FFFFFFF;
while ( arr <= v5 )
{
v7 = (int *)*arr++;
v6 = v7;
if ( !v7 )
break;
v8 = *v6;
v6[88] = v4;
v4 += (*(int (**)(void))(v8 + 740))();
}
}
}
}