// // GameObject::opacityModForMode from 0x1002ff5c0 to 0x1002ff638 (120 bytes) // // 4 xrefs: // > PlayLayer::updateVisibility @ 0x100145790 // > PlayLayer::updateVisibility @ 0x100145860 // > GameObject::updateMainColor @ 0x1002ff4a0 // > GameObject::updateSecondaryColor @ 0x1002ff698 // // 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 11:03:04 +0000 // float __fastcall GameObject::opacityModForMode(__int64 a1, int a2, int a3) { __int64 v3; // x8 unsigned int v4; // w8 float v5; // s8 if ( a2 < 1 ) { v5 = 1.0; } else { v3 = 1272; if ( a3 ) v3 = 1264; v4 = (int)*(float *)(*(_QWORD *)(a1 + v3) + 316LL); if ( v4 >= 0xFA ) v5 = 1.0; else v5 = (float)v4 * 0.004; } if ( *(__int16 *)(a1 + 1200) >= 1 ) return v5 * GameObject::groupOpacityMod(a1); return v5; }
GD Web Decomp Icon

GD Web Decomp

Raw Source