//
// GJEffectManager::addAllInheritedColorActions from 0x5c3070 to 0x5c30ba (74 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:53:51 +0000
//
cocos2d::CCArray *__fastcall GJEffectManager::addAllInheritedColorActions(cocos2d::CCArray *this, cocos2d::CCArray *a2)
{
int v3; // r3
int v4; // r3
int v5; // r4
int *v6; // r6
int v7; // r2
v3 = *((_DWORD *)this + 67);
if ( v3 )
{
v4 = *(_DWORD *)(v3 + 52);
if ( v4 )
v5 = *(_DWORD *)(v4 + 272);
else
v5 = 0;
while ( v4 )
{
v6 = *(int **)(v4 + 260);
if ( v6[29] > 0 )
{
if ( !a2 )
a2 = (cocos2d::CCArray *)cocos2d::CCArray::create(this);
this = (cocos2d::CCArray *)cocos2d::CCArray::addObject(a2, (cocos2d::CCObject *)v6);
}
if ( v5 )
v7 = *(_DWORD *)(v5 + 272);
else
v7 = 0;
v4 = v5;
v5 = v7;
}
}
return this;
}