// // EditorUI::editGroup from 0x10000a820 to 0x10000a914 (244 bytes) // // 2 xrefs: // > EditorUI::handleEditorAction @ 0x10060c117 // > EditorUI::init @ 0x100006ed2 // // This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True! // // Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings // Generated at Fri, 27 Nov 2026 12:18:49 +0000 // __int64 __fastcall EditorUI::editGroup(_QWORD *a1) { __int64 result; // rax __int64 v3; // rdi __int64 v4; // rax _DWORD *v5; // rbx __int64 v6; // rdi int NextFreeGroupID; // r14d _QWORD *v8; // rdi _QWORD *v9; // r15 void *v10; // rdi void *v11[2]; // [rsp+0h] [rbp-40h] BYREF void *__p[2]; // [rsp+10h] [rbp-30h] int v13; // [rsp+20h] [rbp-20h] if ( a1[187] || (result = sub_1007FEF90(a1[112]), (_DWORD)result) ) { v3 = a1[180]; ++*(_DWORD *)(v3 + 14720); v3 += 14704; EditorBuildStats::noteAction(v3); v4 = EditorSFXManager::sharedState(v3); EditorSFXManager::playAction(v4, 108, 107); v5 = (_DWORD *)SetGroupIDLayer::create(a1[187], a1[112]); v6 = a1[180]; *(_OWORD *)__p = 0; *(_OWORD *)v11 = 0; v13 = 1065353216; NextFreeGroupID = LevelEditorLayer::getNextFreeGroupID(v6, v11); v8 = __p[0]; if ( __p[0] ) { do { v9 = (_QWORD *)*v8; operator delete(v8); v8 = v9; } while ( v9 ); } v10 = v11[0]; v11[0] = nullptr; if ( v10 ) operator delete(v10); v5[202] = NextFreeGroupID; return (*(__int64 (__fastcall **)(_DWORD *))(*(_QWORD *)v5 + 1312LL))(v5); } return result; }