//
// NewsPopup::newsImageDownloaded from 0x1404a0480 to 0x1404a050c (140 bytes)
//
// 2 xrefs:
// > ??> @ 0x1407b9ae8
// > ??> @ 0x1409293fc
//
// 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 11:32:56 +0000
//
// Hidden C++ exception states: #wind=1
void __fastcall NewsPopup::newsImageDownloaded(__int64 a1, _QWORD *a2, __int64 a3, double a4)
{
const void **v6; // rax
__int64 v7; // r8
_BYTE v8[32]; // [rsp+28h] [rbp-40h] BYREF
_QWORD *v9; // [rsp+48h] [rbp-20h]
v9 = a2;
sub_1400CF7C0((__int64 *)(a1 + 128), a2);
v6 = (const void **)sub_14003F4F0((__int64)v8, (__int64)a2);
if ( NewsPopup::pageReferencesImage(a1 - 672, *(_DWORD *)(a1 + 32), v6) )
NewsPopup::rebuildPage(a1 - 672, *(unsigned int *)(a1 + 32), v7, a4);
sub_14003D310((__int64)a2);
}