// // CustomSFXWidget::onToggleFavorite from 0x6a6dfc to 0x6a6e36 (58 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:31 +0000 // CustomSFXWidget *__fastcall CustomSFXWidget::onToggleFavorite(CustomSFXWidget *this, cocos2d::CCObject *a2) { CustomSFXWidget *v2; // r4 int v3; // r3 MusicDownloadManager *v4; // r0 MusicDownloadManager *v5; // r0 v2 = this; v3 = *((_DWORD *)this + 68); if ( v3 ) { if ( *(int *)(v3 + 72) <= 0 ) { v5 = (MusicDownloadManager *)MusicDownloadManager::sharedState(this); MusicDownloadManager::toggleSFXFavorite(v5, *(_DWORD *)(*((_DWORD *)v2 + 68) + 52)); } else { v4 = (MusicDownloadManager *)MusicDownloadManager::sharedState(this); MusicDownloadManager::toggleCustomSFXFavorite(v4, *(_DWORD *)(*((_DWORD *)v2 + 68) + 72)); } return (CustomSFXWidget *)CustomSFXWidget::updateSFXInfo(v2); } return this; }
GD Web Decomp Icon

GD Web Decomp

Raw Source