//
// cocos2d::CCParallaxNode::addChild_1 from 0x1004a7b90 to 0x1004a7c4c (188 bytes)
//
// 1 xrefs:
// > ??> @ 0x100b532f0
//
// 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 12:30:55 +0000
//
__int64 __fastcall cocos2d::CCParallaxNode::addChild_1(__int64 a1, _DWORD *a2, unsigned int a3, _QWORD *a4, _QWORD *a5)
{
__int64 v8; // rax
int v9; // eax
__int64 v11; // [rsp+4h] [rbp-3Ch] BYREF
unsigned int v12; // [rsp+Ch] [rbp-34h]
double v13[6]; // [rsp+10h] [rbp-30h] BYREF
v12 = a3;
sub_1002782D0(v13, a4);
sub_1002782D0(&v11, a5);
v8 = sub_1004A7C50(v13, &v11);
*(_QWORD *)(v8 + 72) = a2;
sub_100746BF0(*(_QWORD *)(a1 + 320), v8);
sub_1002782D0(v13, (_QWORD *)(a1 + 76));
_mm_storel_ps(
v13,
_mm_add_ps(
(__m128)(unsigned __int64)*a5,
_mm_mul_ps((__m128)(unsigned __int64)*a4, (__m128)*(unsigned __int64 *)&v13[0])));
(*(void (__fastcall **)(_DWORD *, double *))(*(_QWORD *)a2 + 184LL))(a2, v13);
v9 = (*(__int64 (__fastcall **)(_DWORD *))(*(_QWORD *)a2 + 64LL))(a2);
return cocos2d::CCNode::addChild(a1, a2, v12, v9);
}