//
// GJMGLayer::updateGroundPos from 0x1006bf520 to 0x1006bf561 (65 bytes)
//
// 1 xrefs:
// > GJBaseGameLayer::updateCameraBGArt @ 0x10013acff
//
// 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:31 +0000
//
__int64 __fastcall GJMGLayer::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;
}