//
// ThreadSearchPopup::create from 0x74e86c to 0x74e924 (184 bytes)
//
// 1 xrefs:
// > ThreadViewPopup::onSearch @ 0x74e93a
//
// 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:49 +0000
//
SetupTriggerPopup *__fastcall ThreadSearchPopup::create(ThreadSearchPopup *this, ThreadViewPopup *a2)
{
SetupTriggerPopup *v3; // r4
int v4; // r3
SetupTriggerPopup *v5; // r0
v3 = (SetupTriggerPopup *)operator new(0x2E0u);
SetupTriggerPopup::SetupTriggerPopup(v3);
*(_DWORD *)v3 = &off_CF0480;
*((_DWORD *)v3 + 66) = &off_CF0778;
*((_DWORD *)v3 + 67) = &off_CF07B0;
*((_DWORD *)v3 + 68) = &off_CF07BC;
*((_DWORD *)v3 + 69) = &off_CF07CC;
*((_DWORD *)v3 + 70) = &off_CF07E0;
*((_DWORD *)v3 + 79) = &off_CF07F8;
*((_DWORD *)v3 + 83) = &off_CF0838;
*((_DWORD *)v3 + 110) = &off_CF0848;
*((_DWORD *)v3 + 130) = &off_CF086C;
*((_DWORD *)v3 + 131) = &off_CF0878;
*((_DWORD *)v3 + 178) = 0;
*((_DWORD *)v3 + 179) = 0;
*((_DWORD *)v3 + 180) = 0;
*((_DWORD *)v3 + 181) = 0;
*((_DWORD *)v3 + 182) = 0;
*((_DWORD *)v3 + 183) = 2026;
if ( ThreadSearchPopup::init(v3, this) )
{
cocos2d::CCObject::autorelease(v3);
}
else
{
v4 = *(_DWORD *)v3;
v5 = v3;
v3 = nullptr;
(*(void (__fastcall **)(SetupTriggerPopup *))(v4 + 8))(v5);
}
return v3;
}