// // MusicDownloadManager::downloadNewsFeed from 0x570a98 to 0x570b80 (232 bytes) // // 1 xrefs: // > MusicDownloadManager::onTryUpdateNewsFeedCompleted @ 0x570bdc // // 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:52:37 +0000 // int __fastcall MusicDownloadManager::downloadNewsFeed(int this) { cocos2d::CCObject *v1; // r7 int v2; // r4 int v3; // r4 int *Request; // r5 int v5; // r3 int v6[3]; // [sp+18h] [bp-2Ch] BYREF int v7[3]; // [sp+24h] [bp-20h] BYREF int v8; // [sp+30h] [bp-14h] BYREF int v9; // [sp+34h] [bp-10h] int v10; // [sp+38h] [bp-Ch] v1 = (cocos2d::CCObject *)this; v2 = *(unsigned __int8 *)(this + 288); if ( (v2 & 1) != 0 ) v3 = *(_DWORD *)(this + 292); else v3 = v2 >> 1; if ( v3 ) { this = MusicDownloadManager::isDLActive((MusicDownloadManager *)this, "dl_news"); if ( !this ) { v8 = 0; v9 = 0; v10 = 0; std::string::__init(&v8, "/news/news.dat", 0xEu); MusicDownloadManager::generateCustomContentURL(v6, (int)v1, (int)&v8); std::string::~string((int)&v8); std::string::basic_string(v7, (int)v6); v8 = 0; v9 = 0; v10 = 0; std::string::__init(&v8, &unk_B6B226, 0); Request = MusicDownloadManager::ProcessHttpGetRequest( v1, (int)v7, (int)&v8, (int)MusicDownloadManager::onDownloadNewsFeedCompleted, 0, 5, 30); std::string::~string((int)&v8); std::string::~string((int)v7); MusicDownloadManager::addDLToActive(v1, "dl_news", (cocos2d::CCObject *)Request, v5); return std::string::~string((int)v6); } } return this; }
GD Web Decomp Icon

GD Web Decomp

Raw Source