//
// MessageThreadsPage::create from 0x7466e8 to 0x746818 (304 bytes)
//
// 2 xrefs:
// > MessagesProfilePage::onClose @ 0x5f0e26
// > ProfilePage::onMessages @ 0x5f597a
//
// 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:58:42 +0000
//
int *__fastcall MessageThreadsPage::create(MessageThreadsPage *this)
{
int *v1; // r4
int v2; // r3
int *v3; // r0
v1 = (int *)operator new(0x29Cu);
FLAlertLayer::FLAlertLayer((FLAlertLayer *)v1);
v1[133] = 0;
v1[134] = 0;
v1[135] = 0;
*v1 = (int)&off_CEFBC8;
v1[136] = 0;
v1[66] = (int)&off_CEFEA0;
v1[137] = 0;
v1[67] = (int)&off_CEFED8;
v1[138] = 0;
v1[68] = (int)&off_CEFEE4;
v1[139] = 0;
v1[69] = (int)&off_CEFEF4;
v1[140] = 0;
v1[70] = (int)&off_CEFF08;
v1[141] = 0;
v1[79] = (int)&off_CEFF20;
v1[142] = 0;
v1[83] = (int)&off_CEFF60;
v1[143] = 0;
v1[110] = (int)&off_CEFF70;
v1[144] = 0;
v1[130] = (int)&off_CEFF94;
v1[145] = 0;
v1[131] = (int)&off_CEFFD4;
v1[132] = (int)&off_CEFFE0;
v1[146] = 0;
v1[147] = 0;
v1[148] = 0;
v1[149] = 0;
v1[150] = 0;
v1[151] = 0;
v1[152] = 0;
v1[153] = 0;
v1[154] = 0;
v1[155] = 0;
memset(v1 + 156, 0, 0xCu);
v1[159] = 0;
v1[160] = 0;
v1[161] = 0;
v1[162] = 0;
v1[163] = 0;
v1[164] = 0;
*((_BYTE *)v1 + 660) = 0;
*((_BYTE *)v1 + 661) = 0;
*((_BYTE *)v1 + 662) = 0;
v1[166] = 0;
if ( MessageThreadsPage::init((MessageThreadsPage *)v1) )
{
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v1);
}
else
{
v2 = *v1;
v3 = v1;
v1 = nullptr;
(*(void (__fastcall **)(int *))(v2 + 8))(v3);
}
return v1;
}