//
// GJEffectManager::getAllColorActions from 0x5c2ed4 to 0x5c2f14 (64 bytes)
//
// 4 xrefs:
// > PlayLayer::loadDefaultColors @ 0x4091cc
// > PlayLayer::loadDefaultColors @ 0x409328
// > PlayLayer::loadDefaultColors @ 0x409386
// > LevelEditorLayer::transferDefaultColors @ 0x461924
//
// 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::getAllColorActions(GJEffectManager *this)
{
cocos2d::CCArray *v2; // r0
int v3; // r3
cocos2d::CCArray *v4; // r5
int v5; // r3
int v6; // r4
int v7; // r2
v2 = (cocos2d::CCArray *)cocos2d::CCArray::create(this);
v3 = *((_DWORD *)this + 67);
v4 = v2;
if ( v3 )
{
v5 = *(_DWORD *)(v3 + 52);
if ( v5 )
v6 = *(_DWORD *)(v5 + 272);
else
v6 = 0;
while ( v5 )
{
cocos2d::CCArray::addObject(v4, *(cocos2d::CCObject **)(v5 + 260));
if ( v6 )
v7 = *(_DWORD *)(v6 + 272);
else
v7 = 0;
v5 = v6;
v6 = v7;
}
}
return v4;
}