//
// LevelListLayer::updateSideButtons from 0x1003496d0 to 0x100349760 (144 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 12:28:47 +0000
//
__int64 __fastcall LevelListLayer::updateSideButtons(__int64 a1, double a2)
{
__int64 v2; // rax
__int64 result; // rax
__int64 v4; // rbx
__int64 v5; // rax
__int64 v6; // rax
if ( *(_QWORD *)(a1 + 944) )
{
v2 = GameLevelManager::sharedState(a2);
result = GameLevelManager::hasLikedItemFullCheck(v2, 4, *(unsigned int *)(*(_QWORD *)(a1 + 912) + 344LL), 0);
if ( (_BYTE)result )
{
(*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(a1 + 944) + 1056LL))(*(_QWORD *)(a1 + 944), 0);
v4 = (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 944) + 1072LL))(*(_QWORD *)(a1 + 944));
v5 = cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache();
v6 = cocos2d::CCSpriteFrameCache::spriteFrameByName(v5, "GJ_like2Btn2_001.png");
return (*(__int64 (__fastcall **)(__int64, __int64))(*(_QWORD *)v4 + 1160LL))(v4, v6);
}
}
return result;
}