//
// LevelEditorLayer::removeFromGroup from 0x1000c4480 to 0x1000c44fb (123 bytes)
//
// 1 xrefs:
// > ??> @ 0x100ac3e60
//
// 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::removeFromGroup(__int64 a1, __int64 a2, int a3)
{
__int64 result; // rax
__int64 v5; // r12
__int64 v6; // r15
result = GJBaseGameLayer::removeFromGroup();
if ( *(_BYTE *)(a2 + 1253) == 1 )
{
v5 = a3;
v6 = *(_QWORD *)(*(_QWORD *)(a1 + 14384) + 8LL * a3);
if ( !v6 )
{
v6 = sub_1007FE900(a1);
*(_QWORD *)(*(_QWORD *)(a1 + 14384) + 8 * v5) = v6;
cocos2d::CCDictionary::setObject_1(*(_QWORD *)(a1 + 14376), v6, v5);
}
result = sub_1007FF140(v6, a2, 1);
}
*(_BYTE *)(a1 + 14938) = 1;
return result;
}