//
// sub_1003DDC80 from 0x1003ddc80 to 0x1003dddb3 (307 bytes)
//
// 1 xrefs:
// > EditorUI::editObject @ 0x100009a2b
//
// 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 12:29:44 +0000
//
char *__fastcall sub_1003DDC80(__int64 a1, __int64 a2, unsigned int a3)
{
char *v4; // rbx
v4 = (char *)operator new(0x440u);
SetupTriggerPopup::SetupTriggerPopup((__int64)v4);
*(_QWORD *)v4 = off_100B3BEF0;
*((_QWORD *)v4 + 40) = off_100B3C4E8;
*((_QWORD *)v4 + 41) = &off_100B3C558;
*((_QWORD *)v4 + 42) = off_100B3C570;
*((_QWORD *)v4 + 43) = off_100B3C590;
*((_QWORD *)v4 + 44) = off_100B3C5B8;
*((_QWORD *)v4 + 51) = off_100B3C5E8;
*((_QWORD *)v4 + 54) = off_100B3C668;
*((_QWORD *)v4 + 68) = off_100B3C688;
*((_QWORD *)v4 + 83) = &off_100B3C6D0;
*((_QWORD *)v4 + 84) = off_100B3C6E8;
*((_QWORD *)v4 + 127) = off_100B3C708;
*((_DWORD *)v4 + 256) = 0;
*((_QWORD *)v4 + 132) = 0;
v4[1080] = 0;
*(_OWORD *)(v4 + 1032) = 0;
*((_DWORD *)v4 + 262) = 0;
if ( (unsigned __int8)sub_1003DDDD0(v4, a1, a2, a3) )
{
cocos2d::CCObject::autorelease(v4);
}
else
{
(*(void (__fastcall **)(char *))(*(_QWORD *)v4 + 16LL))(v4);
return nullptr;
}
return v4;
}