//
// CustomSongWidget::onSelect from 0x4e4f6a to 0x4e4f9e (52 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:51:04 +0000
//
CustomSongWidget *__fastcall CustomSongWidget::onSelect(CustomSongWidget *this, cocos2d::CCObject *a2)
{
CustomSongWidget *v2; // r4
int v3; // r3
void (__fastcall ***v4)(_DWORD, _DWORD); // r0
MusicDownloadManager *v5; // r0
v2 = this;
v3 = *((_DWORD *)this + 68);
if ( v3 )
{
v4 = *((void (__fastcall ****)(_DWORD, _DWORD))this + 87);
if ( v4 )
(**v4)(v4, *(_DWORD *)(v3 + 264));
this = (CustomSongWidget *)CustomSongWidget::updateSongInfo(v2);
if ( *((_BYTE *)v2 + 368) )
{
v5 = (MusicDownloadManager *)MusicDownloadManager::sharedState(this);
return (CustomSongWidget *)MusicDownloadManager::songStateChanged(v5);
}
}
return this;
}