//
// ReportPopup::reasonIndicesForType from 0x79f668 to 0x79f6fe (150 bytes)
//
// 10 xrefs:
// > InfoLayer::onBulkDelete @ 0x53d9d6
// > AdminActionConfirmPopup::createContentDelete @ 0x731e10
// > ReportPopup::createForThread @ 0x7a0e4a
// > ReportPopup::createForUser @ 0x7a0f1e
// > ReportPopup::createForLevel @ 0x7a1026
// > ReportPopup::createForList @ 0x7a1128
// > ReportPopup::createForSoundConfig @ 0x7a122c
// > ReportPopup::createForComment @ 0x7a13c6
// > ReportPopup::createForFriendRequest @ 0x7a153e
// > ReportPopup::createForMessage @ 0x7a168a
//
// 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:52 +0000
//
ReportPopup *__fastcall ReportPopup::reasonIndicesForType(ReportPopup *this, int a2)
{
ReportPopup *v3; // r0
int *v4; // r1
int *v5; // r2
switch ( a2 )
{
case 1:
case 2:
*(_DWORD *)this = 0;
*((_DWORD *)this + 1) = 0;
*((_DWORD *)this + 2) = 0;
std::vector::allocate(this, 6u);
v3 = this;
v4 = (int *)&unk_BF1294;
v5 = (int *)&unk_BF12AC;
break;
case 3:
case 4:
case 5:
case 6:
case 7:
case 8:
*(_DWORD *)this = 0;
*((_DWORD *)this + 1) = 0;
*((_DWORD *)this + 2) = 0;
std::vector::allocate(this, 5u);
v3 = this;
v4 = (int *)&unk_BF12AC;
v5 = (int *)&unk_BF12C0;
break;
case 9:
*(_DWORD *)this = 0;
*((_DWORD *)this + 1) = 0;
*((_DWORD *)this + 2) = 0;
std::vector::allocate(this, 4u);
v3 = this;
v4 = (int *)&unk_BF12C0;
v5 = (int *)&unk_BF12D0;
break;
default:
*(_DWORD *)this = 0;
*((_DWORD *)this + 1) = 0;
*((_DWORD *)this + 2) = 0;
std::vector::allocate(this, 7u);
v3 = this;
v4 = (int *)&unk_BF12D0;
v5 = (int *)&unk_BF12EC;
break;
}
sub_79F28E((int)v3, v4, v5);
return this;
}