//
// cocos2d::CCParallaxNode::absolutePosition from 0xb381c8 to 0xb38280 (184 bytes)
//
// 2 xrefs:
// > cocos2d::CCParallaxNode::visit @ 0xb38388
// > ??> @ 0x8adb0
//
// 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
//
cocos2d::CCPoint cocos2d::CCParallaxNode::absolutePosition(cocos2d::CCParallaxNode *a1)
{
cocos2d::CCPoint *v1; // x8
cocos2d::CCParallaxNode *v2; // x19
cocos2d::CCPoint *v3; // x20
float *v4; // x0
float v5; // s0
float v6; // s1
cocos2d::CCPoint v9; // [xsp+30h] [xbp+30h] BYREF
cocos2d::CCPoint result; // 0:s0.4,4:s1.4
v2 = a1;
v3 = v1;
cocos2d::CCPoint::CCPoint(v1, &a1->m_obPosition);
while ( v2->getParent(v2) )
{
v2 = (cocos2d::CCParallaxNode *)v2->getParent(v2);
v4 = (float *)v2->getPosition(v2);
cocos2d::CCPoint::operator+((float *)v3, v4, &v9);
cocos2d::CCPoint::operator=(v3, v5, v6, (float *)&v9);
}
return result;
}