//
// GameObject::getObjectZOrder from 0x10068f610 to 0x10068f628 (24 bytes)
//
// 18 xrefs:
// > EditorUI::updateObjectInfoLabel @ 0x10000ea97
// > EditorUI::updateObjectInfoLabel @ 0x10000eab0
// > EditorUI::updateObjectInfoLabel @ 0x10000ebc0
// > PlayLayer::addObject @ 0x10007fe1d
// > GJBaseGameLayer::spawnParticleTrigger @ 0x1001067d6
// > GJBaseGameLayer::triggerGradientCommand @ 0x100116b1f
// > ParticleGameObject::addMainSpriteToParent @ 0x100192150
// > ParticleGameObject::claimParticle @ 0x100192235
// > ParticleGameObject::claimParticle @ 0x10019226e
// > GameObject::playDestroyObjectAnim @ 0x100248847
// > GameObject::playDestroyObjectAnim @ 0x100248f83
// > GameObject::playDestroyObjectAnim @ 0x1002492d9
// > SetGroupIDLayer::determineStartValues @ 0x1002fffe7
// > SetGroupIDLayer::determineStartValues @ 0x1003000fb
// > SetGroupIDLayer::onArrow @ 0x100301583
// > EditorUI::spriteFromObjectString @ 0x100638b14
// > EditorUI::spriteFromObjectString @ 0x100638d1d
// > EditorUI::createExtraObject @ 0x1006f555b
//
// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 12:35:07 +0000
//
__int64 __fastcall GameObject::getObjectZOrder(__int64 a1)
{
__int64 result; // rax
result = *(unsigned int *)(a1 + 1128);
if ( !(_DWORD)result )
return *(unsigned int *)(a1 + 1048);
return result;
}