// // GameObject::addToOpacityGroup from 0x76ffd4 to 0x770078 (164 bytes) // // 2 xrefs: // > PlayLayer::optimizeOpacityGroups @ 0x704f8c // > @ 0xb4088 // // 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:12 +0000 // __int64 __fastcall GameObject::addToOpacityGroup(__int64 this, int a2) { __int64 v3; // x20 int v4; // w4 __int16 *v5; // x3 int v6; // t1 v3 = this; if ( *(__int16 *)(this + 1200) <= 9 && (unsigned int)(a2 - 1) <= 0x270E ) { GameObject::createOpacityGroupContainer(this, 10); v4 = *(__int16 *)(v3 + 1200); v5 = *(__int16 **)(v3 + 1192); if ( v4 > 0 ) { this = (unsigned int)*v5; if ( (_DWORD)this == a2 ) return this; this = (__int64)(v5 + 1); while ( (__int16 *)this != &v5[v4 - 1 + 1] ) { v6 = *(__int16 *)this; this += 2; if ( v6 == a2 ) return this; } } v5[*(__int16 *)(v3 + 1200)] = a2; return (unsigned int)(unsigned __int16)(*(_WORD *)(v3 + 1200))++ + 1; } return this; }
GD Web Decomp Icon

GD Web Decomp

Raw Source