{"type": "func", "start": 4299631332, "end": 4299631508, "name": "EditorUI::editGroup", "pseudocode": "// \n// EditorUI::editGroup from 0x100472ae4 to 0x100472b94 (176 bytes)\n// \n// 2 xrefs:\n// > EditorUI::handleEditorAction @ 0x100162d34\n// > EditorUI::init @ 0x10046ffac\n// \n// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\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:05:39 +0000\n// \n\n__int64 __fastcall EditorUI::editGroup(__int64 *a1)\n{\n  __int64 result; // x0\n  __int64 v3; // x8\n  __n128 v4; // q0\n  __int64 v5; // x0\n  _DWORD *v6; // x20\n  __int64 v7; // x0\n  int v8; // w19\n  _OWORD v9[2]; // [xsp+0h] [xbp-40h] BYREF\n  int v10; // [xsp+20h] [xbp-20h]\n\n  if ( a1[187] || (result = sub_1002E757C(a1[112]), (_DWORD)result) )\n  {\n    v3 = a1[180];\n    ++*(_DWORD *)(v3 + 14720);\n    EditorBuildStats::noteAction(v3 + 14704);\n    v5 = EditorSFXManager::sharedState(v4);\n    EditorSFXManager::playAction(v5, 108, 107);\n    v6 = SetGroupIDLayer::create(a1[187], a1[112]);\n    v7 = a1[180];\n    memset(v9, 0, sizeof(v9));\n    v10 = 1065353216;\n    v8 = sub_100400CC4(v7, (__int64)v9);\n    sub_1000184EC((__int64)v9);\n    v6[202] = v8;\n    return (*(__int64 (__fastcall **)(_DWORD *))(*(_QWORD *)v6 + 1312LL))(v6);\n  }\n  return result;\n}", "assembly": "; \n; EditorUI::editGroup from 0x100472ae4 to 0x100472b94 (176 bytes)\n; \n; 2 xrefs:\n; > EditorUI::handleEditorAction @ 0x100162d34\n; > EditorUI::init @ 0x10046ffac\n; \n; This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\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:05:39 +0000\n; \nSUB             SP, SP, #0x50                                          ; +0x0, 0x100472ae4\nSTP             X20, X19, [SP,#0x40+var_10]                            ; +0x4, 0x100472ae8\nSTP             X29, X30, [SP,#0x40+var_s0]                            ; +0x8, 0x100472aec\nADD             X29, SP, #0x40                                         ; +0xc, 0x100472af0\nMOV             X19, X0                                                ; +0x10, 0x100472af4\nLDR             X8, [X0,#0x5D8]                                        ; +0x14, 0x100472af8\nCBNZ            X8, loc_100472B0C                                      ; +0x18, 0x100472afc\nLDR             X0, [X19,#0x380]                                       ; +0x1c, 0x100472b00\nBL              sub_1002E757C                                          ; +0x20, 0x100472b04\nCBZ             W0, loc_100472B84                                      ; +0x24, 0x100472b08\nLDR             X8, [X19,#0x5A0]                                       ; +0x28, 0x100472b0c\nMOV             W9, #0x3970                                            ; +0x2c, 0x100472b10\nLDR             W10, [X8,#0x3980]                                      ; +0x30, 0x100472b14\nADD             W10, W10, #1                                           ; +0x34, 0x100472b18\nSTR             W10, [X8,#0x3980]                                      ; +0x38, 0x100472b1c\nADD             X0, X8, X9                                             ; +0x3c, 0x100472b20\nBL              EditorBuildStats__noteAction                           ; +0x40, 0x100472b24\nBL              EditorSFXManager__sharedState                          ; +0x44, 0x100472b28\nMOV             W1, #0x6C ; 'l'                                        ; +0x48, 0x100472b2c\nMOV             W2, #0x6B ; 'k'                                        ; +0x4c, 0x100472b30\nBL              EditorSFXManager__playAction                           ; +0x50, 0x100472b34\nLDR             X0, [X19,#0x5D8]                                       ; +0x54, 0x100472b38\nLDR             X1, [X19,#0x380]                                       ; +0x58, 0x100472b3c\nBL              SetGroupIDLayer__create                                ; +0x5c, 0x100472b40\nMOV             X20, X0                                                ; +0x60, 0x100472b44\nLDR             X0, [X19,#0x5A0]                                       ; +0x64, 0x100472b48\nMOVI            V0.16B, #0                                             ; +0x68, 0x100472b4c\nSTP             Q0, Q0, [SP,#0x40+var_40]                              ; +0x6c, 0x100472b50\nMOV             W8, #0x3F800000                                        ; +0x70, 0x100472b54\nSTR             W8, [SP,#0x40+var_20]                                  ; +0x74, 0x100472b58\nMOV             X1, SP                                                 ; +0x78, 0x100472b5c\nBL              sub_100400CC4                                          ; +0x7c, 0x100472b60\nMOV             X19, X0                                                ; +0x80, 0x100472b64\nMOV             X0, SP                                                 ; +0x84, 0x100472b68\nBL              sub_1000184EC                                          ; +0x88, 0x100472b6c\nSTR             W19, [X20,#0x328]                                      ; +0x8c, 0x100472b70\nLDR             X8, [X20]                                              ; +0x90, 0x100472b74\nLDR             X8, [X8,#0x520]                                        ; +0x94, 0x100472b78\nMOV             X0, X20                                                ; +0x98, 0x100472b7c\nBLR             X8                                                     ; +0x9c, 0x100472b80\nLDP             X29, X30, [SP,#0x40+var_s0]                            ; +0xa0, 0x100472b84\nLDP             X20, X19, [SP,#0x40+var_10]                            ; +0xa4, 0x100472b88\nADD             SP, SP, #0x50 ; 'P'                                    ; +0xa8, 0x100472b8c\nRET                                                                    ; +0xac, 0x100472b90", "xrefs": ["EditorUI::handleEditorAction @ 0x100162d34", "EditorUI::init @ 0x10046ffac"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "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"}