//
// GameObject::getObjectZLayer from 0x10067b7a0 to 0x10067b7b8 (24 bytes)
//
// 12 xrefs:
// > EditorUI::updateObjectInfoLabel @ 0x10000ea60
// > EditorUI::updateObjectInfoLabel @ 0x10000ea70
// > EditorUI::updateObjectInfoLabel @ 0x10000ebb1
// > GJBaseGameLayer::spawnParticleTrigger @ 0x1001067cc
// > ParticleGameObject::addMainSpriteToParent @ 0x1001920f3
// > ParticleGameObject::claimParticle @ 0x10019222a
// > ParticleGameObject::claimParticle @ 0x100192263
// > GameObject::playDestroyObjectAnim @ 0x1002492aa
// > SetGroupIDLayer::determineStartValues @ 0x1002ffef3
// > SetGroupIDLayer::onZLayerShift @ 0x1003001bb
// > EditorUI::spriteFromObjectString @ 0x100638d27
// > EditorUI::spriteFromObjectString @ 0x100638e01
//
// This function is hookable on this platform (idp: pc, 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:35:03 +0000
//
__int64 __fastcall GameObject::getObjectZLayer(__int64 a1)
{
__int64 result; // rax
result = *(unsigned int *)(a1 + 1124);
if ( !(_DWORD)result )
return *(unsigned int *)(a1 + 1116);
return result;
}