//
// ParticleGameObject::create from 0x100380b0c to 0x100380bf8 (236 bytes)
//
// 2 xrefs:
// > GameObject::createWithKey @ 0x1002549ac
// > LevelEditorLayer::copyParticleState @ 0x100363dbc
//
// 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
//
ParticleGameObject *__fastcall ParticleGameObject::create()
{
char *v0; // x19
v0 = (char *)operator new(0x700u);
EnhancedGameObject::EnhancedGameObject((EnhancedGameObject *)v0);
*(_QWORD *)v0 = off_1007F90E0;
*((_QWORD *)v0 + 40) = off_1007F9828;
*((_QWORD *)v0 + 43) = off_1007F98A8;
*((_QWORD *)v0 + 181) = 0;
*((_OWORD *)v0 + 91) = 0u;
v0[1472] = 1;
*(_OWORD *)(v0 + 1480) = 0u;
*(_OWORD *)(v0 + 1496) = 0u;
*(_OWORD *)(v0 + 1512) = 0u;
*(_OWORD *)(v0 + 1528) = 0u;
*(_OWORD *)(v0 + 1544) = 0u;
*(_OWORD *)(v0 + 1560) = 0u;
*(_OWORD *)(v0 + 1576) = 0u;
*(_OWORD *)(v0 + 1592) = 0u;
*(_OWORD *)(v0 + 1608) = 0u;
*(_OWORD *)(v0 + 1624) = 0u;
*(_OWORD *)(v0 + 1640) = 0u;
*(_OWORD *)(v0 + 1656) = 0u;
*(_OWORD *)(v0 + 1672) = 0u;
*(_OWORD *)(v0 + 1685) = 0u;
*(_QWORD *)(v0 + 1717) = 0;
*(_OWORD *)(v0 + 1704) = 0u;
*((_DWORD *)v0 + 443) = 0;
v0[1776] = 0;
*((_OWORD *)v0 + 108) = 0u;
*((_OWORD *)v0 + 109) = 0u;
*(_OWORD *)(v0 + 1753) = 0u;
*((_DWORD *)v0 + 445) = -1082130432;
*((_WORD *)v0 + 892) = 0;
if ( EnhancedGameObject::init((EnhancedGameObject *)v0, "edit_eCParticleBtn_001.png") )
{
v0[1386] = 1;
v0[313] = 0;
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v0);
}
else
{
(*(void (__fastcall **)(char *))(*(_QWORD *)v0 + 16LL))(v0);
return nullptr;
}
return (ParticleGameObject *)v0;
}