// // GameToolbox::multipliedColorValue from 0x3cdbe8 to 0x3cdcd4 (236 bytes) // // 15 xrefs: // > GameToolbox::colorToSepia @ 0x3cdde0 // > PlayLayer::applyCustomEnterEffect @ 0x401260 // > PlayLayer::applyCustomEnterEffect @ 0x4013e8 // > PlayerObject::update @ 0x448ac6 // > PlayerObject::update @ 0x448b20 // > GJBaseGameLayer::processAreaTintGroupAction @ 0x5940b6 // > GJBaseGameLayer::processAreaTintGroupAction @ 0x59410e // > GJBaseGameLayer::processAreaTintGroupAction @ 0x5941a4 // > GJBaseGameLayer::processAreaTintGroupAction @ 0x5941fc // > ColorAction::step @ 0x5c29f0 // > GJEffectManager::colorForPulseEffect @ 0x5c3912 // > GJEffectManager::colorForPulseEffect @ 0x5c39e2 // > GJEffectManager::calculateInheritedColor @ 0x5c3b54 // > SecretRewardsLayer::scrollLayerMoved @ 0x6ca792 // > ColorAction2::step @ 0x6d0586 // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings // Generated at Fri, 27 Nov 2026 11:46:39 +0000 // int __fastcall GameToolbox::multipliedColorValue(int a1, int a2, float a3) { int v3; // r3 int v5; // r2 int v6; // r1 int v7; // r5 int v8; // r4 int v9; // r0 unsigned __int8 v11; // [sp+Ch] [bp-8h] unsigned __int8 v12; // [sp+Dh] [bp-7h] unsigned __int8 v13; // [sp+Eh] [bp-6h] v3 = BYTE1(a2); v5 = (unsigned __int8)a2; v6 = BYTE2(a2); v7 = (unsigned __int8)a1; v8 = BYTE1(a1); v9 = BYTE2(a1); if ( a3 >= 1.0 ) { LABEL_8: v11 = v5; v12 = v3; v13 = v6; return v11 | (unsigned __int16)(v12 << 8) | (v13 << 16); } if ( a3 > 0.0 && a3 != 0.0 ) { if ( a3 != 1.0 ) { v11 = (unsigned int)(float)((float)v7 + (float)((float)(v5 - v7) * a3)); v12 = (int)(float)((float)v8 + (float)((float)(v3 - v8) * a3)); v13 = (int)(float)((float)v9 + (float)((float)(v6 - v9) * a3)); return v11 | (unsigned __int16)(v12 << 8) | (v13 << 16); } goto LABEL_8; } v11 = v7; v12 = v8; v13 = v9; return v11 | (unsigned __int16)(v12 << 8) | (v13 << 16); }
GD Web Decomp Icon

GD Web Decomp

Raw Source