{"type": "func", "start": 10225968, "end": 10226064, "name": "CreateParticlePopup::onTogglePerfLog", "pseudocode": "// \n// CreateParticlePopup::onTogglePerfLog from 0x9c0930 to 0x9c0990 (96 bytes)\n// \n// 3 xrefs:\n// > <???> @ 0xadef8\n// > CreateParticlePopup::init @ 0x9c6610\n// > <???> @ 0x122e018\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\nvoid CreateParticlePopup::onTogglePerfLog(CreateParticlePopup *a1, cocos2d::CCObject *a2)\n{\n  GameManager *v3; // x0\n  GameManager *v4; // x0\n  _BOOL4 GameVariable; // w0\n  _BOOL8 v6; // x1\n  cocos2d::CCLabelBMFont *m_perfLogLabel; // x2\n  cocos2d::CCLabelBMFont *v8; // x0\n  void (__fastcall *setVisible)(cocos2d::CCNode *__hidden, bool); // x2\n\n  v3 = GameManager::sharedState();\n  GameManager::toggleGameVariable(v3, \"0178\");\n  v4 = GameManager::sharedState();\n  GameVariable = GameManager::getGameVariable(v4, \"0178\");\n  v6 = GameVariable;\n  m_perfLogLabel = a1->m_perfLogLabel;\n  a1->m_perfLogEnabled = GameVariable;\n  v8 = m_perfLogLabel;\n  setVisible = m_perfLogLabel->setVisible;\n  a1->m_perfLogElapsed = 1.0;\n  setVisible(v8, v6);\n}", "assembly": "; \n; CreateParticlePopup::onTogglePerfLog from 0x9c0930 to 0x9c0990 (96 bytes)\n; \n; 3 xrefs:\n; > <???> @ 0xadef8\n; > CreateParticlePopup::init @ 0x9c6610\n; > <???> @ 0x122e018\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\nSTP             X29, X30, [SP,#-0x20+var_s0]!                          ; +0x0, 0x9c0930\nMOV             X29, SP                                                ; +0x4, 0x9c0934\nSTP             X19, X20, [SP,#var_s10]                                ; +0x8, 0x9c0938\nADRP            X19, #a0178@PAGE; \"0178\"                               ; +0xc, 0x9c093c\nMOV             X20, X0                                                ; +0x10, 0x9c0940\nADD             X19, X19, #a0178@PAGEOFF; \"0178\"                       ; +0x14, 0x9c0944\nBL              _ZN11GameManager11sharedStateEv; GameManager::sharedState(void) ; +0x18, 0x9c0948\nMOV             X1, X19; char *                                        ; +0x1c, 0x9c094c\nBL              _ZN11GameManager18toggleGameVariableEPKc; GameManager::toggleGameVariable(char const*) ; +0x20, 0x9c0950\nBL              _ZN11GameManager11sharedStateEv; GameManager::sharedState(void) ; +0x24, 0x9c0954\nMOV             X1, X19; char *                                        ; +0x28, 0x9c0958\nBL              _ZN11GameManager15getGameVariableEPKc; GameManager::getGameVariable(char const*) ; +0x2c, 0x9c095c\nMOV             W1, W0                                                 ; +0x30, 0x9c0960\nLDR             X2, [X20,#0x398]                                       ; +0x34, 0x9c0964\nSTRB            W0, [X20,#0x390]                                       ; +0x38, 0x9c0968\nMOV             X0, X2                                                 ; +0x3c, 0x9c096c\nLDR             X2, [X2]                                               ; +0x40, 0x9c0970\nFMOV            S0, #1.0                                               ; +0x44, 0x9c0974\nLDR             X2, [X2,#0x148]                                        ; +0x48, 0x9c0978\nSTR             S0, [X20,#0x394]                                       ; +0x4c, 0x9c097c\nBLR             X2                                                     ; +0x50, 0x9c0980\nLDP             X19, X20, [SP,#var_s10]                                ; +0x54, 0x9c0984\nLDP             X29, X30, [SP+var_s0],#0x20                            ; +0x58, 0x9c0988\nRET                                                                    ; +0x5c, 0x9c098c", "xrefs": ["<???> @ 0xadef8", "CreateParticlePopup::init @ 0x9c6610", "<???> @ 0x122e018"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}