//
// CreateParticlePopup::create_2 from 0x100462a80 to 0x100462ad9 (89 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:26 +0000
//
void *__fastcall CreateParticlePopup::create_2(__int64 a1)
{
void *result; // rax
void *v2; // rbx
__int128 v3; // [rsp+0h] [rbp-20h] BYREF
void *__p; // [rsp+10h] [rbp-10h]
if ( (*(_BYTE *)a1 & 1) != 0 )
{
sub_10001AD30(&v3, *(const void **)(a1 + 16), *(_QWORD *)(a1 + 8));
}
else
{
__p = *(void **)(a1 + 16);
v3 = *(_OWORD *)a1;
}
result = CreateParticlePopup::create(0, 0, &v3);
if ( (v3 & 1) != 0 )
{
v2 = result;
operator delete(__p);
return v2;
}
return result;
}