// // GJEffectManager::colorForEffect from 0x499e82 to 0x499ec0 (62 bytes) // // 7 xrefs: // > GameObject::getActiveColorForMode @ 0x358b44 // > LevelEditorLayer::updateObjectColors @ 0x36789c // > LevelEditorLayer::updateObjectColors @ 0x3679be // > LevelEditorLayer::updateObjectColors @ 0x367a26 // > LevelEditorLayer::updateVisibility @ 0x36993a // > LevelEditorLayer::updateVisibility @ 0x369a5c // > LevelEditorLayer::updateVisibility @ 0x369ac4 // // 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::colorForEffect(GJEffectManager *a1, cocos2d::ccColor3B a2, cocos2d::ccHSVValue a3) { int v3; // r4 int v4; // r5 int v5; // r6 int v6; // r0 int v9; // [sp+Ch] [bp-1Ch] BYREF int v10; // [sp+10h] [bp-18h] int v11; // [sp+14h] [bp-14h] int v12; // [sp+18h] [bp-10h] v10 = v3; v11 = v4; v12 = v5; v9 = *(_DWORD *)&a2.r; v6 = GameToolbox::transformColor((unsigned __int8 *)&v9, a3.h, a3.s, a3.v, *(__int16 *)&a3.absoluteSaturation); return (cocos2d::ccColor3B)((unsigned __int8)v6 | (unsigned __int16)(BYTE1(v6) << 8) | (BYTE2(v6) << 16)); }
GD Web Decomp Icon

GD Web Decomp

Raw Source