//
// LevelEditorLayer::getRelativeOffset from 0x65d068 to 0x65d0d8 (112 bytes)
//
// 2 xrefs:
// > LevelEditorLayer::getObjectRect @ 0x65d22c
// > ??> @ 0xc2e20
//
// 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 LevelEditorLayer::getRelativeOffset(LevelEditorLayer *a1, GameObject *a2)
{
cocos2d::CCPoint v5; // [xsp+30h] [xbp+30h] BYREF
cocos2d::CCPoint RelativeOffset; // 0:kr00_8.8
cocos2d::CCPoint v7; // 0:s0.4,4:s1.4
cocos2d::CCPoint result; // 0:s0.4,4:s1.4
cocos2d::CCPoint::CCPoint(&v5, &a2->m_obUnflippedOffsetPositionFromCenter);
RelativeOffset = GameToolbox::getRelativeOffset(a2, v7);
result.x = RelativeOffset.x;
result.y = RelativeOffset.y;
return result;
}