// // GameObject::opacityModForMode from 0x771920 to 0x771994 (116 bytes) // // 5 xrefs: // > PlayLayer::updateVisibility @ 0x70137c // > PlayLayer::updateVisibility @ 0x701874 // > GameObject::updateMainOpacity @ 0x7719b0 // > GameObject::updateSecondaryOpacity @ 0x7719dc // > @ 0x7c948 // // 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:53:13 +0000 // float __fastcall GameObject::opacityModForMode(GameObject *this, int a2, char a3) { __int64 v3; // x1 int v4; // w1 float v5; // s8 if ( a2 <= 0 || (a3 ? (v3 = *((_QWORD *)this + 158)) : (v3 = *((_QWORD *)this + 159)), v4 = (unsigned __int8)(unsigned int)*(float *)(v3 + 316), (unsigned int)v4 > 0xF9) ) { v5 = 1.0; } else { v5 = (float)v4 * 0.004; } if ( *((__int16 *)this + 600) > 0 ) return v5 * GameObject::groupOpacityMod(this); return v5; }
GD Web Decomp Icon

GD Web Decomp

Raw Source