//
// GJBaseGameLayer::removeFromStickyGroup from 0x10028f058 to 0x10028f0e4 (140 bytes)
//
// 1 xrefs:
// > LevelEditorLayer::removeSpecial @ 0x1003fb8b0
//
// 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 11:02:02 +0000
//
_QWORD *__fastcall GJBaseGameLayer::removeFromStickyGroup(_QWORD *result, __int64 a2)
{
__int64 v3; // x1
_QWORD *v4; // x20
__int64 v5; // x0
int v6; // w21
int v7; // [xsp+0h] [xbp-30h] BYREF
int *v8; // [xsp+8h] [xbp-28h] BYREF
v3 = *(int *)(a2 + 872);
if ( (_DWORD)v3 )
{
v4 = result;
cocos2d::CCDictionary::objectForKey_1(result[485], v3);
if ( v5 )
sub_1002E765C(v5, a2, 1);
v6 = *(_DWORD *)(a2 + 872);
v7 = *(_DWORD *)(a2 + 916);
v8 = &v7;
result = sub_10001DBA4((unsigned __int64)(v4 + 1706), &v7, (__int64)&unk_100763014, &v8);
*((_DWORD *)result + 5) = v6;
*(_DWORD *)(a2 + 872) = 0;
}
return result;
}