//
// ThreadViewPopup::create from 0x1400d92b0 to 0x1400d931d (109 bytes)
//
// 5 xrefs:
// > NewThreadPopup::threadSendFinished @ 0x1400f3739
// > NewThreadPopup::threadSendFinished @ 0x1400f3b66
// > InvitesPopup::threadUpdateFinished @ 0x1400f9af1
// > GJThreadCell::onViewThread @ 0x14015ab20
// > ??> @ 0x14091484c
//
// This function is hookable on this platform (idp: pc, 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:26:27 +0000
//
// Hidden C++ exception states: #wind=1
cocos2d::CCObject *__fastcall ThreadViewPopup::create(__int64 a1)
{
__int64 v2; // rax
cocos2d::CCObject *v3; // rbx
void *v5; // [rsp+38h] [rbp+10h]
v5 = operator new(0x4D8u);
v2 = ThreadViewPopup::ThreadViewPopup((__int64)v5);
v3 = (cocos2d::CCObject *)v2;
if ( v2 )
{
if ( (unsigned __int8)ThreadViewPopup::init(v2, a1) )
{
cocos2d::CCObject::autorelease(v3);
return v3;
}
(*(void (__fastcall **)(cocos2d::CCObject *, __int64))(*(_QWORD *)v3 + 8LL))(v3, 1);
return nullptr;
}
return v3;
}