//
// sub_1005781D0 from 0x1005781d0 to 0x1005782b5 (229 bytes)
//
// 2 xrefs:
// > sub_1005782C0 @ 0x1005782cc
// > ??> @ 0x100965e08
//
// 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
//
void __fastcall sub_1005781D0(cocos2d::CCNode *__p)
{
__p->__vftable = (cocos2d::CCNode_vtbl *)off_100965DF8;
__p[1].__vftable = (cocos2d::CCNode_vtbl *)off_1009663C8;
*(_QWORD *)&__p[1].m_uID = &off_100966438;
*(_QWORD *)&__p[1].m_nTag = off_100966450;
*(_QWORD *)&__p[1].m_uAutoReleaseCount = off_100966470;
*(_QWORD *)&__p[1].m_uIndexInArray = off_100966490;
*(_QWORD *)&__p[1].m_fSkewY = off_1009664B8;
*(_QWORD *)&__p[1].m_obContentSize.height = off_100966538;
*(_QWORD *)&__p[1].m_bUseChildIndex = off_100966558;
__p[2].__vftable = (cocos2d::CCNode_vtbl *)&off_1009665A0;
*(_QWORD *)&__p[2].m_uID = off_1009665B8;
cocos2d::CCNode::removeAllChildrenWithCleanup(__p, 1);
sub_100054D90((__int64)&__p[3].m_uIndexInArray, *(_QWORD **)&__p[3].m_unknown2);
sub_10008FD20((__int64)&__p[3].m_uID, *(_QWORD **)&__p[3].m_nTag);
SetupTriggerPopup::dSetupTriggerPopup((__int64)__p);
operator delete(__p);
}