// // GJEffectManager::activeColorForIndex from 0x8bf590 to 0x8bf610 (128 bytes) // // 34 xrefs: // > PlayLayer::applyCustomEnterEffect @ 0x5cd808 // > PlayLayer::updateVisibility @ 0x5ce118 // > PlayLayer::updateVisibility @ 0x5ce190 // > PlayLayer::updateVisibility @ 0x5ce1b4 // > PlayerObject::ringJump @ 0x63c170 // > LevelEditorLayer::updateObjectColors @ 0x65f850 // > LevelEditorLayer::updateObjectColors @ 0x65fbc0 // > LevelEditorLayer::transferDefaultColors @ 0x65ff38 // > LevelEditorLayer::updateVisibility @ 0x662cb8 // > LevelEditorLayer::updateVisibility @ 0x662ed4 // > LevelEditorLayer::updateVisibility @ 0x6633fc // > LevelEditorLayer::postUpdate @ 0x66eb48 // > LevelEditorLayer::updateGameObjects @ 0x67bd20 // > GJBaseGameLayer::updateLevelColors @ 0x857d64 // > GJBaseGameLayer::updateLevelColors @ 0x857da0 // > GJBaseGameLayer::updateLevelColors @ 0x857de8 // > GJBaseGameLayer::updateLevelColors @ 0x857e28 // > GJBaseGameLayer::updateLevelColors @ 0x857f20 // > GJBaseGameLayer::updateLevelColors @ 0x857f58 // > GJBaseGameLayer::updateGradientLayers @ 0x85de74 // > GJBaseGameLayer::updateGradientLayers @ 0x85de98 // > GJBaseGameLayer::updateShaderLayer @ 0x85f22c // > GJBaseGameLayer::updateShaderLayer @ 0x85f278 // > GJBaseGameLayer::updateShaderLayer @ 0x85f358 // > GJBaseGameLayer::processAreaTintGroupAction @ 0x861e94 // > GJBaseGameLayer::visitWithColorFlash @ 0x86aa94 // > GJBaseGameLayer::visitWithColorFlash @ 0x86aab8 // > GJBaseGameLayer::visitWithColorFlash @ 0x86aadc // > GJBaseGameLayer::preUpdateVisibility @ 0x881e78 // > GJBaseGameLayer::preUpdateVisibility @ 0x881e9c // > GJEffectManager::colorForPulseEffect @ 0x8bf7d8 // > GJEffectManager::calculateLightBGColor @ 0x8bfa74 // > GJEffectManager::processCopyColorPulseActions @ 0x8c14ac // > @ 0x794b8 // // 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 // cocos2d::ccColor3B GJEffectManager::activeColorForIndex(GJEffectManager *a1, int a2) { ColorActionSprite *ColorSprite; // x0 __int16 v4; // [xsp+18h] [xbp+18h] unsigned __int8 b; // [xsp+1Ah] [xbp+1Ah] if ( a2 == 1010 ) { v4 = 0; b = 0; } else if ( a2 != 1011 && a2 && (ColorSprite = GJEffectManager::getColorSprite(a1, a2)) != nullptr ) { b = ColorSprite->m_copyColor.b; v4 = *(_WORD *)&ColorSprite->m_copyColor.r; } else { v4 = -1; b = -1; } return (cocos2d::ccColor3B)((unsigned __int8)v4 | (unsigned __int16)(HIBYTE(v4) << 8) | (b << 16)); }
GD Web Decomp Icon

GD Web Decomp

Raw Source