//
// EditorUI::getRelativeOffset from 0xc00234 to 0xc002a8 (116 bytes)
//
// 6 xrefs:
// > EditorUI::onCreateObject @ 0x7ca280
// > EditorUI::ccTouchEnded @ 0xbd66f4
// > EditorUI::positionWithoutOffset @ 0xc002d8
// > EditorUI::removeOffset @ 0xc004dc
// > EditorUI::applyOffset @ 0xc0057c
// > ??> @ 0xf9250
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 13:03:48 +0000
//
cocos2d::CCPoint *__usercall EditorUI::getRelativeOffset@(
cocos2d::CCPoint *__return_ptr a1@,
GameObject *a2@)
{
_BYTE v6[8]; // [xsp+40h] [xbp+40h] BYREF
offsetForKey((cocos2d::CCPoint *)v6, *((_DWORD *)a2 + 257));
GameToolbox::getRelativeOffset((__int64)a2, (cocos2d::CCPoint *)v6, a1);
return a1;
}