{"type": "func", "start": 4297908752, "end": 4297908840, "name": "CreateParticlePopup::onTogglePerfLog", "pseudocode": "// \n// CreateParticlePopup::onTogglePerfLog from 0x1002ce210 to 0x1002ce268 (88 bytes)\n// \n// 1 xrefs:\n// > CreateParticlePopup::init @ 0x1002cb6f8\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 __fastcall CreateParticlePopup::onTogglePerfLog(CreateParticlePopup *a1, cocos2d::CCObject *a2)\n{\n  GameManager *v3; // x0\n  GameManager *v4; // x0\n  _BOOL8 GameVariable; // x1\n\n  v3 = GameManager::sharedState();\n  GameManager::toggleGameVariable(v3, \"0178\");\n  v4 = GameManager::sharedState();\n  GameVariable = GameManager::getGameVariable(v4, \"0178\");\n  a1->m_perfLogEnabled = GameVariable;\n  a1->m_perfLogElapsed = 1.0;\n  ((void (__fastcall *)(cocos2d::CCLabelBMFont *, _BOOL8))a1->m_perfLogLabel->setVisible)(\n    a1->m_perfLogLabel,\n    GameVariable);\n}", "assembly": "; \n; CreateParticlePopup::onTogglePerfLog from 0x1002ce210 to 0x1002ce268 (88 bytes)\n; \n; 1 xrefs:\n; > CreateParticlePopup::init @ 0x1002cb6f8\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             X20, X19, [SP,#-0x10+var_10]!                          ; +0x0, 0x1002ce210\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x1002ce214\nADD             X29, SP, #0x10                                         ; +0x8, 0x1002ce218\nMOV             X19, X0                                                ; +0xc, 0x1002ce21c\nBL              GameManager__sharedState                               ; +0x10, 0x1002ce220\nADRL            X20, a0178; \"0178\"                                     ; +0x14, 0x1002ce224\nMOV             X1, X20                                                ; +0x1c, 0x1002ce22c\nBL              GameManager__toggleGameVariable                        ; +0x20, 0x1002ce230\nBL              GameManager__sharedState                               ; +0x24, 0x1002ce234\nMOV             X1, X20                                                ; +0x28, 0x1002ce238\nBL              GameManager__getGameVariable                           ; +0x2c, 0x1002ce23c\nMOV             X1, X0                                                 ; +0x30, 0x1002ce240\nSTRB            W0, [X19,#0x390]                                       ; +0x34, 0x1002ce244\nMOV             W8, #0x3F800000                                        ; +0x38, 0x1002ce248\nSTR             W8, [X19,#0x394]                                       ; +0x3c, 0x1002ce24c\nLDR             X0, [X19,#0x398]                                       ; +0x40, 0x1002ce250\nLDR             X8, [X0]                                               ; +0x44, 0x1002ce254\nLDR             X2, [X8,#0x148]                                        ; +0x48, 0x1002ce258\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4c, 0x1002ce25c\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x50, 0x1002ce260\nBR              X2                                                     ; +0x54, 0x1002ce264", "xrefs": ["CreateParticlePopup::init @ 0x1002cb6f8"], "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"}