//
// NewsPopup::newsImageFailed from 0x6c277c to 0x6c27e8 (108 bytes)
//
// 1 xrefs:
// > `non-virtual thunk to'NewsPopup::newsImageFailed @ 0x6c27f0
//
// 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::newsImageFailed(int a1, unsigned __int8 *a2)
{
int v4; // r8
int v5; // r7
int result; // r0
int v7; // [sp+0h] [bp-18h] BYREF
int v8[3]; // [sp+8h] [bp-10h] BYREF
std::__tree::__emplace_unique_key_args(
(int)&v7,
(int **)(a1 + 588),
a2,
(int)a2);
v4 = *(_DWORD *)(a1 + 540);
std::string::basic_string(v8, (int)a2);
v5 = NewsPopup::pageReferencesImage(a1, v4, (unsigned __int8 *)v8);
result = std::string::~string((int)v8);
if ( v5 )
return NewsPopup::rebuildPage((NewsPopup *)a1, *(_DWORD *)(a1 + 540));
return result;
}