//
// GameObject::getObjectZLayer from 0x76f7f8 to 0x76f80c (20 bytes)
//
// 19 xrefs:
// > GameObject::addMainSpriteToParent @ 0x76f844
// > GameObject::addColorSpriteToParent @ 0x76f974
// > GameObject::activateObject @ 0x76fb9c
// > GameObject::duplicateAttributes @ 0x7716d4
// > GameObject::claimParticle @ 0x775904
// > EditorUI::updateObjectInfoLabel @ 0x7cd18c
// > EditorUI::updateObjectInfoLabel @ 0x7cd288
// > EditorUI::updateObjectInfoLabel @ 0x7cda3c
// > ParticleGameObject::addMainSpriteToParent @ 0x86f4e8
// > ParticleGameObject::claimParticle @ 0x871ca4
// > ParticleGameObject::claimParticle @ 0x871d4c
// > GJBaseGameLayer::spawnParticleTrigger @ 0x9af04c
// > SetGroupIDLayer::onZLayerShift @ 0xab90d0
// > SetGroupIDLayer::determineStartValues @ 0xaba3ac
// > SetGroupIDLayer::determineStartValues @ 0xaba598
// > GameObject::playDestroyObjectAnim @ 0xaf3fb4
// > EditorUI::spriteFromObjectString @ 0xbde27c
// > EditorUI::spriteFromObjectString @ 0xbde4cc
// > ??> @ 0x90ad8
//
// 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::getObjectZLayer(GameObject *this)
{
__int64 result; // x0
result = *((unsigned int *)this + 281);
if ( !(_DWORD)result )
return *((unsigned int *)this + 279);
return result;
}