// // GJItemIcon::setOpacity from 0x100371610 to 0x1003716a5 (149 bytes) // // 1 xrefs: // > @ 0x10091c628 // // 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 GJItemIcon::setOpacity(GJItemIcon *a1, unsigned __int8 a2) { __int64 v2; // rax __int64 v3; // rbx unsigned int v4; // r15d __int64 v5; // rax cocos2d::CCSprite::setOpacity(a1, a2); ((void (__fastcall *)(cocos2d::CCSprite *, _QWORD))a1->m_player->setOpacity)(a1->m_player, a2); v2 = ((__int64 (__fastcall *)(cocos2d::CCSprite *))a1->m_player->getChildren)(a1->m_player); if ( v2 ) { v3 = v2; if ( (unsigned int)sub_100720070(v2) ) { v4 = 0; do { v5 = sub_1007200C0(v3, v4); (*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v5 + 896LL))(v5, a2); ++v4; } while ( v4 < (unsigned int)sub_100720070(v3) ); } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source