//
// GJGroundLayer::updateShadows from 0x14027ee80 to 0x14027ef15 (149 bytes)
//
// 6 xrefs:
// > GJBaseGameLayer::preUpdateVisibility @ 0x140236605
// > GJBaseGameLayer::preUpdateVisibility @ 0x140236623
// > GJBaseGameLayer::resetLevelVariables @ 0x14023b71e
// > GJBaseGameLayer::resetLevelVariables @ 0x14023b73c
// > GJGroundLayer::scaleGround @ 0x14027edcb
// > ??> @ 0x1406d128c
//
// 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::updateShadows(GJGroundLayer *a1)
{
double v2; // xmm0_8
__int64 v3; // rcx
cocos2d::CCDirector *v4; // rax
float v5; // xmm7_4
cocos2d::CCNode *v6; // rax
cocos2d::CCNode *v7; // rdi
cocos2d::CCNode_vtbl *v8; // rbx
const cocos2d::CCPoint *v9; // rax
v2 = ((double (__fastcall *)(GJGroundLayer *))a1->getScaleX)(a1);
v4 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(v3);
v5 = **(float **)&cocos2d::CCDirector::getWinSize(v4) / *(float *)&v2;
v6 = a1->getChildByTag(a1, 1);
v7 = v6;
if ( v6 )
{
v8 = v6->__vftable;
cocos2d::CCPoint::CCPoint(*(float *)&v2, v5 + 1.0);
v8->setPosition_0(v7, v9);
}
}