//
// GameObject::getObjectZOrder from 0x1002fa0b0 to 0x1002fa0c8 (24 bytes)
//
// 18 xrefs:
// > sub_100040F2C @ 0x10004117c
// > sub_100040F2C @ 0x1000411a8
// > SetGroupIDLayer::onArrow @ 0x10004205c
// > sub_1000847B0 @ 0x100084874
// > PlayLayer::addObject @ 0x100141e74
// > EditorUI::spriteFromObjectString @ 0x100184e0c
// > EditorUI::spriteFromObjectString @ 0x100184ecc
// > GJBaseGameLayer::spawnParticleTrigger @ 0x1002850cc
// > GJBaseGameLayer::triggerGradientCommand @ 0x10028b658
// > GameObject::playDestroyObjectAnim @ 0x1003e7e14
// > GameObject::playDestroyObjectAnim @ 0x1003e8428
// > GameObject::playDestroyObjectAnim @ 0x1003e8710
// > ParticleGameObject::addMainSpriteToParent @ 0x1004271b0
// > ParticleGameObject::claimParticle @ 0x100427270
// > ParticleGameObject::claimParticle @ 0x1004272ac
// > EditorUI::updateObjectInfoLabel @ 0x100475798
// > EditorUI::updateObjectInfoLabel @ 0x1004757a8
// > EditorUI::updateObjectInfoLabel @ 0x10047589c
//
// This function is hookable on this platform (idp: arm, 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 11:03:01 +0000
//
__int64 __fastcall GameObject::getObjectZOrder(__int64 a1)
{
__int64 result; // x0
result = *(unsigned int *)(a1 + 1128);
if ( !(_DWORD)result )
return *(unsigned int *)(a1 + 1048);
return result;
}