//
// GJGroundLayer::updateGroundPos from 0x1006be510 to 0x1006be551 (65 bytes)
//
// 3 xrefs:
// > GJBaseGameLayer::updateCameraBGArt @ 0x10013ae72
// > GJBaseGameLayer::updateCameraBGArt @ 0x10013ae8f
// > MenuGameLayer::update @ 0x1004f9da4
//
// This function is hookable on this platform (idp: pc, 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:35:30 +0000
//
__int64 __fastcall GJGroundLayer::updateGroundPos(__int64 a1, __int64 a2)
{
__int64 result; // rax
__int64 v3; // rdi
result = (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 408) + 184LL))(*(_QWORD *)(a1 + 408));
v3 = *(_QWORD *)(a1 + 416);
if ( v3 )
return (*(__int64 (__fastcall **)(__int64, __int64))(*(_QWORD *)v3 + 184LL))(v3, a2);
return result;
}