{"type": "func", "start": 4301764416, "end": 4301764498, "name": "GameObject::parentForZLayer", "pseudocode": "// \n// GameObject::parentForZLayer from 0x10067b740 to 0x10067b792 (82 bytes)\n// \n// 2 xrefs:\n// > ParticleGameObject::addMainSpriteToParent @ 0x100192104\n// > GameObject::playDestroyObjectAnim @ 0x1002492ce\n// \n// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 12:35:03 +0000\n// \n\n__int64 __fastcall GameObject::parentForZLayer(__int64 a1, int a2, char a3, unsigned int a4)\n{\n  __int64 v6; // r13\n  __int64 v7; // rax\n\n  v6 = *(unsigned __int8 *)(a1 + 649);\n  v7 = GameManager::sharedState();\n  return GJBaseGameLayer::parentForZLayer(*(_QWORD *)(v7 + 8 * v6 + 544), a2, a3, a4, *(unsigned __int8 *)(a1 + 1345));\n}", "assembly": "; \n; GameObject::parentForZLayer from 0x10067b740 to 0x10067b792 (82 bytes)\n; \n; 2 xrefs:\n; > ParticleGameObject::addMainSpriteToParent @ 0x100192104\n; > GameObject::playDestroyObjectAnim @ 0x1002492ce\n; \n; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 12:35:03 +0000\n; \npush    rbp                                                            ; +0x0, 0x10067b740\nmov     rbp, rsp                                                       ; +0x1, 0x10067b741\npush    r15                                                            ; +0x4, 0x10067b744\npush    r14                                                            ; +0x6, 0x10067b746\npush    r13                                                            ; +0x8, 0x10067b748\npush    r12                                                            ; +0xa, 0x10067b74a\npush    rbx                                                            ; +0xc, 0x10067b74c\npush    rax                                                            ; +0xd, 0x10067b74d\nmov     ebx, ecx                                                       ; +0xe, 0x10067b74e\nmov     r14d, edx                                                      ; +0x10, 0x10067b750\nmov     r15d, esi                                                      ; +0x13, 0x10067b753\nmov     r12, rdi                                                       ; +0x16, 0x10067b756\nmovzx   r13d, byte ptr [rdi+289h]                                      ; +0x19, 0x10067b759\ncall    GameManager__sharedState                                       ; +0x21, 0x10067b761\nmovzx   r8d, byte ptr [r12+541h]                                       ; +0x26, 0x10067b766\nmov     rdi, [rax+r13*8+220h]                                          ; +0x2f, 0x10067b76f\nmov     esi, r15d                                                      ; +0x37, 0x10067b777\nmov     edx, r14d                                                      ; +0x3a, 0x10067b77a\nmov     ecx, ebx                                                       ; +0x3d, 0x10067b77d\nadd     rsp, 8                                                         ; +0x3f, 0x10067b77f\npop     rbx                                                            ; +0x43, 0x10067b783\npop     r12                                                            ; +0x44, 0x10067b784\npop     r13                                                            ; +0x46, 0x10067b786\npop     r14                                                            ; +0x48, 0x10067b788\npop     r15                                                            ; +0x4a, 0x10067b78a\npop     rbp                                                            ; +0x4c, 0x10067b78c\njmp     GJBaseGameLayer__parentForZLayer                               ; +0x4d, 0x10067b78d", "xrefs": ["ParticleGameObject::addMainSpriteToParent @ 0x100192104", "GameObject::playDestroyObjectAnim @ 0x1002492ce"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}