//
// cocos2d::CCNode::convertToWindowSpace from 0x5be618 to 0x5be64e (54 bytes)
//
// 0 xrefs:
//
// 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::CCNode::convertToWindowSpace(
cocos2d::CCPoint *__return_ptr retstr,
cocos2d::CCNode *a2,
const cocos2d::CCPoint *a3)
{
cocos2d::CCDirector *v4; // r0
cocos2d::CCPoint v6; // [sp+4h] [bp-Ch] BYREF
LODWORD(v6.x) = a2;
LODWORD(v6.y) = a3;
cocos2d::CCNode::convertToWorldSpace(&v6, a2, a3);
v4 = cocos2d::CCDirector::sharedDirector();
cocos2d::CCDirector::convertToUI(retstr, v4, &v6);
return retstr;
}