//
// PlayLayer::removeFromGroupOld from 0x6f4dd4 to 0x6f4e40 (108 bytes)
//
// 1 xrefs:
// > ??> @ 0xd2220
//
// 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:51:50 +0000
//
__int64 __fastcall PlayLayer::removeFromGroupOld(PlayLayer *this, GameObject *a2)
{
int v4; // w19
__int64 result; // x0
int v6; // w1
int GroupID; // w0
cocos2d::CCArray *Group; // x0
v4 = 0;
result = (unsigned int)*((__int16 *)a2 + 584);
if ( (int)result > 0 )
{
do
{
v6 = v4++;
GroupID = GameObject::getGroupID(a2, v6);
Group = (cocos2d::CCArray *)GJBaseGameLayer::getGroup(this, GroupID);
cocos2d::CCArray::removeObject(Group, a2, 1);
result = (unsigned int)*((__int16 *)a2 + 584);
}
while ( (int)result > v4 );
}
return result;
}