// // NewsPopup::refreshFromManager from 0x100958f80 to 0x100959039 (185 bytes) // // 3 xrefs: // > NewsPopup::init @ 0x100958ef7 // > NewsPopup::musicActionFinished @ 0x10095b07a // > sub_10095B090 @ 0x10095b0a1 // // This function is hookable on this platform (idp: pc, 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 12:38:42 +0000 // __int64 __fastcall NewsPopup::refreshFromManager(__int64 a1) { __int64 v2; // rax __int64 v3; // rdi int v4; // r14d int v5; // r14d __int64 v6; // rsi v2 = MusicDownloadManager::sharedState(); v3 = a1 + 680; if ( a1 + 680 != v2 + 840 ) sub_10095BA70( v3, *(_QWORD *)(v2 + 840), *(_QWORD *)(v2 + 848), 0xCCCCCCCCCCCCCCCDLL * ((__int64)(*(_QWORD *)(v2 + 848) - *(_QWORD *)(v2 + 840)) >> 4)); v4 = *(_DWORD *)(MusicDownloadManager::sharedState() + 868); if ( v4 > *(_DWORD *)(GameManager::sharedState() + 1152) ) { v5 = *(_DWORD *)(MusicDownloadManager::sharedState() + 868); *(_DWORD *)(GameManager::sharedState() + 1152) = v5; } v6 = *(unsigned int *)(a1 + 704); if ( (int)v6 >= (int)(-858993459 * ((*(_QWORD *)(a1 + 688) - *(_QWORD *)(a1 + 680)) >> 4)) ) { *(_DWORD *)(a1 + 704) = 0; v6 = 0; } return NewsPopup::rebuildPage(a1, v6); }
GD Web Decomp Icon

GD Web Decomp

Raw Source