{"type": "func", "start": 4301842544, "end": 4301842643, "name": "GameObject::getParentMode", "pseudocode": "// \n// GameObject::getParentMode from 0x10068e870 to 0x10068e8d3 (99 bytes)\n// \n// 6 xrefs:\n// > GameObject::playDestroyObjectAnim @ 0x1002492bd\n// > SetGroupIDLayer::init @ 0x1002fe273\n// > SetGroupIDLayer::init @ 0x1002fe2e8\n// > GameObject::addColorSpriteToParent @ 0x10067b8c5\n// > GameObject::claimParticle @ 0x10068e2fa\n// > GameObject::addMainSpriteToParent @ 0x10068f51d\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:07 +0000\n// \n\nunsigned int __fastcall GameObject::getParentMode(__int64 a1)\n{\n  unsigned int result; // eax\n\n  LOWORD(result) = *(_WORD *)(a1 + 1018);\n  if ( (_WORD)result != 0xFFFF )\n    return (__int16)result;\n  LOWORD(result) = 4;\n  if ( *(_BYTE *)(a1 + 772) )\n    goto LABEL_7;\n  LOWORD(result) = 1;\n  if ( *(_BYTE *)(a1 + 1052) )\n    goto LABEL_7;\n  result = *(_DWORD *)(a1 + 1028) - 142;\n  if ( result <= 0x112D )\n  {\n    LOWORD(result) = word_100A0E3A4[result];\nLABEL_7:\n    *(_WORD *)(a1 + 1018) = result;\n    return (__int16)result;\n  }\n  *(_WORD *)(a1 + 1018) = 0;\n  return 0;\n}", "assembly": "; \n; GameObject::getParentMode from 0x10068e870 to 0x10068e8d3 (99 bytes)\n; \n; 6 xrefs:\n; > GameObject::playDestroyObjectAnim @ 0x1002492bd\n; > SetGroupIDLayer::init @ 0x1002fe273\n; > SetGroupIDLayer::init @ 0x1002fe2e8\n; > GameObject::addColorSpriteToParent @ 0x10067b8c5\n; > GameObject::claimParticle @ 0x10068e2fa\n; > GameObject::addMainSpriteToParent @ 0x10068f51d\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:07 +0000\n; \npush    rbp                                                            ; +0x0, 0x10068e870\nmov     rbp, rsp                                                       ; +0x1, 0x10068e871\nmovzx   eax, word ptr [rdi+3FAh]                                       ; +0x4, 0x10068e874\ncmp     ax, 0FFFFh                                                     ; +0xb, 0x10068e87b\njz      short loc_10068E884                                            ; +0xf, 0x10068e87f\ncwde                                                                   ; +0x11, 0x10068e881\npop     rbp                                                            ; +0x12, 0x10068e882\nretn                                                                   ; +0x13, 0x10068e883\nmov     ax, 4                                                          ; +0x14, 0x10068e884\ncmp     byte ptr [rdi+304h], 0                                         ; +0x18, 0x10068e888\njnz     short loc_10068E8BD                                            ; +0x1f, 0x10068e88f\nmov     ax, 1                                                          ; +0x21, 0x10068e891\ncmp     byte ptr [rdi+41Ch], 0                                         ; +0x25, 0x10068e895\njnz     short loc_10068E8BD                                            ; +0x2c, 0x10068e89c\nmov     eax, 0FFFFFF72h                                                ; +0x2e, 0x10068e89e\nadd     eax, [rdi+404h]                                                ; +0x33, 0x10068e8a3\ncmp     eax, 112Dh                                                     ; +0x39, 0x10068e8a9\nja      short loc_10068E8C7                                            ; +0x3e, 0x10068e8ae\nmov     eax, eax                                                       ; +0x40, 0x10068e8b0\nlea     rcx, word_100A0E3A4                                            ; +0x42, 0x10068e8b2\nmovzx   eax, word ptr [rcx+rax*2]                                      ; +0x49, 0x10068e8b9\nmov     [rdi+3FAh], ax                                                 ; +0x4d, 0x10068e8bd\ncwde                                                                   ; +0x54, 0x10068e8c4\npop     rbp                                                            ; +0x55, 0x10068e8c5\nretn                                                                   ; +0x56, 0x10068e8c6\nxor     eax, eax                                                       ; +0x57, 0x10068e8c7\nmov     [rdi+3FAh], ax                                                 ; +0x59, 0x10068e8c9\ncwde                                                                   ; +0x60, 0x10068e8d0\npop     rbp                                                            ; +0x61, 0x10068e8d1\nretn                                                                   ; +0x62, 0x10068e8d2", "xrefs": ["GameObject::playDestroyObjectAnim @ 0x1002492bd", "SetGroupIDLayer::init @ 0x1002fe273", "SetGroupIDLayer::init @ 0x1002fe2e8", "GameObject::addColorSpriteToParent @ 0x10067b8c5", "GameObject::claimParticle @ 0x10068e2fa", "GameObject::addMainSpriteToParent @ 0x10068f51d"], "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"}