//
// GJGroundLayer::updateGroundPos from 0x545ca8 to 0x545ccc (36 bytes)
//
// 3 xrefs:
// > MenuGameLayer::update @ 0x492c24
// > GJBaseGameLayer::updateCameraBGArt @ 0x596c56
// > GJBaseGameLayer::updateCameraBGArt @ 0x596c6a
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 11:52:23 +0000
//
int __fastcall GJGroundLayer::updateGroundPos(int a1, int a2)
{
int result; // r0
(*(void (__fastcall **)(_DWORD))(**(_DWORD **)(a1 + 316) + 92))(*(_DWORD *)(a1 + 316));
result = *(_DWORD *)(a1 + 320);
if ( result )
return (*(int (__fastcall **)(int, int))(*(_DWORD *)result + 92))(result, a2);
return result;
}