//
// cocos2d::CCParticleBatchNode::updateAllAtlasIndexes from 0x180064220 to 0x180064292 (114 bytes)
//
// 7 xrefs:
// > cocos2d::CCParticleBatchNode::insertChild @ 0x180063d21
// > cocos2d::CCParticleBatchNode::removeChild @ 0x180063e9e
// > cocos2d::CCParticleBatchNode::reorderChild @ 0x180064084
// > ??> @ 0x180142dbc
// > ??> @ 0x180142df0
// > ??> @ 0x18014cf68
// > ??> @ 0x1801bda80
//
// 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:52 +0000
//
void __fastcall cocos2d::CCParticleBatchNode::updateAllAtlasIndexes(cocos2d::CCParticleBatchNode *this)
{
__int64 v1; // rax
int v2; // edi
unsigned int *v3; // rbx
__int64 v4; // rax
__int64 **v5; // rbx
__int64 **i; // rsi
__int64 *v7; // rcx
__int64 v8; // rax
v1 = *((_QWORD *)this + 26);
v2 = 0;
if ( v1 )
{
v3 = *(unsigned int **)(v1 + 56);
v4 = *v3;
if ( (_DWORD)v4 )
{
v5 = *((__int64 ***)v3 + 2);
for ( i = &v5[v4 - 1]; v5 <= i; ++v5 )
{
v7 = *v5;
if ( !*v5 )
break;
v8 = *v7;
*((_DWORD *)v7 + 112) = v2;
v2 += (*(__int64 (**)(void))(v8 + 1488))();
}
}
}
}