// // cocos2d::CCSprite::setOpacity from 0x18008f7a0 to 0x18008f826 (134 bytes) // // 7 xrefs: // > @ 0x1800f1de0 // > @ 0x1800f22c8 // > @ 0x1800f2e78 // > @ 0x18010a2b8 // > @ 0x18010d300 // > @ 0x18014cf68 // > @ 0x1801c0048 // // This function is hookable on this platform (idp: pc, 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:22:07 +0000 // void __fastcall cocos2d::CCSprite::setOpacity(cocos2d::CCSprite *this, char a2) { int v2; // ebp __int64 v5; // rdx v2 = *((unsigned __int8 *)this + 9); if ( (_BYTE)v2 != a2 ) { cocos2d::CCNodeRGBA::setOpacity(this, a2); if ( *((_QWORD *)this + 6) && ((float)v2 == 0.0 && a2 || !a2 && (float)v2 > 0.0) ) { LOBYTE(v5) = 1; (*(void (__fastcall **)(char *, __int64))(*((_QWORD *)this - 40) + 1048LL))((char *)this - 320, v5); } cocos2d::CCSprite::updateColor((cocos2d::CCSprite *)((char *)this - 320)); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source