//
// GJGroundLayer::updateGroundPos from 0x4343f0 to 0x434414 (36 bytes)
//
// 3 xrefs:
// > MenuGameLayer::update @ 0x3a9e5c
// > GJBaseGameLayer::updateCameraBGArt @ 0x477662
// > GJBaseGameLayer::updateCameraBGArt @ 0x477676
//
// 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 GJGroundLayer::updateGroundPos(GJGroundLayer *a1, cocos2d::CCPoint a2)
{
float x; // r5
cocos2d::CCSprite *m_ground2Sprite; // r0
x = a2.x;
((void (__fastcall *)(cocos2d::CCSprite *, _DWORD, _DWORD))a1->m_ground1Sprite->setPosition)(
a1->m_ground1Sprite,
LODWORD(a2.x),
LODWORD(a2.y));
m_ground2Sprite = a1->m_ground2Sprite;
if ( m_ground2Sprite )
((void (__fastcall *)(cocos2d::CCSprite *, float))m_ground2Sprite->setPosition)(
m_ground2Sprite,
COERCE_FLOAT(LODWORD(x)));
}