//
// ReportQueuePopup::create from 0xc50558 to 0xc507d4 (636 bytes)
//
// 2 xrefs:
// > MenuLayer::onReportQueue @ 0x6ea330
// > ??> @ 0x105e08
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// 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 13:05:08 +0000
//
__int64 __fastcall ReportQueuePopup::create(ReportQueuePopup *this)
{
__int64 v1; // x19
v1 = operator new(0x338u);
cocos2d::CCLayerColor::CCLayerColor((cocos2d::CCLayerColor *)v1);
*(_QWORD *)(v1 + 552) = 0;
*(_QWORD *)v1 = &off_1419A40;
*(_QWORD *)(v1 + 320) = off_1419F90;
*(_QWORD *)(v1 + 328) = &off_141A000;
*(_QWORD *)(v1 + 336) = off_141A018;
*(_QWORD *)(v1 + 344) = off_141A038;
*(_QWORD *)(v1 + 352) = off_141A060;
*(_QWORD *)(v1 + 408) = &off_141A090;
*(_QWORD *)(v1 + 432) = &off_141A110;
*(_QWORD *)(v1 + 544) = off_141A130;
*(_QWORD *)(v1 + 560) = 0;
*(_QWORD *)(v1 + 568) = 0;
*(_BYTE *)(v1 + 576) = 0;
*(_QWORD *)(v1 + 584) = 0;
*(_DWORD *)(v1 + 592) = 0;
*(_BYTE *)(v1 + 596) = 0;
*(_BYTE *)(v1 + 597) = 0;
*(_BYTE *)(v1 + 598) = 0;
*(_BYTE *)(v1 + 599) = 0;
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)(v1 + 600));
*(_DWORD *)(v1 + 632) = -1;
*(_DWORD *)(v1 + 640) = -1;
*(_QWORD *)(v1 + 608) = 0;
*(_QWORD *)(v1 + 616) = 0;
*(_QWORD *)(v1 + 624) = 0;
*(_BYTE *)(v1 + 636) = 0;
*(_BYTE *)(v1 + 637) = 0;
*(_BYTE *)(v1 + 644) = 0;
*(_BYTE *)(v1 + 656) = 0;
*(_DWORD *)(v1 + 648) = 0;
*(_DWORD *)(v1 + 652) = 0;
*(_QWORD *)v1 = &off_14E5140;
*(_QWORD *)(v1 + 320) = &unk_14E56A8;
*(_QWORD *)(v1 + 328) = &off_14E5718;
*(_QWORD *)(v1 + 336) = off_14E5730;
*(_QWORD *)(v1 + 344) = off_14E5750;
*(_QWORD *)(v1 + 352) = off_14E5778;
*(_QWORD *)(v1 + 408) = &off_14E57A8;
*(_QWORD *)(v1 + 432) = &off_14E5828;
*(_QWORD *)(v1 + 544) = off_14E5848;
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)(v1 + 660));
*(_DWORD *)(v1 + 676) = 0;
*(_DWORD *)(v1 + 680) = -1;
*(_QWORD *)(v1 + 688) = 0;
*(_QWORD *)(v1 + 696) = 0;
*(_DWORD *)(v1 + 668) = 0;
*(_DWORD *)(v1 + 672) = 0;
*(_DWORD *)(v1 + 704) = 0;
*(_DWORD *)(v1 + 708) = 0;
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)(v1 + 712));
*(_BYTE *)(v1 + 768) = -106;
*(_BYTE *)(v1 + 769) = -106;
*(_BYTE *)(v1 + 770) = -106;
*(_BYTE *)(v1 + 771) = -1;
*(_QWORD *)(v1 + 720) = 0;
*(_QWORD *)(v1 + 728) = 0;
*(_QWORD *)(v1 + 736) = 0;
*(_QWORD *)(v1 + 744) = 0;
*(_QWORD *)(v1 + 752) = 0;
*(_QWORD *)(v1 + 760) = 0;
*(_DWORD *)(v1 + 792) = 0;
*(_QWORD *)v1 = &off_14E7E90;
*(_QWORD *)(v1 + 320) = off_14E8410;
*(_QWORD *)(v1 + 328) = &off_14E8480;
*(_QWORD *)(v1 + 336) = off_14E8498;
*(_QWORD *)(v1 + 344) = off_14E84B8;
*(_QWORD *)(v1 + 352) = off_14E84E0;
*(_QWORD *)(v1 + 408) = &off_14E8510;
*(_QWORD *)(v1 + 432) = &off_14E8590;
*(_QWORD *)(v1 + 544) = off_14E85B0;
*(_QWORD *)(v1 + 776) = &off_14E85F8;
*(_QWORD *)(v1 + 784) = &off_14E8768;
*(_DWORD *)(v1 + 796) = 0;
*(_QWORD *)(v1 + 800) = 0;
*(_QWORD *)(v1 + 808) = 0;
*(_QWORD *)(v1 + 816) = 0;
if ( (unsigned __int8)ReportQueuePopup::init((ReportQueuePopup *)v1) )
{
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v1);
return v1;
}
else
{
(*(void (__fastcall **)(__int64))(*(_QWORD *)v1 + 16LL))(v1);
return 0;
}
}