//
// MessageThreadsPage::onNewThread from 0x1009298c0 to 0x100929936 (118 bytes)
//
// 1 xrefs:
// > MessageThreadsPage::init @ 0x100928850
//
// 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 12:38:21 +0000
//
void MessageThreadsPage::onNewThread()
{
void *v0; // rbx
_WORD v1[12]; // [rsp+0h] [rbp-40h] BYREF
_WORD v2[8]; // [rsp+18h] [rbp-28h] BYREF
void *__p; // [rsp+28h] [rbp-18h]
v1[0] = 0;
v2[0] = 0;
v0 = operator new(0x3A8u);
sub_100955C70(v0);
if ( !(unsigned __int8)NewThreadPopup::init(v0, 0, v1, v2) )
sub_1009A64D0(v0);
cocos2d::CCObject::autorelease((__int64)v0);
(*(void (__fastcall **)(void *))(*(_QWORD *)v0 + 1312LL))(v0);
if ( (v2[0] & 1) != 0 )
operator delete(__p);
}