//
// ParticleGameObject::setParticleString from 0x1406424c0 to 0x140642546 (134 bytes)
//
// 7 xrefs:
// > CreateParticlePopup::onCopySettings @ 0x1405c717f
// > CreateParticlePopup::onCopySettings @ 0x1405c7317
// > CreateParticlePopup::onPasteSettings @ 0x1405c740f
// > CreateParticlePopup::onPasteSettings @ 0x1405c7498
// > CreateParticlePopup::onClose @ 0x1405caac3
// > CreateParticlePopup::onClose @ 0x1405cab77
// > ??> @ 0x1409310c4
//
// 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 11:35:35 +0000
//
// Hidden C++ exception states: #wind=1
void __fastcall ParticleGameObject::setParticleString(__int64 a1, void **a2)
{
void **v4; // rdi
void *v5; // rdx
v4 = (void **)(a1 + 1464);
if ( sub_14003D160((_QWORD *)(a1 + 1464), a2) )
{
if ( v4 != a2 )
{
v5 = a2;
if ( (unsigned __int64)a2[3] > 0xF )
v5 = *a2;
sub_1400405A0(v4, v5, (size_t)a2[2]);
}
*(_BYTE *)(a1 + 1496) = 1;
}
sub_14003D310((__int64)a2);
}