//
// cocos2d::CCNode::convertToNodeSpaceAR from 0x180002e80 to 0x180002ee8 (104 bytes)
//
// 2 xrefs:
// > ??> @ 0x1801438a8
// > ??> @ 0x1801ad234
//
// 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
//
const struct cocos2d::CCPoint *__fastcall cocos2d::CCNode::convertToNodeSpaceAR(
cocos2d::CCNode *this,
const struct cocos2d::CCPoint *a2,
const struct cocos2d::CCPoint *a3)
{
const struct cocos2d::CCAffineTransform *v6; // rax
_BYTE v8[8]; // [rsp+20h] [rbp-48h] BYREF
_BYTE v9[24]; // [rsp+28h] [rbp-40h] BYREF
v6 = (const struct cocos2d::CCAffineTransform *)((__int64 (__fastcall *)(cocos2d::CCNode *, _BYTE *))this->worldToNodeTransform)(
this,
v9);
cocos2d::__CCPointApplyAffineTransform((cocos2d *)v8, a3, v6);
cocos2d::CCSize::operator-(v8, a2, &this->m_obAnchorPointInPoints);
return a2;
}