{"type": "func", "start": 4295160528, "end": 4295160576, "name": "EditorUI::onToggleGuide", "pseudocode": "// \n// EditorUI::onToggleGuide from 0x10002f2d0 to 0x10002f300 (48 bytes)\n// \n// 1 xrefs:\n// > SetGroupIDLayer::onToggleGuide @ 0x1003168b9\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 EditorUI::onToggleGuide(EditorUI *a1, EffectGameObject *a2)\n{\n  a2->m_shouldPreview ^= 1u;\n  if ( LevelEditorLayer::tryUpdateSpeedObject(a1->m_editorLayer, a2, 0) )\n    a1->m_speedObjectsUpdated = 1;\n}", "assembly": "; \n; EditorUI::onToggleGuide from 0x10002f2d0 to 0x10002f300 (48 bytes)\n; \n; 1 xrefs:\n; > SetGroupIDLayer::onToggleGuide @ 0x1003168b9\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, 0x10002f2d0\nmov     rbp, rsp                                                       ; +0x1, 0x10002f2d1\npush    rbx                                                            ; +0x4, 0x10002f2d4\npush    rax                                                            ; +0x5, 0x10002f2d5\nmov     rbx, rdi                                                       ; +0x6, 0x10002f2d6\nxor     byte ptr [rsi+6E8h], 1                                         ; +0x9, 0x10002f2d9\nmov     rdi, [rdi+4E8h]                                                ; +0x10, 0x10002f2e0\nxor     edx, edx                                                       ; +0x17, 0x10002f2e7\ncall    LevelEditorLayer__tryUpdateSpeedObject                         ; +0x19, 0x10002f2e9\ntest    al, al                                                         ; +0x1e, 0x10002f2ee\njz      short loc_10002F2F9                                            ; +0x20, 0x10002f2f0\nmov     byte ptr [rbx+30Dh], 1                                         ; +0x22, 0x10002f2f2\nadd     rsp, 8                                                         ; +0x29, 0x10002f2f9\npop     rbx                                                            ; +0x2d, 0x10002f2fd\npop     rbp                                                            ; +0x2e, 0x10002f2fe\nretn                                                                   ; +0x2f, 0x10002f2ff", "xrefs": ["SetGroupIDLayer::onToggleGuide @ 0x1003168b9"], "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"}