//
// GJGroundLayer::updateShadows from 0x1005eb7f0 to 0x1005eb879 (137 bytes)
//
// 4 xrefs:
// > GJBaseGameLayer::preUpdateVisibility @ 0x10014f832
// > GJBaseGameLayer::preUpdateVisibility @ 0x10014f850
// > GJBaseGameLayer::resetLevelVariables @ 0x10015983e
// > GJBaseGameLayer::resetLevelVariables @ 0x10015985c
//
// 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 __fastcall GJGroundLayer::updateShadows(GJGroundLayer *a1)
{
__int64 v1; // rax
__int64 v2; // rbx
float v3; // [rsp+0h] [rbp-20h] BYREF
float v4; // [rsp+8h] [rbp-18h]
float v5; // [rsp+Ch] [rbp-14h]
v4 = ((float (__fastcall *)(GJGroundLayer *))a1->getScaleX)(a1);
cocos2d::CCDirector::sharedDirector();
cocos2d::CCDirector::getWinSize((cocos2d::CCDirector *)&v3);
v5 = v3;
v1 = ((__int64 (__fastcall *)(GJGroundLayer *, __int64))a1->getChildByTag)(a1, 1);
if ( v1 )
{
v2 = v1;
sub_10028CBE0(&v3, (float)(v5 / v4) + 1.0, 0.0);
(*(void (__fastcall **)(__int64, float *))(*(_QWORD *)v2 + 184LL))(v2, &v3);
}
}