// // GameToolbox::getMultipliedHSV from 0x3cde70 to 0x3cdeca (90 bytes) // // 4 xrefs: // > PlayLayer::applyCustomEnterEffect @ 0x401206 // > GJBaseGameLayer::processAreaTintGroupAction @ 0x593edc // > GJEffectManager::colorForPulseEffect @ 0x5c399a // > GJEffectManager::calculateInheritedColor @ 0x5c3c2a // // 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::getMultipliedHSV(int a1, int *a2, float a3) { int v5; // r0 int v6; // r1 int v7; // r2 int v8; // r3 _DWORD *v9; // t0 int v10; // r3 float v11; // s13 float v12; // s14 int v13; // r3 float v14; // s13 float v15; // s14 v5 = *a2; v9 = a2 + 1; v6 = a2[1]; v7 = *++v9; v8 = v9[1]; *(_DWORD *)a1 = v5; *(_DWORD *)(a1 + 4) = v6; *(_DWORD *)(a1 + 8) = v7; *(_DWORD *)(a1 + 12) = v8; v10 = *(unsigned __int8 *)(a1 + 12); v11 = *(float *)(a1 + 4); *(float *)a1 = *(float *)a1 * a3; if ( v10 ) v12 = a3 * v11; else v12 = (float)(1.0 - a3) + (float)(a3 * v11); v13 = *(unsigned __int8 *)(a1 + 13); *(float *)(a1 + 4) = v12; v14 = *(float *)(a1 + 8); if ( v13 ) v15 = a3 * v14; else v15 = (float)(1.0 - a3) + (float)(a3 * v14); *(float *)(a1 + 8) = v15; return a1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source