// // GJItemIcon::setOpacity from 0x100307f20 to 0x100307fb4 (148 bytes) // // 2 xrefs: // > sub_100307FB4 @ 0x100307fb8 // > @ 0x1007ecb60 // // 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 // // local variable allocation has failed, the output may be wrong! void __fastcall GJItemIcon::setOpacity(GJItemIcon *a1, unsigned __int8 a2) { __int64 v2; // x19 __int64 v4; // x0 __int64 v5; // x20 unsigned int v6; // w21 __int64 v7; // x0 v2 = a2; cocos2d::CCSprite::setOpacity(a1, a2); ((void (__fastcall *)(cocos2d::CCSprite *, __int64))a1->m_player->setOpacity)(a1->m_player, v2); v4 = ((__int64 (__fastcall *)(cocos2d::CCSprite *))a1->m_player->getChildren)(a1->m_player); if ( v4 ) { v5 = v4; if ( (unsigned int)sub_10024A36C(v4) ) { v6 = 0; do { v7 = sub_10024A388(v5, v6); (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v7 + 896LL))(v7, v2); ++v6; } while ( v6 < (unsigned int)sub_10024A36C(v5) ); } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source