//
// EditorUI::getRelativeOffset from 0x385224 to 0x38525e (58 bytes)
//
// 5 xrefs:
// > EditorUI::positionWithoutOffset @ 0x38527a
// > EditorUI::removeOffset @ 0x3852c8
// > EditorUI::applyOffset @ 0x385328
// > EditorUI::onCreateObject @ 0x3a3c32
// > EditorUI::ccTouchEnded @ 0x3a55d0
//
// 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 *EditorUI::getRelativeOffset(cocos2d::CCPoint *__return_ptr retstr, EditorUI *a2, GameObject *a3)
{
cocos2d::CCPoint v5; // r2
cocos2d::CCPoint v7; // [sp+4h] [bp-10h] BYREF
EditorUI::offsetForKey(&v7, a2, a3->m_objectID);
LODWORD(v5.x) = &v7;
GameToolbox::getRelativeOffset(retstr, a3, v5);
return retstr;
}