//
// GameObject::getObjectZLayer from 0x1005aa050 to 0x1005aa068 (24 bytes)
//
// 12 xrefs:
// > EditorUI::updateObjectInfoLabel @ 0x10002f5c0
// > EditorUI::updateObjectInfoLabel @ 0x10002f5d0
// > EditorUI::updateObjectInfoLabel @ 0x10002f711
// > EditorUI::spriteFromObjectString @ 0x1000343e7
// > EditorUI::spriteFromObjectString @ 0x1000344c1
// > GJBaseGameLayer::spawnParticleTrigger @ 0x100128e3a
// > ParticleGameObject::addMainSpriteToParent @ 0x1001b1b23
// > ParticleGameObject::claimParticle @ 0x1001b1c5a
// > ParticleGameObject::claimParticle @ 0x1001b1c93
// > GameObject::playDestroyObjectAnim @ 0x10025f31a
// > SetGroupIDLayer::determineStartValues @ 0x100315603
// > SetGroupIDLayer::onZLayerShift @ 0x1003158cb
//
// 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 __fastcall GameObject::getObjectZLayer(GameObject *a1)
{
ZLayer result; // eax
result = a1->m_zLayer;
if ( !result )
return a1->m_defaultZLayer;
return result;
}