//
// cocos2d::CCParallaxNode::absolutePosition from 0x5f6d34 to 0x5f6d92 (94 bytes)
//
// 1 xrefs:
// > cocos2d::CCParallaxNode::visit @ 0x5f6e1a
//
// 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::CCPoint *__return_ptr retstr,
cocos2d::CCParallaxNode *a2)
{
cocos2d::CCParallaxNode *v2; // r4
float *v4; // r0
int v5; // r2
bool v6; // r3
cocos2d::CCPoint v8; // [sp+4h] [bp+0h] BYREF
v2 = a2;
cocos2d::CCPoint::CCPoint(retstr, &a2->m_obPosition);
while ( v2->getParent(v2) )
{
v2 = (cocos2d::CCParallaxNode *)v2->getParent(v2);
v4 = (float *)v2->getPosition(v2);
cocos2d::CCPoint::operator+(&v8, &retstr->x, v4);
cocos2d::CCPoint::operator=(retstr, &v8.x, v5, v6);
}
return retstr;
}