// // GJItemIcon::darkenStoreItem from 0x1003717b0 to 0x1003718f4 (324 bytes) // // 11 xrefs: // > GJPathPage::init @ 0x1003000f9 // > GJGarageLayer::setupSpecialPage @ 0x10036d9d1 // > GJGarageLayer::getItems @ 0x10036dd38 // > GJItemIcon::darkenStoreItem_1 @ 0x10036e551 // > GJItemIcon::darkenStoreItem_1 @ 0x10036e55c // > GJItemIcon::darkenStoreItem_1 @ 0x10036e567 // > GJItemIcon::darkenStoreItem_1 @ 0x10036e572 // > GJItemIcon::darkenStoreItem_1 @ 0x10036e57d // > GJItemIcon::darkenStoreItem_1 @ 0x10036e588 // > GJItemIcon::changeToLockedState @ 0x10036e5c8 // > ShardsPage::init @ 0x1004c6ab7 // // 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::darkenStoreItem(GJItemIcon *a1, cocos2d::ccColor3B a2) { bool m_isIcon; // r15 SimplePlayer *m_player; // rbx GJRobotSprite *m_robotSprite; // rdi GJRobotSprite *m_spiderSprite; // rdi __int64 v6; // rax __int64 v7; // rbx unsigned int v8; // r14d __int64 v9; // rax m_isIcon = a1->m_isIcon; m_player = (SimplePlayer *)a1->m_player; ((void (__fastcall *)(SimplePlayer *, void *))m_player->setColor)(m_player, &unk_100819EA0); ((void (__fastcall *)(SimplePlayer *, __int64))m_player->setOpacity)(m_player, 120); if ( m_isIcon ) { m_player->m_hasGlowOutline = 0; SimplePlayer::updateColors(m_player); SimplePlayer::hideSecondary(m_player); m_robotSprite = m_player->m_robotSprite; if ( m_robotSprite ) { GJRobotSprite::updateColor01(m_robotSprite, (cocos2d::ccColor3B)*(unsigned int *)&a2.r); ((void (__fastcall *)(GJRobotSprite *, __int64))m_player->m_robotSprite->setOpacity)(m_player->m_robotSprite, 190); ((void (__fastcall *)(GJRobotSprite *))m_player->m_robotSprite->hideSecondary)(m_player->m_robotSprite); } m_spiderSprite = m_player->m_spiderSprite; if ( m_spiderSprite ) { GJRobotSprite::updateColor01(m_spiderSprite, (cocos2d::ccColor3B)*(unsigned int *)&a2.r); ((void (__fastcall *)(GJSpiderSprite *, __int64))m_player->m_spiderSprite->setOpacity)( m_player->m_spiderSprite, 190); ((void (__fastcall *)(GJSpiderSprite *))m_player->m_spiderSprite->hideSecondary)(m_player->m_spiderSprite); } } else { v6 = ((__int64 (__fastcall *)(SimplePlayer *))m_player->getChildren)(m_player); if ( v6 ) { v7 = v6; if ( (unsigned int)sub_100720070(v6) ) { v8 = 0; do { v9 = sub_1007200C0(v7, v8); (*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v9 + 328LL))(v9, 0); ++v8; } while ( v8 < (unsigned int)sub_100720070(v7) ); } } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source