//
// cocos2d::CCParallaxNode::visit from 0xb38348 to 0xb384b0 (360 bytes)
//
// 2 xrefs:
// > ??> @ 0xa3980
// > ??> @ 0x121a8a0
//
// 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 cocos2d::CCParallaxNode::visit(cocos2d::CCParallaxNode *a1)
{
cocos2d::CCPoint *p_m_uID; // x25
float v3; // s0
float v4; // s1
cocos2d::CCParallaxNode_vtbl *v5; // x0
unsigned int v6; // w26
float x; // s9
__int64 v8; // x27
float v9; // s8
float y; // s9
float v11; // s8
__int64 v12; // x22
void (__fastcall *v13)(__int64, cocos2d::CCPoint *); // x27
float v14; // [xsp+70h] [xbp+70h]
cocos2d::CCPoint v15; // [xsp+80h] [xbp+80h] BYREF
cocos2d::CCPoint v16; // [xsp+88h] [xbp+88h] BYREF
cocos2d::CCPoint v17; // [xsp+90h] [xbp+90h] BYREF
p_m_uID = (cocos2d::CCPoint *)&a1[1].m_uID;
cocos2d::CCParallaxNode::absolutePosition(a1);
if ( !cocos2d::CCPoint::equals(&v15, p_m_uID) )
{
v5 = a1[1].__vftable;
if ( LODWORD(v5->copyWithZone) )
{
v6 = 0;
do
{
x = v15.x;
v8 = *((_QWORD *)v5->~CCParallaxNode_0 + v6++);
cocos2d::CCPoint::CCPoint(&v16, (const cocos2d::CCPoint *)(v8 + 56));
v9 = -(float)(v15.x - (float)(x * v16.x));
cocos2d::CCPoint::CCPoint(&v17, (const cocos2d::CCPoint *)(v8 + 64));
y = v15.y;
v14 = v9 + v17.x;
cocos2d::CCPoint::CCPoint(&v16, (const cocos2d::CCPoint *)(v8 + 56));
v11 = -(float)(v15.y - (float)(y * v16.y));
cocos2d::CCPoint::CCPoint(&v17, (const cocos2d::CCPoint *)(v8 + 64));
v12 = *(_QWORD *)(v8 + 72);
v13 = *(void (__fastcall **)(__int64, cocos2d::CCPoint *))(*(_QWORD *)v12 + 184LL);
cocos2d::CCPoint::CCPoint(&v17, v14, v11 + v17.y);
v13(v12, &v17);
v5 = a1[1].__vftable;
}
while ( LODWORD(v5->copyWithZone) > v6 );
}
cocos2d::CCPoint::operator=(p_m_uID, v3, v4, (float *)&v15);
}
cocos2d::CCNode::visit(a1);
}