//
// MessageThreadsPage::create from 0x100927f30 to 0x100928186 (598 bytes)
//
// 2 xrefs:
// > sub_1002126D0 @ 0x1002127be
// > ProfilePage::onMessages @ 0x1008a445e
//
// 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:20 +0000
//
char *MessageThreadsPage::create()
{
char *v0; // rbx
v0 = (char *)operator new(0x3B0u);
cocos2d::CCLayerColor::CCLayerColor((__int64)v0);
*(_QWORD *)v0 = off_100B4FB70;
*((_QWORD *)v0 + 40) = off_100B500C0;
*((_QWORD *)v0 + 41) = &off_100B50130;
*((_QWORD *)v0 + 42) = off_100B50148;
*((_QWORD *)v0 + 43) = off_100B50168;
*((_QWORD *)v0 + 44) = off_100B50190;
*((_QWORD *)v0 + 51) = off_100B501C0;
*((_QWORD *)v0 + 54) = off_100B50240;
*((_QWORD *)v0 + 68) = off_100B50260;
*(_OWORD *)(v0 + 552) = 0;
*(_OWORD *)(v0 + 561) = 0;
*(_OWORD *)(v0 + 584) = 0;
sub_1002782A0((_QWORD *)v0 + 75);
*((_OWORD *)v0 + 38) = 0;
*((_QWORD *)v0 + 78) = 0;
*((_DWORD *)v0 + 158) = -1;
*((_WORD *)v0 + 318) = 0;
*((_DWORD *)v0 + 160) = -1;
v0[644] = 0;
*((_QWORD *)v0 + 81) = 0;
v0[656] = 0;
*(_QWORD *)v0 = off_100BC1DF0;
*((_QWORD *)v0 + 40) = off_100BC23A0;
*((_QWORD *)v0 + 41) = &off_100BC2410;
*((_QWORD *)v0 + 42) = off_100BC2428;
*((_QWORD *)v0 + 43) = off_100BC2448;
*((_QWORD *)v0 + 44) = off_100BC2470;
*((_QWORD *)v0 + 51) = off_100BC24A0;
*((_QWORD *)v0 + 54) = off_100BC2520;
*((_QWORD *)v0 + 68) = off_100BC2540;
*((_QWORD *)v0 + 83) = off_100BC2588;
*((_QWORD *)v0 + 84) = &off_100BC2608;
*((_QWORD *)v0 + 85) = off_100BC2620;
*((_QWORD *)v0 + 117) = 0;
*((_OWORD *)v0 + 52) = 0;
*((_OWORD *)v0 + 51) = 0;
*((_OWORD *)v0 + 50) = 0;
*((_OWORD *)v0 + 49) = 0;
*((_OWORD *)v0 + 48) = 0;
*((_OWORD *)v0 + 47) = 0;
*((_OWORD *)v0 + 46) = 0;
*((_OWORD *)v0 + 45) = 0;
*((_OWORD *)v0 + 44) = 0;
*((_OWORD *)v0 + 43) = 0;
*((_DWORD *)v0 + 212) = 0;
*(_OWORD *)(v0 + 856) = 0;
*(_OWORD *)(v0 + 872) = 0;
*(_OWORD *)(v0 + 888) = 0;
*(_OWORD *)(v0 + 904) = 0;
*(_OWORD *)(v0 + 915) = 0;
if ( (unsigned __int8)MessageThreadsPage::init(v0) )
{
cocos2d::CCObject::autorelease((__int64)v0);
}
else
{
(*(void (__fastcall **)(char *))(*(_QWORD *)v0 + 16LL))(v0);
return nullptr;
}
return v0;
}