// // GJEffectManager::getMixedColor from 0x9fa8d4 to 0x9fa9d4 (256 bytes) // // 3 xrefs: // > PlayLayer::updateVisibility @ 0x701a54 // > GJEffectManager::calculateLightBGColor @ 0xa19c28 // > @ 0x104c98 // // This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True! // // 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 12:59:16 +0000 // unsigned __int64 __fastcall GJEffectManager::getMixedColor(int a1, int a2, float a3) { float v3; // s3 float v4; // s3 float v5; // s2 float v6; // s0 unsigned __int8 v7; // w2 unsigned __int8 v8; // w3 v3 = (float)(unsigned __int8)a2; LOBYTE(a2) = -1; v4 = (float)(v3 * (float)(1.0 - a3)) + (float)((float)(unsigned __int8)a1 * a3); v5 = (float)((float)BYTE1(a2) * (float)(1.0 - a3)) + (float)((float)BYTE1(a1) * a3); v6 = (float)((float)BYTE2(a2) * (float)(1.0 - a3)) + (float)((float)BYTE2(a1) * a3); if ( v4 <= 255.0 ) { if ( v4 <= 0.0 ) { LOBYTE(a2) = 0; } else if ( v4 <= 255.0 ) { LOBYTE(a2) = (unsigned int)v4; } } v7 = -1; if ( v5 <= 255.0 ) { if ( v5 <= 0.0 ) { v7 = 0; } else if ( v5 <= 255.0 ) { v7 = (unsigned int)v5; } } v8 = -1; if ( v6 <= 255.0 ) { if ( v6 <= 0.0 ) { v8 = 0; } else if ( v6 <= 255.0 ) { v8 = (unsigned int)v6; } } return (unsigned __int8)a2 | (unsigned __int64)(unsigned __int16)(v7 << 8) | ((unsigned __int64)v8 << 16); }
GD Web Decomp Icon

GD Web Decomp

Raw Source