//
// cocos2d::CCParticleBatchNode::updateAllAtlasIndexes from 0x1003b2900 to 0x1003b295f (95 bytes)
//
// 0 xrefs:
//
// 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 12:29:27 +0000
//
__int64 __fastcall cocos2d::CCParticleBatchNode::updateAllAtlasIndexes(__int64 a1)
{
__int64 result; // rax
_DWORD **v2; // rbx
unsigned __int64 v3; // r14
int v4; // r15d
_DWORD *v5; // rdi
result = *(_QWORD *)(a1 + 208);
if ( result )
{
result = *(_QWORD *)(result + 56);
if ( *(_DWORD *)result )
{
v2 = *(_DWORD ***)(result + 16);
v3 = (unsigned __int64)&v2[*(unsigned int *)result - 1];
v4 = 0;
do
{
v5 = *v2;
if ( !*v2 )
break;
v5[110] = v4;
result = (*(__int64 (__fastcall **)(_DWORD *))(*(_QWORD *)v5 + 1496LL))(v5);
v4 += result;
++v2;
}
while ( (unsigned __int64)v2 <= v3 );
}
}
return result;
}