//
// GJBaseGameLayer::removeFromStickyGroup from 0x1001f2ff4 to 0x1001f3080 (140 bytes)
//
// 1 xrefs:
// > LevelEditorLayer::removeSpecial @ 0x10035b928
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
void __fastcall GJBaseGameLayer::removeFromStickyGroup(GJBaseGameLayer *a1, GameObject *a2)
{
intptr_t m_linkedGroup; // x1
cocos2d::CCObject *v5; // x0
int v6; // w21
int m_uniqueID; // [xsp+0h] [xbp-30h] BYREF
int *p_m_uniqueID; // [xsp+8h] [xbp-28h] BYREF
m_linkedGroup = a2->m_linkedGroup;
if ( (_DWORD)m_linkedGroup )
{
v5 = cocos2d::CCDictionary::objectForKey(a1->m_linkedGroupDict, m_linkedGroup);
if ( v5 )
sub_10024A444(v5, a2, 1);
v6 = a2->m_linkedGroup;
m_uniqueID = a2->m_uniqueID;
p_m_uniqueID = &m_uniqueID;
*((_DWORD *)sub_10001D150(
(unsigned __int64)&a1->m_stickyGroups,
&m_uniqueID,
(__int64)&unk_10063A31C,
&p_m_uniqueID)
+ 5) = v6;
a2->m_linkedGroup = 0;
}
}