// // CreateParticlePopup::onTogglePerfLog from 0x9c0930 to 0x9c0990 (96 bytes) // // 3 xrefs: // > @ 0xadef8 // > CreateParticlePopup::init @ 0x9c6610 // > @ 0x122e018 // // 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; // x0 GameManager *v4; // x0 _BOOL4 GameVariable; // w0 _BOOL8 v6; // x1 cocos2d::CCLabelBMFont *m_perfLogLabel; // x2 cocos2d::CCLabelBMFont *v8; // x0 void (__fastcall *setVisible)(cocos2d::CCNode *__hidden, bool); // x2 v3 = GameManager::sharedState(); GameManager::toggleGameVariable(v3, "0178"); v4 = GameManager::sharedState(); GameVariable = GameManager::getGameVariable(v4, "0178"); v6 = GameVariable; m_perfLogLabel = a1->m_perfLogLabel; a1->m_perfLogEnabled = GameVariable; v8 = m_perfLogLabel; setVisible = m_perfLogLabel->setVisible; a1->m_perfLogElapsed = 1.0; setVisible(v8, v6); }