//
// GJBaseGameLayer::swapGround from 0x85720c to 0x85725c (80 bytes)
//
// 2 xrefs:
// > ArtTriggerGameObject::triggerObject @ 0x74b33c
// > ??> @ 0x48fd8
//
// 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 GJBaseGameLayer::swapGround(GJBaseGameLayer *a1, int a2)
{
GameManager *v3; // x0
a1->m_gameState.m_ground = a2;
if ( !a1->m_skipArtReload && a2 != GameManager::sharedState()->m_loadedGroundID )
{
v3 = GameManager::sharedState();
GameManager::loadGroundAsync(v3, a2);
}
}