//
// ExtendedLayer::setPosition from 0x56d14c to 0x56d1cc (128 bytes)
//
// 2 xrefs:
// > ??> @ 0x4c128
// > ??> @ 0x1135a18
//
// 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 ExtendedLayer::setPosition(ExtendedLayer *a1, const cocos2d::CCPoint *a2)
{
BoomScrollLayerDelegate *m_delegate; // x20
const cocos2d::CCPoint *v5; // x1
void (__fastcall *scrollLayerMoved)(BoomScrollLayerDelegate *__hidden, cocos2d::CCPoint); // x22
cocos2d::CCPoint v7; // [xsp+30h] [xbp+30h] BYREF
cocos2d::CCNode::setPosition(a1, a2);
m_delegate = a1->m_delegate;
if ( m_delegate )
{
v5 = a2;
scrollLayerMoved = m_delegate->scrollLayerMoved;
cocos2d::CCPoint::CCPoint(&v7, v5);
((void (__fastcall *)(BoomScrollLayerDelegate *, cocos2d::CCPoint *))scrollLayerMoved)(m_delegate, &v7);
}
}