//
// GJMapObject::setObjectOrigin from 0x50decc to 0x50deec (32 bytes)
//
// 3 xrefs:
// > MapSelectLayer::init @ 0x50f802
// > MapSelectLayer::init @ 0x50f968
// > MapSelectLayer::init @ 0x50f9a4
//
// 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 GJMapObject::setObjectOrigin(GJMapObject *a1, cocos2d::CCPoint a2, float a3)
{
float x; // r5
a1->m_objectOffset = a2.y;
x = a2.x;
cocos2d::CCPoint::operator=((PlayerObject *)&a1->m_objectOrigin, a2.x, SLODWORD(a2.y), SLOBYTE(a3));
a1->setPosition(a1, (const cocos2d::CCPoint *)LODWORD(x));
}