// // GJItemIcon::setOpacity from 0x79a838 to 0x79a8d4 (156 bytes) // // 3 xrefs: // > `non-virtual thunk to'GJItemIcon::setOpacity @ 0x79a8d8 // > @ 0x8d3f0 // > @ 0x11795d0 // // 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 GJItemIcon::setOpacity(GJItemIcon *a1, unsigned __int8 a2) { unsigned int v2; // w21 unsigned int v4; // w19 cocos2d::CCArray *v5; // x20 __int64 v6; // x0 bool v7; // cf unsigned int v8; // w1 v2 = a2; v4 = 0; cocos2d::CCSprite::setOpacity(a1, a2); a1->m_player->setOpacity(a1->m_player, v2); v5 = a1->m_player->getChildren(a1->m_player); if ( v5 ) { while ( 1 ) { v7 = v4 >= (unsigned int)cocos2d::CCArray::count(v5); v8 = v4++; if ( v7 ) break; v6 = cocos2d::CCArray::objectAtIndex(v5, v8); (*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v6 + 896LL))(v6, v2); } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source