//
// sub_1401226A0 from 0x1401226a0 to 0x14012276d (205 bytes)
//
// 33 xrefs:
// > DropdownListPopup::dDropdownListPopup @ 0x1401205b5
// > Dropdown::openList @ 0x14012131c
// > ArtistCell::loadFromObject @ 0x1401518d2
// > ArtistCell::onNewgrounds @ 0x140151aec
// > ArtistCell::onYouTube @ 0x140151c4c
// > sub_14015FD40 @ 0x14015fd40
// > SongInfoObject::dSongInfoObject @ 0x140480a7f
// > SongInfoObject::dSongInfoObject @ 0x140480a8b
// > MusicArtistObject::dMusicArtistObject @ 0x140480ead
// > MusicDownloadManager::parseMusicLibrary @ 0x14048ecc0
// > MusicDownloadManager::parseMusicLibrary @ 0x14048eccd
// > sub_14049CF50 @ 0x14049cf56
// > SongInfoLayer::create_2 @ 0x140634940
// > SongInfoLayer::create_2 @ 0x14063494a
// > SongInfoLayer::create @ 0x140634bc6
// > SongInfoLayer::create @ 0x140634bd1
// > SongInfoLayer::init @ 0x140634cdc
// > SongInfoLayer::init @ 0x140634ce5
// > SongInfoLayer::init @ 0x140635af6
// > SongInfoLayer::init @ 0x140635b00
// > sub_140692090 @ 0x140692097
// > sub_1406920E9 @ 0x1406920f7
// > sub_1406B01ED @ 0x1406b01f4
// > sub_1406B032C @ 0x1406b0333
// > IDNameInput::collectMatches @ 0x1403ca1ef
// > IDNameInput::collectMatches @ 0x1403ca8c6
// > sub_1406B0272 @ 0x1406b027b
// > ??> @ 0x140897ab7
// > ??> @ 0x140897cbc
// > ??> @ 0x140897ccc
// > ??> @ 0x1408c2971
// > ??> @ 0x1408c2a89
// > ??> @ 0x1409166d0
//
// 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 11:26:57 +0000
//
void __fastcall sub_1401226A0(_QWORD *a1)
{
_QWORD *v1; // rbx
_QWORD *i; // rsi
_QWORD *v4; // r8
v1 = (_QWORD *)*a1;
if ( *a1 )
{
for ( i = (_QWORD *)a1[1]; v1 != i; v1 += 9 )
{
sub_14003D310((__int64)(v1 + 5));
sub_14003D310((__int64)(v1 + 1));
}
v4 = (_QWORD *)*a1;
if ( (unsigned __int64)(72 * ((a1[2] - *a1) / 72LL)) >= 0x1000 )
{
if ( (unsigned __int64)v4 - *(v4 - 1) - 8 > 0x1F )
invoke_watson(nullptr, nullptr, nullptr, 0, 0);
v4 = (_QWORD *)*(v4 - 1);
}
j_j_free(v4);
*a1 = 0;
a1[1] = 0;
a1[2] = 0;
}
}