{"type": "func", "start": 4191240, "end": 4191268, "name": "EditorPauseLayer::togglePreviewParticles", "pseudocode": "// \n// EditorPauseLayer::togglePreviewParticles from 0x3ff408 to 0x3ff424 (28 bytes)\n// \n// 0 xrefs:\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 EditorPauseLayer::togglePreviewParticles(EditorPauseLayer *a1, cocos2d::CCObject *a2)\n{\n  GameManager *v3; // r0\n\n  v3 = GameManager::sharedState();\n  GameManager::toggleGameVariable(v3, \"0117\");\n  LevelEditorLayer::updatePreviewParticles(a1->m_editorLayer);\n}", "assembly": "; \n; EditorPauseLayer::togglePreviewParticles from 0x3ff408 to 0x3ff424 (28 bytes)\n; \n; 0 xrefs:\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            {R4,LR}                                                ; +0x0, 0x3ff408\nMOV             R4, R0                                                 ; +0x2, 0x3ff40a\nBL              _ZN11GameManager11sharedStateEv; GameManager::sharedState(void) ; +0x4, 0x3ff40c\nLDR             R1, =(a0117 - 0x3FF416); \"0117\"                        ; +0x8, 0x3ff410\nADD             R1, PC; \"0117\"                                         ; +0xa, 0x3ff412\nBL              _ZN11GameManager18toggleGameVariableEPKc; GameManager::toggleGameVariable(char const*) ; +0xc, 0x3ff414\nLDR.W           R0, [R4,#0x1CC]; this                                  ; +0x10, 0x3ff418\nPOP.W           {R4,LR}                                                ; +0x14, 0x3ff41c\nB.W             _ZN16LevelEditorLayer22updatePreviewParticlesEv; LevelEditorLayer::updatePreviewParticles(void) ; +0x18, 0x3ff420", "xrefs": [], "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"}