//
// FriendRequestPopup::create from 0xa31e8c to 0xa32068 (476 bytes)
//
// 5 xrefs:
// > GJRequestCell::onViewFriendRequest @ 0x7399f8
// > GJRequestCell::onViewFriendRequest @ 0x739a24
// > ProfilePage::onFriend @ 0xa56b5c
// > ProfilePage::onFriend @ 0xa56c48
// > ??> @ 0x955f0
//
// 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 12:59:48 +0000
//
__int64 __fastcall FriendRequestPopup::create(FriendRequestPopup *this, GJFriendRequest *a2)
{
char v3; // w20
__int64 v4; // x19
v3 = (char)a2;
v4 = operator new(0x2D8u);
cocos2d::CCLayerColor::CCLayerColor((cocos2d::CCLayerColor *)v4);
*(_QWORD *)(v4 + 552) = 0;
*(_QWORD *)v4 = &off_1419A40;
*(_QWORD *)(v4 + 320) = off_1419F90;
*(_QWORD *)(v4 + 328) = &off_141A000;
*(_QWORD *)(v4 + 336) = off_141A018;
*(_QWORD *)(v4 + 344) = off_141A038;
*(_QWORD *)(v4 + 352) = off_141A060;
*(_QWORD *)(v4 + 408) = &off_141A090;
*(_QWORD *)(v4 + 432) = &off_141A110;
*(_QWORD *)(v4 + 544) = off_141A130;
*(_QWORD *)(v4 + 560) = 0;
*(_QWORD *)(v4 + 568) = 0;
*(_BYTE *)(v4 + 576) = 0;
*(_QWORD *)(v4 + 584) = 0;
*(_DWORD *)(v4 + 592) = 0;
*(_BYTE *)(v4 + 596) = 0;
*(_BYTE *)(v4 + 597) = 0;
*(_BYTE *)(v4 + 598) = 0;
*(_BYTE *)(v4 + 599) = 0;
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)(v4 + 600));
*(_DWORD *)(v4 + 632) = -1;
*(_DWORD *)(v4 + 640) = -1;
*(_QWORD *)(v4 + 608) = 0;
*(_QWORD *)(v4 + 616) = 0;
*(_QWORD *)(v4 + 624) = 0;
*(_BYTE *)(v4 + 636) = 0;
*(_BYTE *)(v4 + 637) = 0;
*(_BYTE *)(v4 + 644) = 0;
*(_BYTE *)(v4 + 656) = 0;
*(_DWORD *)(v4 + 648) = 0;
*(_DWORD *)(v4 + 652) = 0;
*(_BYTE *)(v4 + 688) = 0;
*(_QWORD *)v4 = &off_147E660;
*(_QWORD *)(v4 + 320) = off_147EBD0;
*(_QWORD *)(v4 + 328) = &off_147EC40;
*(_QWORD *)(v4 + 336) = off_147EC58;
*(_QWORD *)(v4 + 344) = off_147EC78;
*(_QWORD *)(v4 + 352) = off_147ECA0;
*(_QWORD *)(v4 + 408) = &off_147ECD0;
*(_QWORD *)(v4 + 432) = &off_147ED50;
*(_QWORD *)(v4 + 544) = off_147ED70;
*(_QWORD *)(v4 + 664) = off_147EDB8;
*(_QWORD *)(v4 + 672) = &off_147EDD8;
*(_QWORD *)(v4 + 680) = &off_147EDF0;
*(_BYTE *)(v4 + 689) = 0;
*(_QWORD *)(v4 + 696) = 0;
*(_QWORD *)(v4 + 704) = 0;
*(_QWORD *)(v4 + 712) = 0;
*(_QWORD *)(v4 + 720) = 0;
if ( (unsigned __int8)FriendRequestPopup::init((cocos2d::CCNode ***)v4, this, v3) )
{
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v4);
return v4;
}
else
{
(*(void (__fastcall **)(__int64))(*(_QWORD *)v4 + 16LL))(v4);
return 0;
}
}