//
// ReportPopup::createForList from 0x7a1068 to 0x7a1166 (254 bytes)
//
// 1 xrefs:
// > InfoLayer::confirmReport @ 0x53c9b2
//
// 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:54 +0000
//
ReportPopup *__fastcall ReportPopup::createForList(ReportPopup *this, GJLevelList *a2)
{
ReportPopup *v2; // r4
_BYTE *v3; // r2
int v4; // r3
int v5; // r0
int v6; // r1
_BYTE *v7; // r2
_BYTE *v8; // r2
int v9; // r3
int v10; // r0
int v11; // r1
_BYTE *v12; // r2
const ReportPopupConfig *v13; // r1
int v15; // [sp+4h] [bp-74h] BYREF
int v16; // [sp+8h] [bp-70h]
_BYTE *v17; // [sp+Ch] [bp-6Ch]
int v18; // [sp+10h] [bp-68h] BYREF
int v19; // [sp+14h] [bp-64h]
_BYTE *v20; // [sp+18h] [bp-60h]
char *v21[3]; // [sp+1Ch] [bp-5Ch] BYREF
char *v22[3]; // [sp+28h] [bp-50h] BYREF
int v23; // [sp+34h] [bp-44h] BYREF
int v24; // [sp+38h] [bp-40h]
_BYTE *v25; // [sp+3Ch] [bp-3Ch]
int v26; // [sp+58h] [bp-20h] BYREF
int v27; // [sp+5Ch] [bp-1Ch]
_BYTE *v28; // [sp+60h] [bp-18h]
char *v29; // [sp+64h] [bp-14h] BYREF
v2 = this;
if ( this )
{
ReportPopupConfig::ReportPopupConfig((ReportPopupConfig *)v22);
v22[0] = (_BYTE *)(&dword_0 + 2);
v22[1] = *((char **)v2 + 69);
std::string::basic_string(&v15, (int)v2 + 348);
v4 = v23 & 1;
if ( (v23 & 1) != 0 )
{
v3 = v25;
v4 = 0;
}
else
{
BYTE1(v23) = v23 & 1;
}
if ( (v23 & 1) != 0 )
{
*v3 = v4;
v24 = v4;
}
else
{
LOBYTE(v23) = v4;
}
std::string::reserve(&v23, 0);
v5 = v15;
v6 = v16;
v7 = v17;
v15 = 0;
v16 = 0;
v17 = nullptr;
v23 = v5;
v24 = v6;
v25 = v7;
std::string::~string((int)&v15);
std::string::basic_string(&v18, (int)v2 + 336);
v9 = v26 & 1;
if ( (v26 & 1) != 0 )
{
v8 = v28;
v9 = 0;
}
else
{
BYTE1(v26) = v26 & 1;
}
if ( (v26 & 1) != 0 )
{
*v8 = v9;
v27 = v9;
}
else
{
LOBYTE(v26) = v9;
}
std::string::reserve(&v26, 0);
v10 = v18;
v11 = v19;
v12 = v20;
v18 = 0;
v19 = 0;
v20 = nullptr;
v26 = v10;
v27 = v11;
v28 = v12;
std::string::~string((int)&v18);
ReportPopup::reasonIndicesForType((ReportPopup *)v21, 2);
sub_79F2A8(&v29, v21);
std::__vector_base::~__vector_base(v21);
v2 = (ReportPopup *)ReportPopup::create((ReportPopup *)v22, v13);
ReportPopupConfig::~ReportPopupConfig(v22);
}
return v2;
}