//
// GJMGLayer::updateGroundPos from 0x546850 to 0x546874 (36 bytes)
//
// 1 xrefs:
// > GJBaseGameLayer::updateCameraBGArt @ 0x596b46
//
// 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 GJMGLayer::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;
}