{"type": "func", "start": 5369885872, "end": 5369885914, "name": "EditorUI::onGroupDown", "pseudocode": "// \n// EditorUI::onGroupDown from 0x14011f4b0 to 0x14011f4da (42 bytes)\n// \n// 1 xrefs:\n// > EditorUI::init @ 0x1400e133e\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 EditorUI::onGroupDown(EditorUI *a1, cocos2d::CCObject *a2)\n{\n  LevelEditorLayer *m_editorLayer; // rdx\n  int v3; // eax\n\n  m_editorLayer = a1->m_editorLayer;\n  v3 = m_editorLayer->m_currentLayer - 1;\n  if ( v3 < -1 )\n    LOWORD(v3) = -1;\n  m_editorLayer->m_currentLayer = v3;\n  EditorUI::updateGroupIDLabel(a1);\n}", "assembly": "; \n; EditorUI::onGroupDown from 0x14011f4b0 to 0x14011f4da (42 bytes)\n; \n; 1 xrefs:\n; > EditorUI::init @ 0x1400e133e\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\nmov     rdx, [rcx+500h]                                                ; +0x0, 0x14011f4b0\nmov     r8d, 0FFFFFFFFh                                                ; +0x7, 0x14011f4b7\nmovsx   eax, word ptr [rdx+387Ah]                                      ; +0xd, 0x14011f4bd\ndec     eax                                                            ; +0x14, 0x14011f4c4\ncmp     eax, r8d                                                       ; +0x16, 0x14011f4c6\ncmovl   ax, r8w                                                        ; +0x19, 0x14011f4c9\nmov     [rdx+387Ah], ax                                                ; +0x1e, 0x14011f4ce\njmp     EditorUI__updateGroupIDLabel                                   ; +0x25, 0x14011f4d5", "xrefs": ["EditorUI::init @ 0x1400e133e"], "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"}