// // CreateParticlePopup::onTogglePerfLog from 0x1002ce210 to 0x1002ce268 (88 bytes) // // 1 xrefs: // > CreateParticlePopup::init @ 0x1002cb6f8 // // 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::onTogglePerfLog(CreateParticlePopup *a1, cocos2d::CCObject *a2) { GameManager *v3; // x0 GameManager *v4; // x0 _BOOL8 GameVariable; // x1 v3 = GameManager::sharedState(); GameManager::toggleGameVariable(v3, "0178"); v4 = GameManager::sharedState(); GameVariable = GameManager::getGameVariable(v4, "0178"); a1->m_perfLogEnabled = GameVariable; a1->m_perfLogElapsed = 1.0; ((void (__fastcall *)(cocos2d::CCLabelBMFont *, _BOOL8))a1->m_perfLogLabel->setVisible)( a1->m_perfLogLabel, GameVariable); }