// // NewsPopup::prefetchPageImages from 0x6c1a60 to 0x6c1b36 (214 bytes) // // 2 xrefs: // > NewsPopup::rebuildPage @ 0x6c260c // > NewsPopup::rebuildPage @ 0x6c2618 // // 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:51 +0000 // MusicDownloadManager *__fastcall NewsPopup::prefetchPageImages(MusicDownloadManager *this, int a2) { int v2; // r2 int v3; // r8 int v4; // r7 int i; // r9 int v6; // r2 int v7; // r5 int v8; // r4 int v9; // r4 unsigned __int8 *v10; // r5 cocos2d::CCFileUtils *v11; // r10 int isNewsImageDownloaded; // r10 int v13; // r10 int v14[3]; // [sp+0h] [bp-14h] BYREF if ( a2 >= 0 ) { v2 = *((_DWORD *)this + 132); if ( a2 < -858993459 * ((*((_DWORD *)this + 133) - v2) >> 3) ) { v3 = (int)this + 588; v4 = v2 + 40 * a2; for ( i = 0; ; ++i ) { v6 = *(_DWORD *)(v4 + 28); if ( i >= -991146299 * ((*(_DWORD *)(v4 + 32) - v6) >> 2) ) break; v7 = v6 + 52 * i; if ( *(_DWORD *)v7 == 1 ) { v8 = *(unsigned __int8 *)(v7 + 16); if ( (v8 & 1) != 0 ) v9 = *(_DWORD *)(v7 + 20); else v9 = v8 >> 1; if ( v9 ) { v10 = (unsigned __int8 *)(v7 + 16); this = (MusicDownloadManager *)std::__tree::__count_unique(v3, v10); if ( !this ) { v11 = (cocos2d::CCFileUtils *)MusicDownloadManager::sharedState(nullptr); std::string::basic_string(v14, (int)v10); isNewsImageDownloaded = MusicDownloadManager::isNewsImageDownloaded(v11, (int)v14); this = (MusicDownloadManager *)std::string::~string((int)v14); if ( !isNewsImageDownloaded ) { v13 = MusicDownloadManager::sharedState(this); std::string::basic_string(v14, (int)v10); MusicDownloadManager::downloadNewsImage(v13, (unsigned __int8 *)v14); this = (MusicDownloadManager *)std::string::~string((int)v14); } } } } } } } return this; }
GD Web Decomp Icon

GD Web Decomp

Raw Source