//
// LevelEditorLayer::claimCustomParticle from 0x45e8aa to 0x45e914 (106 bytes)
//
// 0 xrefs:
//
// 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:48:51 +0000
//
cocos2d::CCObject *__fastcall LevelEditorLayer::claimCustomParticle(
int a1,
int a2,
_DWORD *a3,
int a4,
int a5,
int a6,
unsigned __int8 a7)
{
cocos2d::CCObject *v9; // r4
int v10; // r0
if ( !*(_BYTE *)(a1 + 11704) )
return (cocos2d::CCObject *)*(unsigned __int8 *)(a1 + 11704);
v9 = (cocos2d::CCObject *)GameToolbox::particleFromStruct(a3, 0, 1u);
cocos2d::CCArray::addObject(*(cocos2d::CCArray **)(a1 + 10680), v9);
cocos2d::CCParticleSystem::resetSystem(v9);
(*(void (__fastcall **)(cocos2d::CCObject *, int))(*(_DWORD *)v9 + 172))(v9, 1);
(*(void (__fastcall **)(cocos2d::CCObject *, _DWORD))(*(_DWORD *)v9 + 792))(v9, a7);
v10 = GJBaseGameLayer::parentForZLayer((GJBaseGameLayer *)a1, a4, 0, 4, 0);
(*(void (__fastcall **)(int, cocos2d::CCObject *, int))(*(_DWORD *)v10 + 232))(v10, v9, a5);
return v9;
}