//
// CreateParticlePopup::onTogglePerfLog from 0x52f4fc to 0x52f536 (58 bytes)
//
// 0 xrefs:
//
// 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 CreateParticlePopup::onTogglePerfLog(CreateParticlePopup *a1, cocos2d::CCObject *a2)
{
GameManager *v3; // r0
GameManager *v4; // r0
_BOOL4 GameVariable; // r0
v3 = GameManager::sharedState();
GameManager::toggleGameVariable(v3, "0178");
v4 = GameManager::sharedState();
GameVariable = GameManager::getGameVariable(v4, "0178");
a1->m_perfLogElapsed = 1.0;
a1->m_perfLogEnabled = GameVariable;
a1->m_perfLogLabel->setVisible(a1->m_perfLogLabel, GameVariable);
}