{"type": "func", "start": 4297670992, "end": 4297671039, "name": "EditorPauseLayer::togglePreviewAnim", "pseudocode": "// \n// EditorPauseLayer::togglePreviewAnim from 0x100294150 to 0x10029417f (47 bytes)\n// \n// 1 xrefs:\n// > EditorPauseLayer::customSetup @ 0x10029320b\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::togglePreviewAnim(EditorPauseLayer *a1, cocos2d::CCObject *a2)\n{\n  GameManager *v2; // rax\n\n  v2 = GameManager::sharedState();\n  GameManager::toggleGameVariable(v2, \"0118\");\n  LevelEditorLayer::updatePreviewAnim(a1->m_editorLayer);\n}", "assembly": "; \n; EditorPauseLayer::togglePreviewAnim from 0x100294150 to 0x10029417f (47 bytes)\n; \n; 1 xrefs:\n; > EditorPauseLayer::customSetup @ 0x10029320b\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, 0x100294150\nmov     rbp, rsp                                                       ; +0x1, 0x100294151\npush    rbx                                                            ; +0x4, 0x100294154\npush    rax                                                            ; +0x5, 0x100294155\nmov     rbx, rdi                                                       ; +0x6, 0x100294156\ncall    GameManager__sharedState                                       ; +0x9, 0x100294159\nlea     rsi, a0118; \"0118\"                                             ; +0xe, 0x10029415e\nmov     rdi, rax                                                       ; +0x15, 0x100294165\ncall    GameManager__toggleGameVariable                                ; +0x18, 0x100294168\nmov     rdi, [rbx+248h]                                                ; +0x1d, 0x10029416d\nadd     rsp, 8                                                         ; +0x24, 0x100294174\npop     rbx                                                            ; +0x28, 0x100294178\npop     rbp                                                            ; +0x29, 0x100294179\njmp     LevelEditorLayer__updatePreviewAnim                            ; +0x2a, 0x10029417a", "xrefs": ["EditorPauseLayer::customSetup @ 0x10029320b"], "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"}