//
// GJEffectManager::getAllColorActions from 0x9f9a3c to 0x9f9a94 (88 bytes)
//
// 5 xrefs:
// > PlayLayer::loadDefaultColors @ 0x70551c
// > PlayLayer::loadDefaultColors @ 0x7056fc
// > PlayLayer::loadDefaultColors @ 0x705778
// > LevelEditorLayer::transferDefaultColors @ 0x78c380
// > ??> @ 0xbb810
//
// This function is hookable on this platform (idp: arm, 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:59:15 +0000
//
cocos2d::CCArray *__fastcall GJEffectManager::getAllColorActions(GJEffectManager *this)
{
cocos2d::CCArray *v2; // x20
__int64 v3; // x0
__int64 v4; // x0
__int64 i; // x19
v2 = (cocos2d::CCArray *)cocos2d::CCArray::create(this);
v3 = *((_QWORD *)this + 41);
if ( v3 )
{
v4 = *(_QWORD *)(v3 + 56);
if ( v4 )
{
for ( i = *(_QWORD *)(v4 + 288); ; i = *(_QWORD *)(i + 288) )
{
cocos2d::CCArray::addObject(v2, *(cocos2d::CCObject **)(v4 + 264));
v4 = i;
if ( !i )
break;
}
}
}
return v2;
}