//
// ThreadViewPopup::create from 0x1004f7ea4 to 0x1004f7f04 (96 bytes)
//
// 4 xrefs:
// > GJThreadCell::onViewThread @ 0x10013a630
// > NewThreadPopup::threadSendFinished @ 0x10050c408
// > NewThreadPopup::threadSendFinished @ 0x10050c4c0
// > InvitesPopup::threadUpdateFinished @ 0x1005109d0
//
// 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 11:06:49 +0000
//
void *__fastcall ThreadViewPopup::create(__int64 a1)
{
void *v2; // x19
v2 = operator new(0x4D0u);
ThreadViewPopup::ThreadViewPopup();
if ( (unsigned int)ThreadViewPopup::init(v2, a1) )
{
cocos2d::CCObject::autorelease((__int64)v2);
}
else
{
(*(void (__fastcall **)(void *))(*(_QWORD *)v2 + 16LL))(v2);
return nullptr;
}
return v2;
}