// // GJEffectManager::activeColorForIndex from 0x499ca0 to 0x499d16 (118 bytes) // // 33 xrefs: // > PlayLayer::applyCustomEnterEffect @ 0x311d10 // > PlayLayer::updateVisibility @ 0x315728 // > PlayLayer::updateVisibility @ 0x315786 // > PlayLayer::updateVisibility @ 0x3157a6 // > PlayerObject::ringJump @ 0x34e78e // > LevelEditorLayer::updateObjectColors @ 0x367850 // > LevelEditorLayer::updateObjectColors @ 0x3679e2 // > LevelEditorLayer::transferDefaultColors @ 0x367c8c // > LevelEditorLayer::updateVisibility @ 0x369566 // > LevelEditorLayer::updateVisibility @ 0x3698f0 // > LevelEditorLayer::updateVisibility @ 0x369a82 // > LevelEditorLayer::postUpdate @ 0x375130 // > LevelEditorLayer::updateGameObjects @ 0x375d2e // > GJBaseGameLayer::updateLevelColors @ 0x46d98c // > GJBaseGameLayer::updateLevelColors @ 0x46d9ba // > GJBaseGameLayer::updateLevelColors @ 0x46d9f8 // > GJBaseGameLayer::updateLevelColors @ 0x46da2c // > GJBaseGameLayer::updateLevelColors @ 0x46daf2 // > GJBaseGameLayer::updateLevelColors @ 0x46db20 // > GJBaseGameLayer::updateGradientLayers @ 0x47155a // > GJBaseGameLayer::updateGradientLayers @ 0x47157a // > GJBaseGameLayer::updateShaderLayer @ 0x47246a // > GJBaseGameLayer::updateShaderLayer @ 0x4724a2 // > GJBaseGameLayer::updateShaderLayer @ 0x4725a6 // > GJBaseGameLayer::processAreaTintGroupAction @ 0x4742c8 // > GJBaseGameLayer::visitWithColorFlash @ 0x479982 // > GJBaseGameLayer::visitWithColorFlash @ 0x4799a2 // > GJBaseGameLayer::visitWithColorFlash @ 0x4799c2 // > GJBaseGameLayer::preUpdateVisibility @ 0x48937c // > GJBaseGameLayer::preUpdateVisibility @ 0x48939c // > GJEffectManager::colorForPulseEffect @ 0x49a30c // > GJEffectManager::calculateLightBGColor @ 0x49aa5e // > GJEffectManager::processCopyColorPulseActions @ 0x49c830 // // 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) { unsigned __int8 b; // r3 ColorActionSprite *ColorSprite; // r0 char r; // r1 char g; // r2 __int16 v8; // [sp+4h] [bp-8h] if ( a2 == 1010 ) { b = 0; v8 = 0; } else if ( a2 != 1011 && a2 ) { ColorSprite = GJEffectManager::getColorSprite(a1, a2); if ( ColorSprite ) { r = ColorSprite->m_copyColor.r; g = ColorSprite->m_copyColor.g; b = ColorSprite->m_copyColor.b; } else { b = -1; g = -1; r = -1; } LOBYTE(v8) = r; HIBYTE(v8) = g; } else { b = -1; v8 = -1; } return (cocos2d::ccColor3B)((unsigned __int8)v8 | (unsigned __int16)(HIBYTE(v8) << 8) | (b << 16)); }
GD Web Decomp Icon

GD Web Decomp

Raw Source