//
// cocos2d::CCParticleSystem::calculateWorldSpace from 0x7e3268 to 0x7e32ae (70 bytes)
//
// 2 xrefs:
// > cocos2d::CCParticleSystem::initParticle @ 0x7e38e0
// > cocos2d::CCParticleSystem::update @ 0x7e3e64
//
// 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 12:00:51 +0000
//
float *__fastcall cocos2d::CCParticleSystem::calculateWorldSpace(float *this, float a2, float a3, float a4)
{
float *v4; // r5
float v5[3]; // [sp+4h] [bp-Ch] BYREF
v5[0] = a2;
v5[1] = a3;
v5[2] = a4;
v4 = this;
if ( *((_BYTE *)this + 612) )
{
*((_BYTE *)this + 612) = 0;
cocos2d::CCNode::convertToWorldSpace((cocos2d::CCNode *)v5, (const cocos2d::CCPoint *)this, (int)&unk_D2F578);
return cocos2d::CCPoint::operator=(v4 + 154, v5);
}
return this;
}