//
// GJBaseGameLayer::removeFromStickyGroup from 0x9c8300 to 0x9c8394 (148 bytes)
//
// 2 xrefs:
// > LevelEditorLayer::removeSpecial @ 0x790734
// > ??> @ 0x54208
//
// 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:58:34 +0000
//
__int64 __fastcall GJBaseGameLayer::removeFromStickyGroup(cocos2d::CCDictionary **this, GameObject *a2)
{
int v4; // w1
cocos2d::CCArray *StickyGroup; // x0
int v7; // [xsp+34h] [xbp+34h] BYREF
v4 = *((_DWORD *)a2 + 218);
if ( v4 )
{
StickyGroup = (cocos2d::CCArray *)GJBaseGameLayer::getStickyGroup(this, v4);
if ( StickyGroup )
cocos2d::CCArray::removeObject(StickyGroup, a2, 1);
v7 = *((_DWORD *)a2 + 229);
*(_DWORD *)std::unordered_map::operator[]((unsigned __int64)(this + 1706), &v7) = *((_DWORD *)a2 + 218);
*((_DWORD *)a2 + 218) = 0;
}
return _stack_chk_guard;
}