//
// ParticleGameObject::setParticleString from 0x1003815ec to 0x10038162c (64 bytes)
//
// 6 xrefs:
// > CreateParticlePopup::onClose @ 0x1002cda9c
// > CreateParticlePopup::onClose @ 0x1002cdb38
// > CreateParticlePopup::onCopySettings @ 0x1002cdc04
// > LevelEditorLayer::copyParticleState @ 0x100363e7c
// > LevelEditorLayer::pasteParticleState @ 0x100363fa8
// > LevelEditorLayer::pasteParticleState @ 0x100364000
//
// 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
//
std::string *__fastcall ParticleGameObject::setParticleString(__int64 a1, std::string *a2)
{
std::string *result; // x0
result = (std::string *)sub_1000045BC((_QWORD *)(a1 + 1448), a2);
if ( ((unsigned __int8)result & 1) == 0 )
{
result = std::string::operator=((std::string *)(a1 + 1448), a2);
*(_BYTE *)(a1 + 1472) = 1;
}
return result;
}