//
// GameToolbox::particleFromString from 0x2ee7b4 to 0x2ee8be (266 bytes)
//
// 18 xrefs:
// > ParticleGameObject::updateParticle @ 0x3e7788
// > LevelPage::updateDynamicPage @ 0x40b6dc
// > LevelPage::updateDynamicPage @ 0x40b756
// > LevelPage::updateDynamicPage @ 0x40b7d4
// > GJDifficultySprite::updateFeatureState @ 0x4b3e3a
// > GauntletSelectLayer::unlockAnimationStep2 @ 0x4d6eee
// > GauntletSelectLayer::unlockAnimationStep3 @ 0x4d72e6
// > GauntletSelectLayer::unlockAnimationStep3 @ 0x4d739e
// > GauntletSelectLayer::playUnlockAnimation @ 0x4d75ee
// > CreateParticlePopup::init @ 0x53273c
// > CreateParticlePopup::init @ 0x532952
// > CreateParticlePopup::init @ 0x532966
// > LevelAreaLayer::init @ 0x56cf0e
// > GJPathPage::unlockAnimationStep2 @ 0x58bfbc
// > GJPathPage::playUnlockAnimation @ 0x58c698
// > GJPathPage::unlockAnimationStep3 @ 0x58cb18
// > GJPathPage::unlockAnimationStep3 @ 0x58cbac
// > SecretLayer5::onSubmit @ 0x59ebea
//
// 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
//
cocos2d::CCParticleSystemQuad *__fastcall GameToolbox::particleFromString(
void **a1,
cocos2d::CCParticleSystemQuad *a2,
bool a3)
{
cocos2d::ParticleStruct v6; // [sp+0h] [bp-110h] BYREF
if ( *((_DWORD *)*a1 - 3) )
{
memset(&v6, 0, 221);
memset(&v6.frictionPos, 0, 21);
memset(&v6.frictionSize, 0, 16);
v6.sFrame.m_data.m_data = (stl::StringData::Internal *)&unk_ACDDA8;
GameToolbox::particleStringToStruct(a1, (int)&v6);
a2 = GameToolbox::particleFromStruct(&v6, a2, a3);
sub_774008(&v6.sFrame);
}
return a2;
}