{"type": "func", "start": 5279552, "end": 5279580, "name": "EditorPauseLayer::togglePreviewParticles", "pseudocode": "// \n// EditorPauseLayer::togglePreviewParticles from 0x508f40 to 0x508f5c (28 bytes)\n// \n// 0 xrefs:\n// \n// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 11:51:26 +0000\n// \n\nunsigned int __fastcall EditorPauseLayer::togglePreviewParticles(LevelEditorLayer **this, cocos2d::CCObject *a2)\n{\n  GameManager *v3; // r0\n\n  v3 = (GameManager *)GameManager::sharedState((GameManager *)this);\n  GameManager::toggleGameVariable(v3, \"0117\");\n  return LevelEditorLayer::updatePreviewParticles(*(this + 114));\n}", "assembly": "; \n; EditorPauseLayer::togglePreviewParticles from 0x508f40 to 0x508f5c (28 bytes)\n; \n; 0 xrefs:\n; \n; This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 11:51:26 +0000\n; \nPUSH            {R4,LR}                                                ; +0x0, 0x508f40\nMOV             R4, R0                                                 ; +0x2, 0x508f42\nBL              _ZN11GameManager11sharedStateEv; GameManager::sharedState(void) ; +0x4, 0x508f44\nLDR             R1, =(a0117 - 0x508F4E); \"0117\"                        ; +0x8, 0x508f48\nADD             R1, PC; \"0117\"                                         ; +0xa, 0x508f4a\nBL              _ZN11GameManager18toggleGameVariableEPKc; GameManager::toggleGameVariable(char const*) ; +0xc, 0x508f4c\nLDR.W           R0, [R4,#0x1C8]; this                                  ; +0x10, 0x508f50\nPOP.W           {R4,LR}                                                ; +0x14, 0x508f54\nB.W             _ZN16LevelEditorLayer22updatePreviewParticlesEv; LevelEditorLayer::updatePreviewParticles(void) ; +0x18, 0x508f58", "xrefs": [], "is_objc": false, "is_32_bit": true, "is_64_bit": false, "idp_name": "arm", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}