//
// ReportPopup::create from 0x7a0d48 to 0x7a0e00 (184 bytes)
//
// 8 xrefs:
// > ReportPopup::createForThread @ 0x7a0e60
// > ReportPopup::createForUser @ 0x7a0f32
// > ReportPopup::createForLevel @ 0x7a103a
// > ReportPopup::createForList @ 0x7a113c
// > ReportPopup::createForSoundConfig @ 0x7a1240
// > ReportPopup::createForComment @ 0x7a13da
// > ReportPopup::createForFriendRequest @ 0x7a1552
// > ReportPopup::createForMessage @ 0x7a169e
//
// 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
//
_DWORD *__fastcall ReportPopup::create(ReportPopup *this, const ReportPopupConfig *a2)
{
_DWORD *v3; // r4
int v4; // r3
_DWORD *v5; // r0
v3 = (_DWORD *)operator new(0x328u);
SetupTriggerPopup::SetupTriggerPopup((SetupTriggerPopup *)v3);
*v3 = &off_CFD0F8;
v3[66] = &off_CFD3F4;
v3[67] = &off_CFD42C;
v3[68] = &off_CFD438;
v3[69] = &off_CFD448;
v3[70] = &off_CFD45C;
v3[79] = &off_CFD474;
v3[83] = &off_CFD4B4;
v3[110] = &off_CFD4C4;
v3[130] = &off_CFD4E8;
v3[131] = &off_CFD4F4;
v3[178] = &off_CFD504;
ReportPopupConfig::ReportPopupConfig((ReportPopupConfig *)(v3 + 180));
v3[198] = 0;
v3[199] = 0;
v3[200] = 0;
if ( ReportPopup::init((ReportPopup *)v3, this) )
{
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v3);
}
else
{
v4 = *v3;
v5 = v3;
v3 = nullptr;
(*(void (__fastcall **)(_DWORD *))(v4 + 8))(v5);
}
return v3;
}