//
// MusicBrowser::onChangelog from 0x6bdb18 to 0x6bdbca (178 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:56:48 +0000
//
int __fastcall MusicBrowser::onChangelog(MusicBrowser *this, cocos2d::CCObject *a2)
{
int v3; // r0
MusicChangelogPopup *v4; // r4
cocos2d::CCArray *v5; // r1
int v6; // r0
void (__fastcall *v8)(MusicBrowser *, cocos2d::CCNode *, int); // r9
cocos2d::CCNode *v9; // r0
int v10[3]; // [sp+Ch] [bp-20h] BYREF
int v11[3]; // [sp+18h] [bp-14h] BYREF
v3 = MusicDownloadManager::sharedState(this);
v4 = *(MusicChangelogPopup **)(v3 + 340);
if ( v4 && cocos2d::CCArray::count(*(cocos2d::CCArray **)(v3 + 340)) )
{
v6 = MusicChangelogPopup::create(v4, v5);
return (*(int (__fastcall **)(int))(*(_DWORD *)v6 + 656))(v6);
}
else
{
v8 = *(void (__fastcall **)(MusicBrowser *, cocos2d::CCNode *, int))(*(_DWORD *)this + 232);
memset(v10, 0, sizeof(v10));
std::string::__init(v10, "No changelog available.", 0x17u);
memset(v11, 0, sizeof(v11));
std::string::__init(v11, &unk_B6B226, 0);
v9 = TextAlertPopup::create((int)v10, (cocos2d::CCDelayTime *)0x3F800000, 0.5, 150, (int)v11);
v8(this, v9, 100);
std::string::~string((int)v11);
return std::string::~string((int)v10);
}
}