// // CustomSFXWidget::onDownload from 0x6a62b4 to 0x6a6326 (114 bytes) // // 1 xrefs: // > CustomSFXWidget::FLAlert_Clicked @ 0x6a6d3a // // 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:30 +0000 // GameManager *__fastcall CustomSFXWidget::onDownload(CustomSFXWidget *this, cocos2d::CCObject *a2) { GameManager *result; // r0 GameManager *v4; // r0 MusicDownloadManager *v5; // r0 result = (GameManager *)(*(int (__fastcall **)(_DWORD, _DWORD))(**((_DWORD **)this + 72) + 172))( *((_DWORD *)this + 72), 0); if ( *((_DWORD *)this + 68) ) { v4 = (GameManager *)GameManager::sharedState(result); if ( GameManager::getGameVariable(v4, "0016") ) { CustomSFXWidget::showLoadingArt(this); (*(void (__fastcall **)(_DWORD, _DWORD))(**((_DWORD **)this + 73) + 172))(*((_DWORD *)this + 73), 0); (*(void (__fastcall **)(_DWORD, int))(**((_DWORD **)this + 74) + 172))(*((_DWORD *)this + 74), 1); (*(void (__fastcall **)(_DWORD, _DWORD))(**((_DWORD **)this + 77) + 172))(*((_DWORD *)this + 77), 0); return (GameManager *)CustomSFXWidget::startDownload(this); } else { v5 = (MusicDownloadManager *)MusicDownloadManager::sharedState(nullptr); return (GameManager *)MusicDownloadManager::showTOS(v5, (CustomSFXWidget *)((char *)this + 268)); } } return result; }