//
// ParticleGameObject::setParticleString from 0x1404a0790 to 0x1404a0816 (134 bytes)
//
// 7 xrefs:
// > CreateParticlePopup::onCopySettings @ 0x140431ae9
// > CreateParticlePopup::onCopySettings @ 0x140431c8b
// > CreateParticlePopup::onPasteSettings @ 0x140431d7c
// > CreateParticlePopup::onPasteSettings @ 0x140431e08
// > CreateParticlePopup::onClose @ 0x140435173
// > CreateParticlePopup::onClose @ 0x140435227
// > ??> @ 0x1406dc53c
//
// 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
//
// 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_14003A760((_QWORD *)(a1 + 1464), a2) )
{
if ( v4 != a2 )
{
v5 = a2;
if ( (unsigned __int64)a2[3] > 0xF )
v5 = *a2;
sub_14003CCE0(v4, v5, (size_t)a2[2]);
}
*(_BYTE *)(a1 + 1496) = 1;
}
sub_14003A830((__int64)a2);
}