//
// ThreadMessageOptionsPopup::create from 0x753c60 to 0x753d24 (196 bytes)
//
// 1 xrefs:
// > ThreadViewPopup::onMessageOptions @ 0x753d58
//
// 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:53 +0000
//
int __fastcall ThreadMessageOptionsPopup::create(cocos2d::CCObject *a1, unsigned __int8 *a2, int a3)
{
int v6; // r4
int v7; // r3
int v8; // r0
v6 = operator new(0x2E4u);
SetupTriggerPopup::SetupTriggerPopup((SetupTriggerPopup *)v6);
*(_DWORD *)v6 = &off_CF0C48;
*(_DWORD *)(v6 + 264) = &off_CF0F44;
*(_DWORD *)(v6 + 268) = &off_CF0F7C;
*(_DWORD *)(v6 + 272) = &off_CF0F88;
*(_DWORD *)(v6 + 276) = &off_CF0F98;
*(_DWORD *)(v6 + 280) = &off_CF0FAC;
*(_DWORD *)(v6 + 316) = &off_CF0FC4;
*(_DWORD *)(v6 + 332) = &off_CF1004;
*(_DWORD *)(v6 + 440) = &off_CF1014;
*(_DWORD *)(v6 + 520) = &off_CF1038;
*(_DWORD *)(v6 + 524) = &off_CF1044;
*(_DWORD *)(v6 + 712) = &off_CF1054;
*(_DWORD *)(v6 + 716) = 0;
*(_DWORD *)(v6 + 720) = 0;
*(_DWORD *)(v6 + 724) = 0;
*(_DWORD *)(v6 + 728) = 0;
*(_DWORD *)(v6 + 732) = 0;
*(_BYTE *)(v6 + 736) = 0;
if ( ThreadMessageOptionsPopup::init(v6, a1, a2, a3) )
{
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v6);
}
else
{
v7 = *(_DWORD *)v6;
v8 = v6;
v6 = 0;
(*(void (__fastcall **)(int))(v7 + 8))(v8);
}
return v6;
}