//
// ParticleGameObject::setParticleString from 0x4f5e1a to 0x4f5e3c (34 bytes)
//
// 6 xrefs:
// > LevelEditorLayer::pasteParticleState @ 0x466b9e
// > LevelEditorLayer::pasteParticleState @ 0x466c0e
// > LevelEditorLayer::copyParticleState @ 0x466cf0
// > CreateParticlePopup::onClose @ 0x665dc4
// > CreateParticlePopup::onClose @ 0x665e2c
// > CreateParticlePopup::onCopySettings @ 0x6663e8
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:51:16 +0000
//
unsigned __int8 *__fastcall ParticleGameObject::setParticleString(int a1, unsigned __int8 *a2)
{
unsigned __int8 *v2; // r5
unsigned __int8 *result; // r0
v2 = (unsigned __int8 *)(a1 + 1268);
result = (unsigned __int8 *)sub_4E6580((unsigned __int8 *)(a1 + 1268), a2);
if ( !result )
{
result = std::string::operator=(v2, a2);
*(_BYTE *)(a1 + 1280) = 1;
}
return result;
}