// // NewsPopup::refreshFromManager from 0xb8d410 to 0xb8d4b0 (160 bytes) // // 3 xrefs: // > NewsPopup::init @ 0xb8dadc // > NewsPopup::musicActionFinished @ 0xb8dbbc // > @ 0xd5250 // // 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 13:02:35 +0000 // __int64 __fastcall NewsPopup::refreshFromManager(NewsPopup *this) { __int64 *v2; // x0 GameManager *v3; // x0 int v4; // w20 GameManager *v5; // x0 int v6; // w1 MusicDownloadManager *v8; // x20 v2 = (__int64 *)MusicDownloadManager::sharedState(this); if ( (__int64 *)((char *)this + 680) != v2 + 105 ) std::vector::assign((__int64 *)this + 85, v2[105], v2[106]); v3 = (GameManager *)MusicDownloadManager::sharedState((MusicDownloadManager *)v2); v4 = *((_DWORD *)v3 + 217); v5 = (GameManager *)*(unsigned int *)(GameManager::sharedState(v3) + 1152); if ( v4 > (int)v5 ) { v8 = (MusicDownloadManager *)GameManager::sharedState(v5); *((_DWORD *)v8 + 288) = *(_DWORD *)(MusicDownloadManager::sharedState(v8) + 868); } v6 = *((_DWORD *)this + 176); if ( v6 >= (int)(-858993459 * ((__int64)(*((_QWORD *)this + 86) - *((_QWORD *)this + 85)) >> 4)) ) { *((_DWORD *)this + 176) = 0; v6 = 0; } return NewsPopup::rebuildPage(this, v6); }
GD Web Decomp Icon

GD Web Decomp

Raw Source