//
// CreateParticlePopup::willClose from 0x1002d02f0 to 0x1002d0358 (104 bytes)
//
// 2 xrefs:
// > CreateParticlePopup::onClose @ 0x1002cda7c
// > CreateParticlePopup::onPasteSettings @ 0x1002cdccc
//
// 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 CreateParticlePopup::willClose(CreateParticlePopup *a1)
{
__int64 v2; // x0
__int64 v3; // x8
__int64 v4; // x20
_QWORD *v5; // x0
v2 = sub_10024A388((__int64)a1->m_inputDicts, 0);
if ( v2 )
{
v3 = *(_QWORD *)(v2 + 56);
if ( v3 )
{
do
{
v4 = *(_QWORD *)(v3 + 288);
v5 = *(_QWORD **)(v3 + 264);
v5[68] = 0;
(*(void (__fastcall **)(_QWORD *, _QWORD))(*v5 + 1144LL))(v5, 0);
v3 = v4;
}
while ( v4 );
}
}
((void (__fastcall *)(CreateParticlePopup *, _QWORD))a1->setKeypadEnabled)(a1, 0);
}