//
// LevelEditorLayer::addObjectToGroup from 0x461ed8 to 0x461f0c (52 bytes)
//
// 3 xrefs:
// > EditorUI::createLoop @ 0x4855d2
// > EditorUI::createLoop @ 0x485656
// > sub_4856E8 @ 0x485732
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 11:48:53 +0000
//
int __fastcall LevelEditorLayer::addObjectToGroup(LevelEditorLayer *this, GameObject *a2, int a3)
{
int result; // r0
result = (*(int (__fastcall **)(GameObject *, int))(*(_DWORD *)a2 + 800))(a2, a3);
if ( result == 1 )
return (*(int (__fastcall **)(LevelEditorLayer *, GameObject *, int, _DWORD))(*(_DWORD *)this + 676))(
this,
a2,
a3,
0);
return result;
}