//
// SetupInstantCountPopup::create from 0x1405b7760 to 0x1405b789e (318 bytes)
//
// 2 xrefs:
// > EditorUI::editObject @ 0x1401bcaf1
// > ??> @ 0x14092dd7c
//
// 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 11:34:44 +0000
//
// Hidden C++ exception states: #wind=1
_QWORD *__fastcall SetupInstantCountPopup::create(__int64 a1, __int64 a2)
{
_QWORD *v4; // rsi
v4 = operator new(0x430u);
SetupTriggerPopup::SetupTriggerPopup((__int64)v4);
*v4 = &SetupInstantCountPopup::`vftable';
v4[40] = &SetupInstantCountPopup::`vftable';
v4[41] = &SetupInstantCountPopup::`vftable';
v4[42] = &SetupInstantCountPopup::`vftable';
v4[43] = &SetupInstantCountPopup::`vftable';
v4[44] = &SetupInstantCountPopup::`vftable';
v4[51] = &SetupInstantCountPopup::`vftable';
v4[54] = &SetupInstantCountPopup::`vftable';
v4[68] = &SetupInstantCountPopup::`vftable';
v4[83] = &SetupInstantCountPopup::`vftable';
v4[84] = &SetupInstantCountPopup::`vftable';
v4[125] = 0;
v4[126] = 0;
v4[127] = 0;
v4[128] = 0;
*((_DWORD *)v4 + 258) = 0;
*((_DWORD *)v4 + 260) = 0;
if ( (unsigned __int8)SetupInstantCountPopup::init(v4, a1, a2) )
{
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v4);
return v4;
}
else
{
(*(void (__fastcall **)(_QWORD *, __int64))(*v4 + 8LL))(v4, 1);
return nullptr;
}
}