{"type": "func", "start": 4295149024, "end": 4295149065, "name": "EditorUI::onGroupDown", "pseudocode": "// \n// EditorUI::onGroupDown from 0x10002c5e0 to 0x10002c609 (41 bytes)\n// \n// 1 xrefs:\n// > EditorUI::init @ 0x10000b0ac\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::onGroupDown(EditorUI *a1, cocos2d::CCObject *a2)\n{\n  LevelEditorLayer *m_editorLayer; // rax\n  __int16 m_currentLayer; // dx\n\n  m_editorLayer = a1->m_editorLayer;\n  m_currentLayer = 0;\n  if ( m_editorLayer->m_currentLayer > 0 )\n    m_currentLayer = m_editorLayer->m_currentLayer;\n  m_editorLayer->m_currentLayer = m_currentLayer - 1;\n  EditorUI::updateGroupIDLabel(a1);\n}", "assembly": "; \n; EditorUI::onGroupDown from 0x10002c5e0 to 0x10002c609 (41 bytes)\n; \n; 1 xrefs:\n; > EditorUI::init @ 0x10000b0ac\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, 0x10002c5e0\nmov     rbp, rsp                                                       ; +0x1, 0x10002c5e1\nmov     rax, [rdi+4E8h]                                                ; +0x4, 0x10002c5e4\nmovzx   ecx, word ptr [rax+364Ah]                                      ; +0xb, 0x10002c5eb\nxor     edx, edx                                                       ; +0x12, 0x10002c5f2\ntest    cx, cx                                                         ; +0x14, 0x10002c5f4\ncmovg   edx, ecx                                                       ; +0x17, 0x10002c5f7\ndec     edx                                                            ; +0x1a, 0x10002c5fa\nmov     [rax+364Ah], dx                                                ; +0x1c, 0x10002c5fc\npop     rbp                                                            ; +0x23, 0x10002c603\njmp     EditorUI__updateGroupIDLabel                                   ; +0x24, 0x10002c604", "xrefs": ["EditorUI::init @ 0x10000b0ac"], "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"}