// // GJEffectManager::getColorSprite from 0x10000f164 to 0x10000f1e0 (124 bytes) // // 15 xrefs: // > GJEffectManager::activeColorForIndex @ 0x10000f13c // > GJEffectManager::activeOpacityForIndex @ 0x10000f1e8 // > GJEffectManager::processCopyColorPulseActions @ 0x10000f5f8 // > GJEffectManager::calculateInheritedColor @ 0x10000f7a8 // > GJEffectManager::setColorAction @ 0x10000fb54 // > GJEffectManager::calculateLightBGColor @ 0x10001636c // > GJEffectManager::calculateLightBGColor @ 0x1000163fc // > GJEffectManager::calculateLightBGColor @ 0x100016414 // > GJBaseGameLayer::updateColor @ 0x1001f1f14 // > GameObject::saveActiveColors @ 0x100260e10 // > GameObject::saveActiveColors @ 0x100260e20 // > LevelEditorLayer::transferDefaultColors @ 0x100360794 // > LevelEditorLayer::transferDefaultColors @ 0x1003607b4 // > LevelEditorLayer::transferDefaultColors @ 0x1003607dc // > LevelEditorLayer::transferDefaultColors @ 0x100360800 // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // ColorActionSprite *__fastcall GJEffectManager::getColorSprite(GJEffectManager *a1, int a2) { int v2; // w8 intptr_t v3; // x19 ColorActionSprite *v4; // x21 v2 = a2 & ~(a2 >> 31); if ( v2 >= 1101 ) v3 = 1101; else v3 = (unsigned int)v2; v4 = a1->m_colorActionSpriteVector.__begin_[(unsigned int)v3]; if ( !v4 ) { v4 = ColorActionSprite::create(); v4->m_colorID = v3; ((void (__fastcall *)(GJEffectManager *, ColorActionSprite *))a1->addChild)(a1, v4); a1->m_colorActionSpriteVector.__begin_[v3] = v4; cocos2d::CCDictionary::setObject(a1->m_unkDict150, v4, v3); } return v4; }
GD Web Decomp Icon

GD Web Decomp

Raw Source