//
// NewsPopup::newsImageDownloaded from 0x6c2bc0 to 0x6c2c24 (100 bytes)
//
// 1 xrefs:
// > `non-virtual thunk to'NewsPopup::newsImageDownloaded @ 0x6c2c2c
//
// 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:52 +0000
//
int __fastcall NewsPopup::newsImageDownloaded(int a1, unsigned __int8 *a2, int a3, int a4)
{
int v6; // r7
int v7; // r7
int result; // r0
int v9[4]; // [sp+0h] [bp-10h] BYREF
v9[0] = a1;
v9[1] = (int)a2;
v9[2] = a3;
v9[3] = a4;
std::__tree::__erase_unique((int **)(a1 + 588), a2);
v6 = *(_DWORD *)(a1 + 540);
std::string::basic_string(v9, (int)a2);
v7 = NewsPopup::pageReferencesImage(a1, v6, (unsigned __int8 *)v9);
result = std::string::~string((int)v9);
if ( v7 )
return NewsPopup::rebuildPage((NewsPopup *)a1, *(_DWORD *)(a1 + 540));
return result;
}