// // GJEffectManager::getColorSprite from 0x5c30d2 to 0x5c3120 (78 bytes) // // 14 xrefs: // > GameObject::setupColorSprite @ 0x44f05c // > GameObject::setupColorSprite @ 0x44f066 // > LevelEditorLayer::transferDefaultColors @ 0x461980 // > LevelEditorLayer::transferDefaultColors @ 0x4619a6 // > LevelEditorLayer::transferDefaultColors @ 0x4619cc // > LevelEditorLayer::transferDefaultColors @ 0x4619f2 // > GJBaseGameLayer::updateColor @ 0x58b470 // > GJEffectManager::activeColorForIndex @ 0x5c3150 // > GJEffectManager::activeOpacityForIndex @ 0x5c319e // > GJEffectManager::setColorAction @ 0x5c31ee // > GJEffectManager::calculateInheritedColor @ 0x5c3ac8 // > GJEffectManager::calculateLightBGColor @ 0x5c416a // > GJEffectManager::calculateLightBGColor @ 0x5c4182 // > GJEffectManager::processCopyColorPulseActions @ 0x5c655e // // 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::CCObject *__fastcall GJEffectManager::getColorSprite(GJEffectManager *this, int a2) { int v2; // r4 cocos2d::CCObject *v4; // r5 cocos2d::CCNode *v5; // r0 if ( a2 > 1100 ) v2 = 1101; else v2 = a2 & ~(a2 >> 31); v4 = *(cocos2d::CCObject **)(*((_DWORD *)this + 109) + 4 * v2); if ( !v4 ) { v5 = ColorActionSprite::create(this); *((_DWORD *)v5 + 69) = v2; v4 = v5; (*(void (__fastcall **)(GJEffectManager *, cocos2d::CCNode *))(*(_DWORD *)this + 228))(this, v5); *(_DWORD *)(*((_DWORD *)this + 109) + 4 * v2) = v4; cocos2d::CCDictionary::setObject(*((cocos2d::CCDictionary **)this + 68), v4, v2); } return v4; }
GD Web Decomp Icon

GD Web Decomp

Raw Source