// // cocos2d::CCSprite::setOpacity from 0x1002d5c28 to 0x1002d5ca0 (120 bytes) // // 29 xrefs: // > CCPartAnimSprite::setOpacity @ 0x100087df4 // > TextArea::setOpacity @ 0x10011b7ec // > sub_10011B80C @ 0x10011b824 // > sub_10024DEBC @ 0x10024ded0 // > sub_10024DEF0 @ 0x10024df08 // > GJChestSprite::setOpacity @ 0x10025de18 // > MultilineBitmapFont::setOpacity @ 0x1002d2168 // > sub_1002D5CA0 @ 0x1002d5ca4 // > GameObject::setOpacity @ 0x1002f8c4c // > CCAnimatedSprite::setOpacity @ 0x10039a8bc // > GJItemIcon::setOpacity @ 0x1003a4c50 // > @ 0x1008aec00 // > @ 0x1008c0100 // > @ 0x1008c0a58 // > @ 0x1008c1c68 // > @ 0x1008c4230 // > @ 0x1008c8230 // > @ 0x1008dfff8 // > @ 0x1009040e0 // > @ 0x1009046a8 // > @ 0x10090aaa0 // > @ 0x100911ae0 // > @ 0x10091cca0 // > @ 0x1009207a8 // > @ 0x10093ccd0 // > @ 0x100942518 // > @ 0x100947d18 // > @ 0x100963c30 // > @ 0x10098ca30 // // 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 11:02:41 +0000 // __int64 __fastcall cocos2d::CCSprite::setOpacity(__int64 result, int a2) { int v2; // w21 _QWORD *v4; // x19 v2 = *(unsigned __int8 *)(result + 329); if ( v2 != a2 ) { v4 = (_QWORD *)result; cocos2d::CCNodeRGBA::setOpacity(); if ( v4[46] && (a2 && !v2 || !a2 && v2) ) (*(void (__fastcall **)(_QWORD *, __int64))(*v4 + 1200LL))(v4, 1); return cocos2d::CCSprite::updateColor((__int64)v4); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source