//
// GameLevelManager::hasLikedItemFullCheck from 0x803f40 to 0x803fe4 (164 bytes)
//
// 8 xrefs:
// > CommentCell::onLike @ 0x735b34
// > CommentCell::onLike @ 0x735bbc
// > LevelInfoLayer::updateSideButtons @ 0x7e6550
// > GameLevelManager::likeItem @ 0x82afa4
// > LevelListLayer::updateSideButtons @ 0xba96e0
// > EditorSoundConfigInfoLayer::onLike @ 0xccce64
// > EditorSoundConfigInfoLayer::refreshLikeState @ 0xccd82c
// > ??> @ 0x5fb30
//
// This function is hookable on this platform (idp: arm, 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:54:44 +0000
//
bool __fastcall GameLevelManager::hasLikedItemFullCheck(__int64 a1, const char *a2, __int64 a3)
{
unsigned int v3; // w19
unsigned int v5; // w21
v3 = (unsigned int)a2;
v5 = a3;
if ( (_DWORD)a2 == 3 )
{
if ( GameLevelManager::hasLikedAccountItem(a1, a2, a3, 1u) )
return 1;
return GameLevelManager::hasLikedAccountItem(a1, (_BYTE *)&dword_0 + 3, v5, 0);
}
else
{
if ( GameLevelManager::hasLikedItem(a1, a2, a3, 1u) )
return 1;
return GameLevelManager::hasLikedItem(a1, (const char *)v3, v5, 0);
}
}