//
// GameObject::getObjectZLayer from 0x100256320 to 0x100256338 (24 bytes)
//
// 12 xrefs:
// > SetGroupIDLayer::determineStartValues @ 0x10003d6bc
// > SetGroupIDLayer::onZLayerShift @ 0x10003d950
// > GJBaseGameLayer::spawnParticleTrigger @ 0x1001e97d8
// > GameObject::playDestroyObjectAnim @ 0x10034a1bc
// > ParticleGameObject::addMainSpriteToParent @ 0x100380ec4
// > ParticleGameObject::claimParticle @ 0x100380fd8
// > ParticleGameObject::claimParticle @ 0x100381014
// > EditorUI::updateObjectInfoLabel @ 0x1003e799c
// > EditorUI::updateObjectInfoLabel @ 0x1003e79ac
// > EditorUI::updateObjectInfoLabel @ 0x1003e7ac8
// > EditorUI::spriteFromObjectString @ 0x1003eaaf8
// > EditorUI::spriteFromObjectString @ 0x1003eab8c
//
// 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; // w0
result = a1->m_zLayer;
if ( !result )
return a1->m_defaultZLayer;
return result;
}