//
// GJBaseGameLayer::spawnParticle from 0x9a9d8c to 0x9a9e68 (220 bytes)
//
// 5 xrefs:
// > GameObject::spawnDefaultPickupParticle @ 0xaf340c
// > GameObject::spawnDefaultPickupParticle @ 0xaf35a0
// > GameObject::playDestroyObjectAnim @ 0xaf4224
// > GameObject::playDestroyObjectAnim @ 0xaf4ae0
// > ??> @ 0x43fa8
//
// 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:58:11 +0000
//
__int64 __fastcall GJBaseGameLayer::spawnParticle(
GameManager *a1,
cocos2d::CCParticleSystemQuad *a2,
unsigned int a3,
unsigned int a4,
__int64 a5)
{
bool v10; // w2
__int64 v11; // x19
if ( *(_BYTE *)(GameManager::sharedState(a1) + 925) )
return 0;
v11 = cocos2d::CCParticleSystemQuad::create(a2, nullptr, v10);
(*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v11 + 72LL))(v11, a3);
(*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v11 + 1568LL))(v11, a4);
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v11 + 1584LL))(v11, 1);
(*(void (__fastcall **)(_QWORD *, __int64, _QWORD))(**((_QWORD **)a1 + 490) + 464LL))(*((_QWORD **)a1 + 490), v11, a3);
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v11 + 184LL))(v11, a5);
return v11;
}