//
// SongInfoObject::containsTag from 0x100594aa0 to 0x100594ae0 (64 bytes)
//
// 0 xrefs:
//
// 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
//
bool __fastcall SongInfoObject::containsTag(SongInfoObject *a1, int a2)
{
std::__tree_end_node *>::pointer left; // rax
left = a1->m_tags.__tree_.__pair1_.__value_.__left_;
if ( !left )
return 0;
while ( *((_DWORD *)left + 7) > a2 )
{
LABEL_3:
left = *(std::__tree_end_node *>::pointer *)left;
if ( !left )
return 0;
}
if ( *((_DWORD *)left + 7) < a2 )
{
left = (std::__tree_end_node *>::pointer)((char *)left + 8);
goto LABEL_3;
}
return 1;
}