//
// ThreadViewPopup::create from 0x75ce28 to 0x75ce66 (62 bytes)
//
// 4 xrefs:
// > GJThreadCell::onViewThread @ 0x4246de
// > NewThreadPopup::threadSendFinished @ 0x75cff6
// > NewThreadPopup::threadSendFinished @ 0x75d1cc
// > InvitesPopup::threadUpdateFinished @ 0x75d366
//
// 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:00 +0000
//
ThreadViewPopup *__fastcall ThreadViewPopup::create(ThreadViewPopup *this, GJMessageThread *a2)
{
ThreadViewPopup *v3; // r4
int v4; // r3
ThreadViewPopup *v5; // r0
v3 = (ThreadViewPopup *)operator new(0x388u);
ThreadViewPopup::ThreadViewPopup(v3);
if ( ThreadViewPopup::init(v3, this) )
{
cocos2d::CCObject::autorelease(v3);
}
else
{
v4 = *(_DWORD *)v3;
v5 = v3;
v3 = nullptr;
(*(void (__fastcall **)(ThreadViewPopup *))(v4 + 8))(v5);
}
return v3;
}