//
// RenameThreadPopup::create from 0x74dfc4 to 0x74e088 (196 bytes)
//
// 1 xrefs:
// > ThreadOptionsPopup::onRename @ 0x74e098
//
// 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:48 +0000
//
SetupTriggerPopup *__fastcall RenameThreadPopup::create(
RenameThreadPopup *this,
GJMessageThread *a2,
ThreadViewPopup *a3)
{
SetupTriggerPopup *v5; // r4
int v6; // r3
int *v7; // r0
v5 = (SetupTriggerPopup *)operator new(0x2E8u);
SetupTriggerPopup::SetupTriggerPopup(v5);
*(_DWORD *)v5 = &off_CF2D58;
*((_DWORD *)v5 + 66) = &off_CF3070;
*((_DWORD *)v5 + 67) = &off_CF30A8;
*((_DWORD *)v5 + 68) = &off_CF30B4;
*((_DWORD *)v5 + 69) = &off_CF30C4;
*((_DWORD *)v5 + 70) = &off_CF30D8;
*((_DWORD *)v5 + 79) = &off_CF30F0;
*((_DWORD *)v5 + 83) = &off_CF3130;
*((_DWORD *)v5 + 110) = &off_CF3140;
*((_DWORD *)v5 + 130) = &off_CF3164;
*((_DWORD *)v5 + 131) = &off_CF3170;
*((_DWORD *)v5 + 178) = &off_CF3180;
*((_DWORD *)v5 + 179) = 0;
*((_DWORD *)v5 + 180) = 0;
*((_DWORD *)v5 + 181) = 0;
*((_DWORD *)v5 + 182) = 0;
*((_DWORD *)v5 + 183) = 0;
*((_DWORD *)v5 + 184) = 0;
*((_BYTE *)v5 + 740) = 0;
if ( RenameThreadPopup::init(v5, this, a2) )
{
cocos2d::CCObject::autorelease(v5);
}
else
{
v6 = *(_DWORD *)v5;
v7 = (int *)v5;
v5 = nullptr;
(*(void (__fastcall **)(int *))(v6 + 8))(v7);
}
return v5;
}