//
// cocos2d::CCParallaxNode::removeChild from 0x1800ae4f0 to 0x1800ae579 (137 bytes)
//
// 3 xrefs:
// > ??> @ 0x18010baa8
// > ??> @ 0x18014cf68
// > ??> @ 0x1801c228c
//
// This function is hookable on this platform (idp: pc, 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:22:18 +0000
//
void __fastcall cocos2d::CCParallaxNode::removeChild(
cocos2d::CCParallaxNode *this,
struct cocos2d::CCNode *a2,
char a3)
{
__int64 v3; // r9
__int64 v4; // rbx
__int64 v8; // rcx
char v9; // al
v3 = *((_QWORD *)this + 40);
v4 = 0;
if ( *(_DWORD *)v3 )
{
while ( 1 )
{
v8 = *(_QWORD *)(*(_QWORD *)(*(_QWORD *)(v3 + 16) + 8 * v4) + 72LL);
v9 = (*(__int64 (__fastcall **)(__int64, struct cocos2d::CCNode *))(*(_QWORD *)v8 + 16LL))(v8, a2);
v3 = *((_QWORD *)this + 40);
if ( v9 )
break;
v4 = (unsigned int)(v4 + 1);
if ( (unsigned int)v4 >= *(_DWORD *)v3 )
goto LABEL_6;
}
sub_1800A1B70(*((_QWORD *)this + 40), v4, 1);
}
LABEL_6:
cocos2d::CCNode::removeChild(this, a2, a3);
}