//
// LevelListLayer::updateSideButtons from 0xa75a90 to 0xa75b34 (164 bytes)
//
// 3 xrefs:
// > LevelListLayer::init @ 0xa768fc
// > LevelListLayer::likedItem @ 0xa77b44
// > ??> @ 0x4f9f8
//
// 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 LevelListLayer::updateSideButtons(LevelListLayer *a1)
{
GameLevelManager *v2; // x0
int v3; // w4
cocos2d::CCNode *v4; // x19
void (__fastcall *setSkewY)(cocos2d::CCNode *__hidden, float); // x20
cocos2d::CCSpriteFrameCache *v6; // x0
cocos2d::CCSpriteFrame *v7; // x0
if ( a1->m_likeButton )
{
v2 = GameLevelManager::sharedState();
if ( GameLevelManager::hasLikedItemFullCheck(v2, (LikeItemType)4, a1->m_levelList->m_listID, 0, v3) )
{
a1->m_likeButton->setEnabled(a1->m_likeButton, 0);
v4 = a1->m_likeButton->getNormalImage(a1->m_likeButton);
setSkewY = v4->__vftable[1].setSkewY;
v6 = cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache();
v7 = cocos2d::CCSpriteFrameCache::spriteFrameByName(v6, "GJ_like2Btn2_001.png");
((void (__fastcall *)(cocos2d::CCNode *, cocos2d::CCSpriteFrame *))setSkewY)(v4, v7);
}
}
}