// // CustomSongWidget::loadSongInfoFinished from 0x4e5e7c to 0x4e5f28 (172 bytes) // // 1 xrefs: // > `non-virtual thunk to'CustomSongWidget::loadSongInfoFinished @ 0x4e5f34 // // 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:05 +0000 // int __fastcall CustomSongWidget::loadSongInfoFinished(CustomSongWidget *this, SongInfoObject *a2) { int v3; // r2 _DWORD *v5; // r3 int v6; // r1 int *v7; // r0 MusicDownloadManager *v8; // r0 int result; // r0 float v10; // r1 cocos2d::CCSequence *v11; // r7 cocos2d::CCFiniteTimeAction *v12; // r0 cocos2d::CCAction *v13; // r0 int v14; // [sp+4h] [bp-10h] BYREF v3 = *((_DWORD *)a2 + 66); v5 = *((_DWORD **)this + 109); while ( v5 ) { v6 = v5[4]; if ( v3 >= v6 ) { if ( v6 >= v3 ) { v14 = v3; v7 = std::__tree::__erase_unique((int **)this + 108, &v14); v8 = (MusicDownloadManager *)MusicDownloadManager::sharedState((MusicDownloadManager *)v7); return MusicDownloadManager::downloadSong(v8, *((_DWORD *)a2 + 66)); } v5 = (_DWORD *)v5[1]; } else { v5 = (_DWORD *)*v5; } } result = CustomSongWidget::verifySongID(this, v3); if ( result ) { CustomSongWidget::updateSongObject(this, a2); if ( *((_BYTE *)this + 355) ) CustomSongWidget::startDownload(this); v11 = (cocos2d::CCSequence *)cocos2d::CCDelayTime::create(nullptr, v10); v12 = (cocos2d::CCFiniteTimeAction *)cocos2d::CCCallFunc::create(this, CustomSongWidget::updateSongInfo, 0); v13 = (cocos2d::CCAction *)cocos2d::CCSequence::create(v11, v12, 0); return cocos2d::CCNode::runAction(this, v13); } return result; }