//
// CreateParticlePopup::onQuickStart from 0x100474740 to 0x1004747c2 (130 bytes)
//
// 1 xrefs:
// > CreateParticlePopup::init @ 0x100472143
//
// 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
//
void __fastcall CreateParticlePopup::onQuickStart(CreateParticlePopup *a1, cocos2d::CCObject *a2)
{
bool v2; // al
ParticleGameObject *m_targetObject; // rcx
cocos2d::CCArray *m_targetObjects; // rdi
unsigned int v6; // r14d
v2 = !a1->m_quickStart;
a1->m_quickStart = v2;
m_targetObject = a1->m_targetObject;
if ( m_targetObject )
{
m_targetObject->m_shouldQuickStart = v2;
}
else
{
m_targetObjects = a1->m_targetObjects;
if ( m_targetObjects && (unsigned int)sub_100720070(m_targetObjects) )
{
v6 = 0;
do
*(_BYTE *)(sub_1007200C0(a1->m_targetObjects, v6++) + 1776) = a1->m_quickStart;
while ( v6 < (unsigned int)sub_100720070(a1->m_targetObjects) );
}
}
}