//
// GJBaseGameLayer::removeFromStickyGroup from 0x5a80e0 to 0x5a8136 (86 bytes)
//
// 1 xrefs:
// > LevelEditorLayer::removeSpecial @ 0x464386
//
// 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:53:22 +0000
//
cocos2d::CCDictionary **__fastcall GJBaseGameLayer::removeFromStickyGroup(cocos2d::CCDictionary **this, GameObject *a2)
{
int v3; // r1
cocos2d::CCDictionary **v4; // r6
cocos2d::CCArray *StickyGroup; // r0
unsigned int v6[2]; // [sp+0h] [bp-8h] BYREF
v6[0] = (unsigned int)this;
v6[1] = (unsigned int)a2;
v3 = *((_DWORD *)a2 + 185);
v4 = this;
if ( v3 )
{
StickyGroup = (cocos2d::CCArray *)GJBaseGameLayer::getStickyGroup(this, v3);
if ( StickyGroup )
cocos2d::CCArray::removeObject(StickyGroup, a2, 1);
v6[0] = *((_DWORD *)a2 + 195);
this = (cocos2d::CCDictionary **)std::unordered_map::operator[]((int)(v4 + 2860), v6);
*this = *((cocos2d::CCDictionary **)a2 + 185);
*((_DWORD *)a2 + 185) = 0;
}
return this;
}