//
// GJBaseGameLayer::swapGround from 0x1001148b0 to 0x1001148f0 (64 bytes)
//
// 1 xrefs:
// > ArtTriggerGameObject::triggerObject @ 0x1001ed61c
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
void __fastcall GJBaseGameLayer::swapGround(GJBaseGameLayer *a1, int a2)
{
GameManager *v2; // rax
a1->m_gameState.m_ground = a2;
if ( !a1->m_skipArtReload && GameManager::sharedState()->m_loadedGroundID != a2 )
{
v2 = GameManager::sharedState();
GameManager::loadGroundAsync(v2, a2);
}
}