//
// sub_180064A90 from 0x180064a90 to 0x180064b2f (159 bytes)
//
// 6 xrefs:
// > cocos2d::CCParticleRain::create @ 0x1800652c9
// > cocos2d::CCParticleRain::createWithTotalParticles @ 0x180065b73
// > cocos2d::CCParticleRain::create @ 0x1800652b8
// > cocos2d::CCParticleRain::createWithTotalParticles @ 0x180065b62
// > ??> @ 0x180104d38
// > ??> @ 0x1801bdba0
//
// This function is hookable on this platform (idp: pc, 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 11:21:52 +0000
//
cocos2d::CCParticleSystemQuad *__fastcall sub_180064A90(cocos2d::CCParticleSystemQuad *Block, char a2)
{
int v3; // esi
v3 = a2 & 1;
if ( (a2 & 2) != 0 )
{
sub_1800E49F8(Block, 840, *((_QWORD *)Block - 1), cocos2d::CCParticleRain::~CCParticleRain);
if ( v3 )
j_j_j_free_0((char *)Block - 8);
return (cocos2d::CCParticleSystemQuad *)((char *)Block - 8);
}
else
{
*(_QWORD *)Block = &cocos2d::CCParticleRain::`vftable'{for `cocos2d::CCNode'};
*((_QWORD *)Block + 40) = &cocos2d::CCParticleRain::`vftable'{for `cocos2d::CCTextureProtocol'};
cocos2d::CCParticleSystemQuad::~CCParticleSystemQuad(Block);
if ( v3 )
j_j_free_0(Block);
return Block;
}
}