//
// EditorUI::anchorPointMoved from 0x37b6d8 to 0x37b72c (84 bytes)
//
// 2 xrefs:
// > `non-virtual thunk to'EditorUI::anchorPointMoved @ 0x37b734
// > `non-virtual thunk to'EditorUI::anchorPointMoved @ 0x37b73c
//
// 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
//
void EditorUI::anchorPointMoved(EditorUI *a1, cocos2d::CCPoint a2)
{
float x; // r7
int v4; // r2
bool v5; // r3
int v6; // r2
bool v7; // r3
cocos2d::CCPoint v8; // [sp+4h] [bp-10h] BYREF
x = a2.x;
cocos2d::CCNode::convertToNodeSpace(&v8, a1->m_editorLayer->m_objectLayer, (const cocos2d::CCPoint *)LODWORD(a2.x));
cocos2d::CCPoint::operator=((PlayerObject *)LODWORD(x), COERCE_FLOAT(&v8), v4, v5);
cocos2d::CCPoint::operator=((PlayerObject *)&a1->m_pivotPoint, x, v6, v7);
a1->m_transformControl->setPosition(a1->m_transformControl, &a1->m_pivotPoint);
}