//
// cocos2d::CCParticleBatchNode::updateAllAtlasIndexes from 0x180061e00 to 0x180061e72 (114 bytes)
//
// 7 xrefs:
// > cocos2d::CCParticleBatchNode::insertChild @ 0x18006190b
// > cocos2d::CCParticleBatchNode::removeChild @ 0x180061a78
// > cocos2d::CCParticleBatchNode::reorderChild @ 0x180061c62
// > ??> @ 0x180139a28
// > ??> @ 0x180139a5c
// > ??> @ 0x1801438a8
// > ??> @ 0x1801b372c
//
// 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 *this)
{
cocos2d::CCArray *m_pChildren; // rax
int v2; // edi
cocos2d::ccArray *data; // rbx
__int64 num; // rax
cocos2d::CCObject **arr; // rbx
cocos2d::CCObject **i; // rsi
cocos2d::CCObject *v7; // rcx
cocos2d::CCObject_vtbl *v8; // rax
m_pChildren = this->m_pChildren;
v2 = 0;
if ( m_pChildren )
{
data = m_pChildren->data;
num = data->num;
if ( (_DWORD)num )
{
arr = data->arr;
for ( i = &arr[num - 1]; arr <= i; ++arr )
{
v7 = *arr;
if ( !*arr )
break;
v8 = v7->__vftable;
LODWORD(v7[8].__vftable) = v2;
v2 += ((__int64 (*)(void))v8[20].update)();
}
}
}
}