//
// GameObject::getObjectZLayer from 0x6460a8 to 0x6460bc (20 bytes)
//
// 19 xrefs:
// > GameObject::claimParticle @ 0x6460f0
// > GameObject::addMainSpriteToParent @ 0x646614
// > GameObject::addColorSpriteToParent @ 0x646744
// > GameObject::activateObject @ 0x64696c
// > GameObject::duplicateAttributes @ 0x64a2e8
// > EditorUI::spriteFromObjectString @ 0x696dbc
// > EditorUI::spriteFromObjectString @ 0x69700c
// > EditorUI::updateObjectInfoLabel @ 0x6bab60
// > EditorUI::updateObjectInfoLabel @ 0x6bac34
// > EditorUI::updateObjectInfoLabel @ 0x6bacb0
// > ParticleGameObject::addMainSpriteToParent @ 0x74a874
// > ParticleGameObject::claimParticle @ 0x755380
// > ParticleGameObject::claimParticle @ 0x755428
// > GJBaseGameLayer::spawnParticleTrigger @ 0x867770
// > SetGroupIDLayer::onZLayerShift @ 0x974734
// > SetGroupIDLayer::determineStartValues @ 0x976124
// > SetGroupIDLayer::determineStartValues @ 0x976310
// > GameObject::playDestroyObjectAnim @ 0x9b2ee8
// > ??> @ 0x6afc8
//
// 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
//
ZLayer GameObject::getObjectZLayer(GameObject *a1)
{
ZLayer result; // w0
result = a1->m_zLayer;
if ( !result )
return a1->m_defaultZLayer;
return result;
}