{"type": "func", "start": 4298760652, "end": 4298760700, "name": "EditorPauseLayer::togglePreviewParticles", "pseudocode": "// \n// EditorPauseLayer::togglePreviewParticles from 0x10039e1cc to 0x10039e1fc (48 bytes)\n// \n// 1 xrefs:\n// > EditorPauseLayer::customSetup @ 0x10039d5e8\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 EditorPauseLayer::togglePreviewParticles(EditorPauseLayer *a1, cocos2d::CCObject *a2)\n{\n  GameManager *v3; // x0\n\n  v3 = GameManager::sharedState();\n  GameManager::toggleGameVariable(v3, \"0117\");\n  LevelEditorLayer::updatePreviewParticles(a1->m_editorLayer);\n}", "assembly": "; \n; EditorPauseLayer::togglePreviewParticles from 0x10039e1cc to 0x10039e1fc (48 bytes)\n; \n; 1 xrefs:\n; > EditorPauseLayer::customSetup @ 0x10039d5e8\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, 0x10039e1cc\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x10039e1d0\nADD             X29, SP, #0x10                                         ; +0x8, 0x10039e1d4\nMOV             X19, X0                                                ; +0xc, 0x10039e1d8\nBL              GameManager__sharedState                               ; +0x10, 0x10039e1dc\nADRL            X1, a0117; \"0117\"                                      ; +0x14, 0x10039e1e0\nBL              GameManager__toggleGameVariable                        ; +0x1c, 0x10039e1e8\nLDR             X0, [X19,#0x248]                                       ; +0x20, 0x10039e1ec\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x24, 0x10039e1f0\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x28, 0x10039e1f4\nB               LevelEditorLayer__updatePreviewParticles               ; +0x2c, 0x10039e1f8", "xrefs": ["EditorPauseLayer::customSetup @ 0x10039d5e8"], "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"}