//
// CreateParticlePopup::willClose from 0x10046a810 to 0x10046a87e (110 bytes)
//
// 0 xrefs:
//
// 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:30:31 +0000
//
__int64 __fastcall CreateParticlePopup::willClose(_QWORD *a1)
{
__int64 v2; // rax
__int64 v3; // r14
_QWORD *v4; // rdi
v2 = sub_1007FEFE0(a1[93], 0);
if ( v2 )
{
v3 = *(_QWORD *)(v2 + 56);
while ( v3 )
{
v4 = *(_QWORD **)(v3 + 264);
v3 = *(_QWORD *)(v3 + 288);
v4[73] = 0;
(*(void (__fastcall **)(_QWORD *, _QWORD))(*v4 + 1160LL))(v4, 0);
}
}
return (*(__int64 (__fastcall **)(_QWORD *, _QWORD))(*a1 + 1072LL))(a1, 0);
}