//
// GameObject::getObjectZLayer from 0x355e76 to 0x355e84 (14 bytes)
//
// 18 xrefs:
// > GameObject::claimParticle @ 0x355e9c
// > GameObject::addMainSpriteToParent @ 0x3561fc
// > GameObject::addColorSpriteToParent @ 0x3562d8
// > GameObject::activateObject @ 0x356428
// > GameObject::duplicateAttributes @ 0x3587d6
// > EditorUI::spriteFromObjectString @ 0x387b90
// > EditorUI::spriteFromObjectString @ 0x387e40
// > EditorUI::updateObjectInfoLabel @ 0x3a076e
// > EditorUI::updateObjectInfoLabel @ 0x3a0776
// > EditorUI::updateObjectInfoLabel @ 0x3a081e
// > ParticleGameObject::addMainSpriteToParent @ 0x3e4560
// > ParticleGameObject::claimParticle @ 0x3e75fa
// > ParticleGameObject::claimParticle @ 0x3e7620
// > GJBaseGameLayer::spawnParticleTrigger @ 0x477994
// > SetGroupIDLayer::onZLayerShift @ 0x50879e
// > SetGroupIDLayer::determineStartValues @ 0x5095a6
// > SetGroupIDLayer::determineStartValues @ 0x5095ae
// > GameObject::playDestroyObjectAnim @ 0x52b098
//
// 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 m_zLayer; // r3
m_zLayer = a1->m_zLayer;
if ( !m_zLayer )
return a1->m_defaultZLayer;
return m_zLayer;
}