//
// GameObject::getObjectZOrder from 0x44d8b0 to 0x44d8be (14 bytes)
//
// 25 xrefs:
// > PlayLayer::addObject @ 0x40088c
// > GameObject::addMainSpriteToParent @ 0x44d928
// > GameObject::addMainSpriteToParent @ 0x44d940
// > GameObject::addColorSpriteToParent @ 0x44da68
// > GameObject::addColorSpriteToParent @ 0x44daa4
// > GameObject::duplicateAttributes @ 0x44eb32
// > EditorUI::updateObjectInfoLabel @ 0x489148
// > EditorUI::updateObjectInfoLabel @ 0x48914e
// > EditorUI::updateObjectInfoLabel @ 0x4891e0
// > ParticleGameObject::addMainSpriteToParent @ 0x4e6646
// > ParticleGameObject::addMainSpriteToParent @ 0x4e6662
// > ParticleGameObject::claimParticle @ 0x4e7a7a
// > ParticleGameObject::claimParticle @ 0x4e7aa0
// > GJBaseGameLayer::triggerGradientCommand @ 0x59b5d0
// > GJBaseGameLayer::spawnParticleTrigger @ 0x59c67c
// > SetGroupIDLayer::determineStartValues @ 0x63a1f6
// > SetGroupIDLayer::determineStartValues @ 0x63a21e
// > SetGroupIDLayer::determineStartValues @ 0x63a224
// > SetGroupIDLayer::onArrow @ 0x63b418
// > GameObject::playDestroyObjectAnim @ 0x65ecfc
// > GameObject::playDestroyObjectAnim @ 0x65f12a
// > GameObject::playDestroyObjectAnim @ 0x65f32c
// > EditorUI::createExtraObject @ 0x66cbb0
// > EditorUI::spriteFromObjectString @ 0x6f5050
// > EditorUI::spriteFromObjectString @ 0x6f531e
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:48:35 +0000
//
int __fastcall GameObject::getObjectZOrder(GameObject *this)
{
int v1; // r3
v1 = *((_DWORD *)this + 246);
if ( !v1 )
return *((_DWORD *)this + 228);
return v1;
}