//
// EditorUI::addSnapPosition from 0x37d7e2 to 0x37d804 (34 bytes)
//
// 1 xrefs:
// > EditorUI::onCreateObject @ 0x3a3cc4
//
// 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::addSnapPosition(EditorUI *a1, cocos2d::CCPoint a2)
{
float x; // r6
cocos2d::CCNode *v4; // r4
x = a2.x;
v4 = cocos2d::CCNode::create();
((void (__fastcall *)(cocos2d::CCNode *, float))v4->setPosition)(v4, COERCE_FLOAT(LODWORD(x)));
cocos2d::CCArray::addObject(a1->m_snapPositions, v4);
}