//
// cocos2d::CCParallaxNode::removeChild from 0x1004aeb70 to 0x1004aebf0 (128 bytes)
//
// 1 xrefs:
// > ??> @ 0x100948348
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
void __fastcall cocos2d::CCParallaxNode::removeChild(cocos2d::CCParallaxNode *a1, cocos2d::CCNode *a2, bool a3)
{
cocos2d::CCParallaxNode_vtbl *v4; // rdi
__int64 v5; // r12
__int64 v6; // rdi
char v7; // al
v4 = a1[1].__vftable;
if ( LODWORD(v4->copyWithZone) )
{
v5 = 0;
while ( 1 )
{
v6 = *(_QWORD *)(*((_QWORD *)v4->~CCParallaxNode_0 + v5) + 72LL);
v7 = (*(__int64 (__fastcall **)(__int64, cocos2d::CCNode *))(*(_QWORD *)v6 + 24LL))(v6, a2);
v4 = a1[1].__vftable;
if ( v7 )
break;
if ( ++v5 >= (unsigned __int64)LODWORD(v4->copyWithZone) )
goto LABEL_7;
}
sub_100667BA0(v4, (unsigned int)v5, 1);
}
LABEL_7:
cocos2d::CCNode::removeChild(a1, (bool)a2);
}