// // CustomSongWidget::loadSongInfoFinished from 0x86dd7c to 0x86de8c (272 bytes) // // 3 xrefs: // > `non-virtual thunk to'CustomSongWidget::loadSongInfoFinished @ 0x86de90 // > @ 0xd3450 // > @ 0x1442e80 // // This function is hookable on this platform (idp: arm, 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 12:55:44 +0000 // __int64 __fastcall CustomSongWidget::loadSongInfoFinished(CustomSongWidget *this, SongInfoObject *a2) { __int64 *v4; // x0 int v5; // w1 int v6; // w2 cocos2d::CCDelayTime *started; // x0 cocos2d::CCSequence *v9; // x21 cocos2d::CCFiniteTimeAction *v10; // x0 cocos2d::CCAction *v11; // x0 MusicDownloadManager *v12; // x0 MusicDownloadManager *v13; // x0 int v14; // [xsp+34h] [xbp+34h] BYREF v4 = *((__int64 **)this + 80); v5 = *((_DWORD *)a2 + 79); while ( v4 ) { while ( 1 ) { v6 = *((_DWORD *)v4 + 7); if ( v5 >= v6 ) break; v4 = (__int64 *)*v4; if ( !v4 ) goto LABEL_5; } if ( v5 <= v6 ) { v14 = v5; v12 = (MusicDownloadManager *)std::__tree::__erase_unique((_QWORD *)this + 79, &v14); v13 = (MusicDownloadManager *)MusicDownloadManager::sharedState(v12); MusicDownloadManager::downloadSong(v13, *((_DWORD *)a2 + 79)); return _stack_chk_guard; } v4 = (__int64 *)v4[1]; } LABEL_5: if ( (unsigned __int8)CustomSongWidget::verifySongID(this, v5) ) { CustomSongWidget::updateSongObject(this, a2); started = (cocos2d::CCDelayTime *)*((unsigned __int8 *)this + 499); if ( *((_BYTE *)this + 499) ) started = (cocos2d::CCDelayTime *)CustomSongWidget::startDownload(this); v9 = (cocos2d::CCSequence *)cocos2d::CCDelayTime::create(started, 0.0); v10 = (cocos2d::CCFiniteTimeAction *)cocos2d::CCCallFunc::create(this, CustomSongWidget::updateSongInfo, 0); v11 = (cocos2d::CCAction *)cocos2d::CCSequence::create(v9, v10, 0); cocos2d::CCNode::runAction(this, v11); } return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source