//
// ParticleGameObject::createParticlePreviewArt from 0x8873e0 to 0x887558 (376 bytes)
//
// 2 xrefs:
// > GameObject::setupCustomSprites @ 0xacee64
// > ??> @ 0xff460
//
// This function is hookable on this platform (idp: arm, 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 12:56:00 +0000
//
__int64 __fastcall ParticleGameObject::createParticlePreviewArt(ParticleGameObject *this)
{
__int64 v3; // x24
cocos2d::CCNode *v4; // x20
_BYTE v5[8]; // [xsp+48h] [xbp+48h] BYREF
__int64 v6; // [xsp+50h] [xbp+50h] BYREF
__int64 v7; // [xsp+58h] [xbp+58h]
void *v8; // [xsp+60h] [xbp+60h]
if ( !(*(__int64 (__fastcall **)(ParticleGameObject *, __int64))(*(_QWORD *)this + 480LL))(this, 1) )
{
v6 = 0;
v7 = 0;
v8 = nullptr;
std::string::__init(&v6, "edit_eCParticleBtn_001.png", 0x1Au);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v5, (const cocos2d::CCPoint *)&unk_155CA78);
v3 = GameObject::addCustomChild(this, (unsigned __int8 *)&v6, (__int64)v5, 1u);
if ( (v6 & 1) != 0 )
operator delete(v8);
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v3 + 72LL))(v3, 1);
v6 = 0;
v7 = 0;
v8 = nullptr;
std::string::__init(&v6, "edit_eParticleBtn_color_001.png", 0x1Fu);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v5, (const cocos2d::CCPoint *)&unk_155CA78);
v4 = GameObject::addInternalCustomColorChild((__int64)this, (unsigned __int8 *)&v6, (__int64)v5, 0xFFFFFFFF);
if ( (v6 & 1) != 0 )
operator delete(v8);
(*(void (__fastcall **)(cocos2d::CCNode *, __int64))(*(_QWORD *)v4 + 72LL))(v4, 1);
}
return _stack_chk_guard;
}