//
// GameObject::getObjectZOrder from 0x6465dc to 0x6465f0 (20 bytes)
//
// 23 xrefs:
// > PlayLayer::addObject @ 0x5cc948
// > GameObject::addMainSpriteToParent @ 0x64668c
// > GameObject::addColorSpriteToParent @ 0x646860
// > GameObject::addColorSpriteToParent @ 0x6468e4
// > GameObject::duplicateAttributes @ 0x64a2dc
// > EditorUI::spriteFromObjectString @ 0x696ddc
// > EditorUI::spriteFromObjectString @ 0x697000
// > EditorUI::updateObjectInfoLabel @ 0x6bab94
// > EditorUI::updateObjectInfoLabel @ 0x6bac40
// > EditorUI::updateObjectInfoLabel @ 0x6bacbc
// > ParticleGameObject::addMainSpriteToParent @ 0x74a8d8
// > ParticleGameObject::claimParticle @ 0x755390
// > ParticleGameObject::claimParticle @ 0x755438
// > GJBaseGameLayer::spawnParticleTrigger @ 0x86777c
// > GJBaseGameLayer::triggerGradientCommand @ 0x86c388
// > SetGroupIDLayer::determineStartValues @ 0x976244
// > SetGroupIDLayer::determineStartValues @ 0x97627c
// > SetGroupIDLayer::determineStartValues @ 0x9762a4
// > GameObject::playDestroyObjectAnim @ 0x9b2f20
// > GameObject::playDestroyObjectAnim @ 0x9b32f0
// > GameObject::playDestroyObjectAnim @ 0x9b362c
// > EditorUI::createExtraObject @ 0x9cdbf0
// > ??> @ 0xb45d0
//
// 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
//
int GameObject::getObjectZOrder(GameObject *a1)
{
int result; // w0
result = a1->m_zOrder;
if ( !result )
return a1->m_defaultZOrder;
return result;
}