//
// ParticleGameObject::create from 0x1001b1580 to 0x1001b174a (458 bytes)
//
// 2 xrefs:
// > LevelEditorLayer::copyParticleState @ 0x1000f3f12
// > GameObject::createWithKey @ 0x10059d653
//
// 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; // rbx
v0 = (char *)operator new(0x700u);
GameObject::GameObject((GameObject *)v0);
*(_OWORD *)(v0 + 1347) = 0;
*(_QWORD *)(v0 + 1361) = 0;
*((_DWORD *)v0 + 343) = 1065353216;
*((_WORD *)v0 + 688) = 0;
v0[1378] = 0;
*(_QWORD *)(v0 + 1380) = 0x13F800000LL;
v0[1388] = 0;
*((_OWORD *)v0 + 87) = 0;
v0[1408] = 0;
*((_DWORD *)v0 + 353) = 1065353216;
*((_QWORD *)v0 + 177) = 0;
*((_WORD *)v0 + 712) = 0;
*(_OWORD *)(v0 + 1428) = 0;
*(_DWORD *)(v0 + 1443) = 0;
*(_QWORD *)v0 = off_1008C8058;
*((_QWORD *)v0 + 40) = off_1008C87A0;
*((_QWORD *)v0 + 43) = off_1008C8820;
*(_OWORD *)(v0 + 1448) = 0;
*((_QWORD *)v0 + 183) = 0;
v0[1472] = 1;
*(_OWORD *)(v0 + 1480) = 0;
*(_OWORD *)(v0 + 1496) = 0;
*(_OWORD *)(v0 + 1512) = 0;
*(_OWORD *)(v0 + 1528) = 0;
*(_OWORD *)(v0 + 1544) = 0;
*(_OWORD *)(v0 + 1560) = 0;
*(_OWORD *)(v0 + 1576) = 0;
*(_OWORD *)(v0 + 1592) = 0;
*(_OWORD *)(v0 + 1608) = 0;
*(_OWORD *)(v0 + 1624) = 0;
*(_OWORD *)(v0 + 1640) = 0;
*(_OWORD *)(v0 + 1656) = 0;
*(_OWORD *)(v0 + 1672) = 0;
*(_OWORD *)(v0 + 1685) = 0;
*(_OWORD *)(v0 + 1704) = 0;
*(_QWORD *)(v0 + 1717) = 0;
*((_DWORD *)v0 + 443) = 0;
v0[1776] = 0;
*((_OWORD *)v0 + 108) = 0;
*((_OWORD *)v0 + 109) = 0;
*(_OWORD *)(v0 + 1753) = 0;
*((_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;
}