//
// GJBaseGameLayer::removeFromStickyGroup from 0x48c5b0 to 0x48c604 (84 bytes)
//
// 1 xrefs:
// > LevelEditorLayer::removeSpecial @ 0x36abae
//
// 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 GJBaseGameLayer::removeFromStickyGroup(GJBaseGameLayer *a1, GameObject *a2)
{
int m_linkedGroup; // r1
cocos2d::CCArray *StickyGroup; // r0
unsigned int v6[2]; // [sp+0h] [bp-8h] BYREF
v6[0] = (unsigned int)a1;
v6[1] = (unsigned int)a2;
m_linkedGroup = a2->m_linkedGroup;
if ( m_linkedGroup )
{
StickyGroup = GJBaseGameLayer::getStickyGroup(a1, m_linkedGroup);
if ( StickyGroup )
cocos2d::CCArray::removeObject(StickyGroup, a2, 1);
v6[0] = a2->m_uniqueID;
*std::__detail::_Map_base,std::allocator>,std::__detail::_Select1st,std::equal_to,std::hash,std::__detail::_Mod_range_hashing,std::__detail::_Default_ranged_hash,std::__detail::_Prime_rehash_policy,std::__detail::_Hashtable_traits,true>::operator[](
&a1->m_stickyGroups._M_h._M_buckets,
v6) = a2->m_linkedGroup;
a2->m_linkedGroup = 0;
}
}