//
// ParticleGameObject::createParticlePreviewArt from 0x4eba0c to 0x4ebacc (192 bytes)
//
// 1 xrefs:
// > GameObject::setupCustomSprites @ 0x64b502
//
// 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:08 +0000
//
int __fastcall ParticleGameObject::createParticlePreviewArt(ParticleGameObject *this)
{
int result; // r0
int v3; // r8
const cocos2d::CCPoint *v4; // r5
_BYTE v5[8]; // [sp+0h] [bp-18h] BYREF
int v6; // [sp+8h] [bp-10h] BYREF
int v7; // [sp+Ch] [bp-Ch]
int v8; // [sp+10h] [bp-8h]
result = (*(int (__fastcall **)(ParticleGameObject *, int))(*(_DWORD *)this + 240))(this, 1);
if ( !result )
{
v6 = 0;
v7 = 0;
v8 = 0;
std::string::__init(&v6, "edit_eCParticleBtn_001.png", 0x1Au);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v5, (const cocos2d::CCPoint *)&unk_D2BC08);
v3 = GameObject::addCustomChild(this, (int)&v6, (int)v5, 1);
std::string::~string((int)&v6);
(*(void (__fastcall **)(int, int))(*(_DWORD *)v3 + 36))(v3, 1);
v6 = 0;
v7 = 0;
v8 = 0;
std::string::__init(&v6, "edit_eParticleBtn_color_001.png", 0x1Fu);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v5, (const cocos2d::CCPoint *)&unk_D2BC08);
v4 = GameObject::addInternalCustomColorChild((int)this, (int)&v6, (int)v5, -1);
std::string::~string((int)&v6);
return (*(int (__fastcall **)(const cocos2d::CCPoint *, int))(*(_DWORD *)v4 + 36))(v4, 1);
}
return result;
}