//
// GameObject::parentForZLayer from 0x10067b740 to 0x10067b792 (82 bytes)
//
// 2 xrefs:
// > ParticleGameObject::addMainSpriteToParent @ 0x100192104
// > GameObject::playDestroyObjectAnim @ 0x1002492ce
//
// 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::parentForZLayer(__int64 a1, int a2, char a3, unsigned int a4)
{
__int64 v6; // r13
__int64 v7; // rax
v6 = *(unsigned __int8 *)(a1 + 649);
v7 = GameManager::sharedState();
return GJBaseGameLayer::parentForZLayer(*(_QWORD *)(v7 + 8 * v6 + 544), a2, a3, a4, *(unsigned __int8 *)(a1 + 1345));
}