// // GameToolbox::getMultipliedHSV from 0x2ecc80 to 0x2eccda (90 bytes) // // 4 xrefs: // > PlayLayer::applyCustomEnterEffect @ 0x311d4a // > GJBaseGameLayer::processAreaTintGroupAction @ 0x4743f4 // > GJEffectManager::colorForPulseEffect @ 0x49a37a // > GJEffectManager::calculateInheritedColor @ 0x49a60a // // 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::ccHSVValue *GameToolbox::getMultipliedHSV( cocos2d::ccHSVValue *__return_ptr retstr, const cocos2d::ccHSVValue *a2, float a3) { float h; // r0 float s; // r1 float v7; // r2 int v8; // r3 float *p_s; // t0 _BOOL4 absoluteSaturation; // r3 float v11; // s13 float v12; // s14 _BOOL4 absoluteBrightness; // r3 float v; // s13 float v15; // s14 h = a2->h; p_s = &a2->s; s = a2->s; v7 = *++p_s; v8 = *((_DWORD *)p_s + 1); retstr->h = h; retstr->s = s; retstr->v = v7; *(_DWORD *)&retstr->absoluteSaturation = v8; absoluteSaturation = retstr->absoluteSaturation; v11 = retstr->s; retstr->h = retstr->h * a3; if ( absoluteSaturation ) v12 = a3 * v11; else v12 = (float)(1.0 - a3) + (float)(a3 * v11); absoluteBrightness = retstr->absoluteBrightness; retstr->s = v12; v = retstr->v; if ( absoluteBrightness ) v15 = a3 * v; else v15 = (float)(1.0 - a3) + (float)(a3 * v); retstr->v = v15; return retstr; }
GD Web Decomp Icon

GD Web Decomp

Raw Source