//
// ParticleGameObject::createParticlePreviewArt from 0x1404a09c0 to 0x1404a0b43 (387 bytes)
//
// 2 xrefs:
// > GameObject::setupCustomSprites @ 0x1401bcf70
// > ??> @ 0x1406dc554
//
// 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 ParticleGameObject::createParticlePreviewArt(ParticleGameObject *a1)
{
__int64 v2; // rax
struct cocos2d::CCSprite *v3; // rax
__int64 v4; // rax
struct cocos2d::CCSprite *v5; // rax
__int128 v6; // [rsp+20h] [rbp-28h] BYREF
__int64 v7; // [rsp+30h] [rbp-18h]
__int64 v8; // [rsp+38h] [rbp-10h]
cocos2d::CCPoint v9; // [rsp+58h] [rbp+10h] BYREF
if ( !a1->getChildByTag(a1, 1) )
{
v6 = 0;
v7 = 0;
v8 = 15;
*(_QWORD *)&v6 = sub_14003AA10(0x20u);
v7 = 26;
v8 = 31;
strcpy((char *)v6, "edit_eCParticleBtn_001.png");
cocos2d::CCPoint::CCPoint(&v9);
v3 = GameObject::addCustomChild((__int64)a1, (const char *)&v6, v2, 1u);
v3->setTag(v3, 1);
v6 = 0;
v7 = 0;
v8 = 15;
*(_QWORD *)&v6 = sub_14003AA10(0x20u);
v7 = 31;
v8 = 31;
strcpy((char *)v6, "edit_eParticleBtn_color_001.png");
cocos2d::CCPoint::CCPoint(&v9);
v5 = GameObject::addInternalCustomColorChild((__int64)a1, (const char *)&v6, v4, 0xFFFFFFFF);
v5->setTag(v5, 1);
}
}