//
// NewsItem::NewsItem from 0x573afc to 0x573b8c (144 bytes)
//
// 2 xrefs:
// > std::__ndk1::vector>::__push_back_slow_path @ 0x573c16
// > MusicDownloadManager::parseNewsFeed @ 0x574196
//
// 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:52:40 +0000
//
// Alternative name is '_ZN8NewsItemC1ERKS_'
void __fastcall NewsItem::NewsItem(NewsItem *this, const NewsItem *a2)
{
int *v4; // r8
signed int v5; // r5
int v6; // r0
const NewsBlock *v7; // r5
const NewsBlock *v8; // r6
NewsBlock *v9; // r0
v4 = (int *)((char *)this + 16);
*(_DWORD *)this = *(_DWORD *)a2;
std::string::basic_string((int *)this + 1, (int)a2 + 4);
std::string::basic_string(v4, (int)a2 + 16);
*((_DWORD *)this + 7) = 0;
*((_DWORD *)this + 8) = 0;
*((_DWORD *)this + 9) = 0;
v5 = *((_DWORD *)a2 + 8) - *((_DWORD *)a2 + 7);
if ( -991146299 * (v5 >> 2) )
{
if ( (unsigned int)(-991146299 * (v5 >> 2)) > 0x4EC4EC4 )
sub_388878();
v6 = operator new(v5);
*((_DWORD *)this + 8) = v6;
*((_DWORD *)this + 7) = v6;
*((_DWORD *)this + 9) = v5 + v6;
v7 = *((const NewsBlock **)a2 + 7);
v8 = *((const NewsBlock **)a2 + 8);
while ( v7 != v8 )
{
v9 = *((NewsBlock **)this + 8);
if ( v9 )
NewsBlock::NewsBlock(v9, v7);
v7 = (const NewsBlock *)((char *)v7 + 52);
*((_DWORD *)this + 8) += 52;
}
}
}