//
// LevelEditorLayer::addObjectToGroup from 0x78cbdc to 0x78cc44 (104 bytes)
//
// 7 xrefs:
// > EditorUI::createLoop @ 0x7c4224
// > EditorUI::createLoop @ 0x7c42b0
// > EditorUI::createGradientFromSelection @ 0x7cab14
// > EditorUI::createGradientFromSelection @ 0x7cab7c
// > EditorUI::createGradientFromSelection @ 0x7cabe4
// > EditorUI::createGradientFromSelection @ 0x7cac4c
// > ??> @ 0xcbbf0
//
// This function is hookable on this platform (idp: arm, 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:53:27 +0000
//
__int64 __fastcall LevelEditorLayer::addObjectToGroup(LevelEditorLayer *this, GameObject *a2, __int64 a3)
{
__int64 result; // x0
result = (*(__int64 (__fastcall **)(GameObject *, _QWORD))(*(_QWORD *)a2 + 1600LL))(a2, (unsigned int)a3);
if ( (_DWORD)result == 1 )
return (*(__int64 (__fastcall **)(LevelEditorLayer *, GameObject *, __int64, _QWORD))(*(_QWORD *)this + 1352LL))(
this,
a2,
a3,
0);
return result;
}