//
// SetupAreaAnimTriggerPopup::create from 0x1004da270 to 0x1004da4b3 (579 bytes)
//
// 1 xrefs:
// > EditorUI::editObject @ 0x10002b2dd
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
SetupAreaAnimTriggerPopup *__fastcall SetupAreaAnimTriggerPopup::create(
EnterEffectObject *a1,
cocos2d::CCArray *a2,
int a3)
{
char *v4; // rbx
v4 = (char *)operator new(0x3E8u);
cocos2d::CCLayerColor::CCLayerColor((__int64)v4);
*((_QWORD *)v4 + 72) = 0;
*((_DWORD *)v4 + 146) = 0;
v4[588] = 0;
*((_OWORD *)v4 + 34) = 0;
*(_OWORD *)(v4 + 553) = 0;
*((_OWORD *)v4 + 37) = 0;
*((_QWORD *)v4 + 76) = 0;
*((_DWORD *)v4 + 154) = -1;
*((_WORD *)v4 + 310) = 0;
*((_DWORD *)v4 + 156) = -1;
v4[628] = 0;
*((_OWORD *)v4 + 52) = 0;
*((_OWORD *)v4 + 41) = 0;
*((_WORD *)v4 + 336) = 0;
*(_OWORD *)(v4 + 680) = 0;
*(_OWORD *)(v4 + 689) = 0;
v4[716] = 0;
*(_QWORD *)(v4 + 708) = 0;
*((_OWORD *)v4 + 50) = 0;
*((_OWORD *)v4 + 49) = 0;
*((_OWORD *)v4 + 48) = 0;
*((_OWORD *)v4 + 47) = 0;
*((_OWORD *)v4 + 46) = 0;
*((_OWORD *)v4 + 45) = 0;
*((_QWORD *)v4 + 102) = 0;
*((_QWORD *)v4 + 103) = v4 + 832;
*((_WORD *)v4 + 424) = 0;
*((_QWORD *)v4 + 107) = 0;
*((_QWORD *)v4 + 108) = 0x3F80000000000000LL;
*(_OWORD *)(v4 + 872) = 0;
*(_OWORD *)(v4 + 888) = 0;
*(_OWORD *)(v4 + 904) = 0;
*(_OWORD *)(v4 + 920) = 0;
v4[936] = 0;
*((_OWORD *)v4 + 59) = 0;
*((_QWORD *)v4 + 121) = 0;
v4[992] = 0;
*(_QWORD *)v4 = off_1009545E0;
*((_QWORD *)v4 + 40) = off_100954BB8;
*((_QWORD *)v4 + 41) = &off_100954C28;
*((_QWORD *)v4 + 42) = off_100954C40;
*((_QWORD *)v4 + 43) = off_100954C60;
*((_QWORD *)v4 + 44) = off_100954C80;
*((_QWORD *)v4 + 51) = off_100954CA8;
*((_QWORD *)v4 + 54) = off_100954D28;
*((_QWORD *)v4 + 79) = off_100954D48;
*((_QWORD *)v4 + 80) = &off_100954D90;
*((_QWORD *)v4 + 81) = off_100954DA8;
*((_QWORD *)v4 + 120) = off_100954DC8;
if ( SetupAreaAnimTriggerPopup::init((SetupAreaAnimTriggerPopup *)v4, a1, a2, a3) )
{
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v4);
}
else
{
(*(void (__fastcall **)(char *))(*(_QWORD *)v4 + 16LL))(v4);
return nullptr;
}
return (SetupAreaAnimTriggerPopup *)v4;
}