//
// GameObject::getObjectZLayer from 0x44d8a2 to 0x44d8b0 (14 bytes)
//
// 18 xrefs:
// > GameObject::addMainSpriteToParent @ 0x44d8d0
// > GameObject::addColorSpriteToParent @ 0x44d9ac
// > GameObject::activateObject @ 0x44dafc
// > GameObject::duplicateAttributes @ 0x44eb3c
// > GameObject::claimParticle @ 0x452ce6
// > EditorUI::updateObjectInfoLabel @ 0x489126
// > EditorUI::updateObjectInfoLabel @ 0x48912e
// > EditorUI::updateObjectInfoLabel @ 0x4891d6
// > ParticleGameObject::addMainSpriteToParent @ 0x4e6608
// > ParticleGameObject::claimParticle @ 0x4e7a72
// > ParticleGameObject::claimParticle @ 0x4e7a98
// > GJBaseGameLayer::spawnParticleTrigger @ 0x59c674
// > SetGroupIDLayer::onZLayerShift @ 0x63966c
// > SetGroupIDLayer::determineStartValues @ 0x63a0da
// > SetGroupIDLayer::determineStartValues @ 0x63a0e2
// > GameObject::playDestroyObjectAnim @ 0x65f2b0
// > EditorUI::spriteFromObjectString @ 0x6f5058
// > EditorUI::spriteFromObjectString @ 0x6f5308
//
// 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::getObjectZLayer(GameObject *this)
{
int v1; // r3
v1 = *((_DWORD *)this + 245);
if ( !v1 )
return *((_DWORD *)this + 243);
return v1;
}