// // GameObject::opacityModForMode from 0x44ecf0 to 0x44ed54 (100 bytes) // // 4 xrefs: // > PlayLayer::updateVisibility @ 0x406dec // > PlayLayer::updateVisibility @ 0x406ea2 // > GameObject::updateMainOpacity @ 0x44ed64 // > GameObject::updateSecondaryOpacity @ 0x44ed78 // // 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:48:36 +0000 // int __fastcall GameObject::opacityModForMode(GameObject *this, int a2, int a3) { int v3; // r3 float v4; // s16 unsigned int v6; // [sp+4h] [bp-8h] if ( a2 <= 0 || (!a3 ? (v3 = *((_DWORD *)this + 275)) : (v3 = *((_DWORD *)this + 274)), v6 = (unsigned int)*(float *)(v3 + 264), (unsigned __int8)v6 > 0xF9u) ) { v4 = 1.0; } else { v4 = (float)(unsigned __int8)v6 * 0.004; } if ( *((__int16 *)this + 518) > 0 ) v4 = v4 * COERCE_FLOAT(GameObject::groupOpacityMod((GJEffectManager **)this)); return LODWORD(v4); }
GD Web Decomp Icon

GD Web Decomp

Raw Source