//
// GameObject::setCustomZLayer from 0x76f7e8 to 0x76f7f8 (16 bytes)
//
// 7 xrefs:
// > GameObject::duplicateAttributes @ 0x7716e0
// > GameObject::duplicateValues @ 0x771888
// > GameObject::objectFromVector @ 0x780b70
// > SetGroupIDLayer::onZLayerShift @ 0xab90f4
// > SetGroupIDLayer::onZLayer @ 0xabb98c
// > SetGroupIDLayer::onZLayer @ 0xabb9cc
// > ??> @ 0xa6c48
//
// 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::setCustomZLayer(__int64 this, int a2)
{
if ( !*(_BYTE *)(this + 1120) )
*(_DWORD *)(this + 1124) = a2;
return this;
}