//
// ReportPopup::createForUser from 0x7a0eac to 0x7a0f5a (174 bytes)
//
// 1 xrefs:
// > ProfilePage::onReportUser @ 0x5f58d0
//
// 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:59:53 +0000
//
ReportPopup *__fastcall ReportPopup::createForUser(ReportPopup *this, GJUserScore *a2)
{
ReportPopup *v2; // r4
_BYTE *v3; // r2
int v4; // r3
const ReportPopupConfig *v5; // r1
int v7; // [sp+0h] [bp-6Ch] BYREF
int v8; // [sp+4h] [bp-68h]
_BYTE *v9; // [sp+8h] [bp-64h]
char *v10[3]; // [sp+Ch] [bp-60h] BYREF
char *v11[3]; // [sp+18h] [bp-54h] BYREF
int v12; // [sp+24h] [bp-48h] BYREF
int v13; // [sp+28h] [bp-44h]
_BYTE *v14; // [sp+2Ch] [bp-40h]
char *v15; // [sp+54h] [bp-18h] BYREF
v2 = this;
if ( this )
{
ReportPopupConfig::ReportPopupConfig((ReportPopupConfig *)v11);
v11[0] = nullptr;
v11[1] = *((char **)v2 + 74);
std::string::basic_string(&v7, (int)v2 + 264);
v4 = v12 & 1;
if ( (v12 & 1) != 0 )
{
v3 = v14;
v4 = 0;
}
else
{
BYTE1(v12) = v12 & 1;
}
if ( (v12 & 1) != 0 )
{
*v3 = v4;
v13 = v4;
}
else
{
LOBYTE(v12) = v4;
}
std::string::reserve(&v12, 0);
v12 = v7;
v13 = v8;
v14 = v9;
v7 = 0;
v8 = 0;
v9 = nullptr;
std::string::~string((int)&v7);
ReportPopup::reasonIndicesForType((ReportPopup *)v10, 0);
sub_79F2A8(&v15, v10);
std::__vector_base::~__vector_base(v10);
v2 = (ReportPopup *)ReportPopup::create((ReportPopup *)v11, v5);
ReportPopupConfig::~ReportPopupConfig(v11);
}
return v2;
}