//
// SetGroupIDLayer::removeGroupID from 0x63a7b0 to 0x63a828 (120 bytes)
//
// 1 xrefs:
// > SetGroupIDLayer::callRemoveFromGroup @ 0x63a868
//
// 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:55:23 +0000
//
void __fastcall SetGroupIDLayer::removeGroupID(SetGroupIDLayer *this, int a2)
{
int v3; // r0
GameManager *v5; // r0
int v6; // r0
unsigned int v7; // r4
int v8; // r0
int v9; // r7
GameManager *v10; // r0
int v11; // r0
*((_BYTE *)this + 616) = 1;
v3 = *((_DWORD *)this + 131);
if ( v3 )
{
v5 = (GameManager *)(*(int (__fastcall **)(int))(*(_DWORD *)v3 + 804))(v3);
v6 = GameManager::sharedState(v5);
(*(void (__fastcall **)(_DWORD, _DWORD, int))(**(_DWORD **)(v6 + 408) + 680))(
*(_DWORD *)(v6 + 408),
*((_DWORD *)this + 131),
a2);
}
else
{
v7 = 0;
while ( v7 < cocos2d::CCArray::count(*((cocos2d::CCArray **)this + 132)) )
{
v8 = cocos2d::CCArray::objectAtIndex(*((cocos2d::CCArray **)this + 132), v7++);
v9 = v8;
v10 = (GameManager *)(*(int (__fastcall **)(int, int))(*(_DWORD *)v8 + 804))(v8, a2);
v11 = GameManager::sharedState(v10);
(*(void (__fastcall **)(_DWORD, int, int))(**(_DWORD **)(v11 + 408) + 680))(*(_DWORD *)(v11 + 408), v9, a2);
}
}
SetGroupIDLayer::updateGroupIDButtons((cocos2d::CCArray **)this);
}