//
// EditorUI::addSnapPosition from 0x7c2430 to 0x7c2470 (64 bytes)
//
// 2 xrefs:
// > EditorUI::onCreateObject @ 0x7ca198
// > ??> @ 0x4bc88
//
// 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 12:54:07 +0000
//
__int64 __fastcall EditorUI::addSnapPosition(cocos2d::CCArray **a1, __int64 a2)
{
cocos2d::CCObject *v3; // x19
v3 = (cocos2d::CCObject *)cocos2d::CCNode::create((cocos2d::CCNode *)a1);
(*(void (__fastcall **)(cocos2d::CCObject *, __int64))(*(_QWORD *)v3 + 184LL))(v3, a2);
return cocos2d::CCArray::addObject(a1[110], v3);
}