//
// GJBaseGameLayer::swapGround from 0x1000f0b50 to 0x1000f0b90 (64 bytes)
//
// 1 xrefs:
// > ArtTriggerGameObject::triggerObject @ 0x1001ce99c
//
// 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:21:11 +0000
//
void __fastcall GJBaseGameLayer::swapGround(__int64 a1, __int64 a2, __int64 a3)
{
__int64 v3; // rdx
__int64 v4; // rax
double v5; // xmm0_8
__int64 v6; // rax
*(_DWORD *)(a1 + 1904) = a2;
if ( !*(_BYTE *)(a1 + 12605) )
{
GameManager::sharedState(a1, a2, a3);
if ( *(_DWORD *)(v4 + 984) != (_DWORD)a2 )
{
*(_QWORD *)&v5 = GameManager::sharedState(a1, a2, v3).u64[0];
GameManager::loadGroundAsync(v6, (unsigned int)a2, v5);
}
}
}