//
// GJGroundLayer::updateGroundPos from 0x916828 to 0x916874 (76 bytes)
//
// 4 xrefs:
// > MenuGameLayer::update @ 0x7daa88
// > GJBaseGameLayer::updateCameraBGArt @ 0x9a98d0
// > GJBaseGameLayer::updateCameraBGArt @ 0x9a98ec
// > ??> @ 0x7aad0
//
// This function is hookable on this platform (idp: arm, 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:57:19 +0000
//
__int64 __fastcall GJGroundLayer::updateGroundPos(__int64 a1, __int64 a2)
{
__int64 result; // x0
(*(void (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 408) + 184LL))(*(_QWORD *)(a1 + 408));
result = *(_QWORD *)(a1 + 416);
if ( result )
return (*(__int64 (__fastcall **)(__int64, __int64))(*(_QWORD *)result + 184LL))(result, a2);
return result;
}