// // cocos2d::CCSprite::setOpacity from 0x18008c5b0 to 0x18008c627 (119 bytes) // // 9 xrefs: // > @ 0x1800ebce0 // > @ 0x1800ec1b8 // > @ 0x1800ecd38 // > @ 0x180103bf0 // > @ 0x180106c18 // > @ 0x18013d4f8 // > @ 0x18013d508 // > @ 0x1801438a8 // > @ 0x1801b5d78 // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // void __fastcall cocos2d::CCSprite::setOpacity(cocos2d::CCSprite *this, char a2) { int v2; // eax float v5; // xmm6_4 __int64 v6; // rdx v2 = BYTE1(this->m_uID); if ( (_BYTE)v2 != a2 ) { v5 = (float)v2; cocos2d::CCNodeRGBA::setOpacity(this, a2); if ( *(_QWORD *)&this->m_uOrderOfArrival && (v5 == 0.0 && a2 || !a2 && v5 > 0.0) ) { LOBYTE(v6) = 1; (*(void (__fastcall **)(char *, __int64))(*((_QWORD *)this - 40) + 1032LL))((char *)this - 320, v6); } cocos2d::CCSprite::updateColor((cocos2d::CCSprite *)((char *)this - 320)); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source