//
// LevelEditorLayer::addObjectToGroup from 0x1000c4380 to 0x1000c43d0 (80 bytes)
//
// 6 xrefs:
// > EditorUI::createLoop @ 0x100016e5d
// > EditorUI::createLoop @ 0x100016ee6
// > EditorUI::createGradientFromSelection @ 0x10001741a
// > EditorUI::createGradientFromSelection @ 0x100017493
// > EditorUI::createGradientFromSelection @ 0x100017514
// > EditorUI::createGradientFromSelection @ 0x100017593
//
// 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:20:35 +0000
//
__int64 __fastcall LevelEditorLayer::addObjectToGroup(__int64 a1, __int64 a2, unsigned int a3)
{
__int64 result; // rax
result = (*(__int64 (__fastcall **)(__int64, _QWORD))(*(_QWORD *)a2 + 1600LL))(a2, a3);
if ( (_DWORD)result == 1 )
return (*(__int64 (__fastcall **)(__int64, __int64, _QWORD, _QWORD))(*(_QWORD *)a1 + 1352LL))(a1, a2, a3, 0);
return result;
}