{"type": "func", "start": 4297670944, "end": 4297670991, "name": "EditorPauseLayer::togglePreviewParticles", "pseudocode": "// \n// EditorPauseLayer::togglePreviewParticles from 0x100294120 to 0x10029414f (47 bytes)\n// \n// 1 xrefs:\n// > EditorPauseLayer::customSetup @ 0x100293120\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 *v2; // rax\n\n  v2 = GameManager::sharedState();\n  GameManager::toggleGameVariable(v2, \"0117\");\n  LevelEditorLayer::updatePreviewParticles(a1->m_editorLayer);\n}", "assembly": "; \n; EditorPauseLayer::togglePreviewParticles from 0x100294120 to 0x10029414f (47 bytes)\n; \n; 1 xrefs:\n; > EditorPauseLayer::customSetup @ 0x100293120\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\npush    rbp                                                            ; +0x0, 0x100294120\nmov     rbp, rsp                                                       ; +0x1, 0x100294121\npush    rbx                                                            ; +0x4, 0x100294124\npush    rax                                                            ; +0x5, 0x100294125\nmov     rbx, rdi                                                       ; +0x6, 0x100294126\ncall    GameManager__sharedState                                       ; +0x9, 0x100294129\nlea     rsi, a0117; \"0117\"                                             ; +0xe, 0x10029412e\nmov     rdi, rax                                                       ; +0x15, 0x100294135\ncall    GameManager__toggleGameVariable                                ; +0x18, 0x100294138\nmov     rdi, [rbx+248h]                                                ; +0x1d, 0x10029413d\nadd     rsp, 8                                                         ; +0x24, 0x100294144\npop     rbx                                                            ; +0x28, 0x100294148\npop     rbp                                                            ; +0x29, 0x100294149\njmp     LevelEditorLayer__updatePreviewParticles                       ; +0x2a, 0x10029414a", "xrefs": ["EditorPauseLayer::customSetup @ 0x100293120"], "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"}