//
// GameObject::getObjectZOrder from 0x76f80c to 0x76f820 (20 bytes)
//
// 24 xrefs:
// > PlayLayer::addObject @ 0x6f458c
// > GameObject::addMainSpriteToParent @ 0x76f8bc
// > GameObject::addColorSpriteToParent @ 0x76fa90
// > GameObject::addColorSpriteToParent @ 0x76fb14
// > GameObject::duplicateAttributes @ 0x7716c8
// > EditorUI::updateObjectInfoLabel @ 0x7cd1c0
// > EditorUI::updateObjectInfoLabel @ 0x7cd294
// > EditorUI::updateObjectInfoLabel @ 0x7cda48
// > ParticleGameObject::addMainSpriteToParent @ 0x86f54c
// > ParticleGameObject::claimParticle @ 0x871cb4
// > ParticleGameObject::claimParticle @ 0x871d5c
// > GJBaseGameLayer::triggerGradientCommand @ 0x9ad604
// > GJBaseGameLayer::spawnParticleTrigger @ 0x9af058
// > SetGroupIDLayer::determineStartValues @ 0xaba4cc
// > SetGroupIDLayer::determineStartValues @ 0xaba504
// > SetGroupIDLayer::determineStartValues @ 0xaba52c
// > SetGroupIDLayer::onArrow @ 0xabc530
// > GameObject::playDestroyObjectAnim @ 0xaf3fec
// > GameObject::playDestroyObjectAnim @ 0xaf4388
// > GameObject::playDestroyObjectAnim @ 0xaf46c4
// > EditorUI::createExtraObject @ 0xb09400
// > EditorUI::spriteFromObjectString @ 0xbde29c
// > EditorUI::spriteFromObjectString @ 0xbde4c0
// > ??> @ 0xebb70
//
// 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 12:53:12 +0000
//
__int64 __fastcall GameObject::getObjectZOrder(GameObject *this)
{
__int64 result; // x0
result = *((unsigned int *)this + 282);
if ( !(_DWORD)result )
return *((unsigned int *)this + 262);
return result;
}