{"type": "func", "start": 4296636736, "end": 4296636943, "name": "AnimatedGameObject::deactivateObject", "pseudocode": "// \n// AnimatedGameObject::deactivateObject from 0x100197940 to 0x100197a0f (207 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x100ac7bc8\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:25:56 +0000\n// \n\n__int64 __fastcall AnimatedGameObject::deactivateObject(__int64 a1)\n{\n  char v1; // r14\n  __int64 result; // rax\n  __int64 v3; // rax\n  __int128 *v4; // rax\n  __int64 v5; // r14\n  __int128 v6; // [rsp+0h] [rbp-30h] BYREF\n  __int64 v7; // [rsp+10h] [rbp-20h]\n\n  v1 = *(_BYTE *)(a1 + 773);\n  result = EnhancedGameObject::deactivateObject();\n  if ( v1 == 1 && !*(_BYTE *)(a1 + 773) )\n  {\n    v3 = *(_QWORD *)(*(_QWORD *)(a1 + 1464) + 648LL);\n    if ( (*(_BYTE *)(v3 + 400) & 1) != 0 )\n    {\n      sub_10001AD30(&v6, *(const void **)(v3 + 416), *(_QWORD *)(v3 + 408));\n      v5 = a1 + 1496;\n      if ( (*(_BYTE *)(a1 + 1496) & 1) == 0 )\n      {\nLABEL_8:\n        *(_QWORD *)(v5 + 16) = v7;\n        *(_OWORD *)v5 = v6;\n        return SpriteAnimationManager::stopAnimations(*(_QWORD *)(*(_QWORD *)(a1 + 1464) + 648LL));\n      }\n    }\n    else\n    {\n      v4 = (__int128 *)(v3 + 400);\n      v7 = *((_QWORD *)v4 + 2);\n      v6 = *v4;\n      v5 = a1 + 1496;\n      if ( (*(_BYTE *)(a1 + 1496) & 1) == 0 )\n        goto LABEL_8;\n    }\n    operator delete(*(void **)(a1 + 1512));\n    goto LABEL_8;\n  }\n  return result;\n}", "assembly": "; \n; AnimatedGameObject::deactivateObject from 0x100197940 to 0x100197a0f (207 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x100ac7bc8\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:25:56 +0000\n; \npush    rbp                                                            ; +0x0, 0x100197940\nmov     rbp, rsp                                                       ; +0x1, 0x100197941\npush    r14                                                            ; +0x4, 0x100197944\npush    rbx                                                            ; +0x6, 0x100197946\nsub     rsp, 20h                                                       ; +0x7, 0x100197947\nmov     rbx, rdi                                                       ; +0xb, 0x10019794b\nmovzx   r14d, byte ptr [rdi+305h]                                      ; +0xe, 0x10019794e\ncall    EnhancedGameObject__deactivateObject                           ; +0x16, 0x100197956\ncmp     r14b, 1                                                        ; +0x1b, 0x10019795b\njnz     loc_100197A06                                                  ; +0x1f, 0x10019795f\ncmp     byte ptr [rbx+305h], 0                                         ; +0x25, 0x100197965\njnz     loc_100197A06                                                  ; +0x2c, 0x10019796c\nmov     rax, [rbx+5B8h]                                                ; +0x32, 0x100197972\nmov     rax, [rax+288h]                                                ; +0x39, 0x100197979\ntest    byte ptr [rax+190h], 1                                         ; +0x40, 0x100197980\njnz     short loc_1001979B0                                            ; +0x47, 0x100197987\nadd     rax, 190h                                                      ; +0x49, 0x100197989\nmov     rcx, [rax+10h]                                                 ; +0x4f, 0x10019798f\nmov     [rbp+var_20], rcx                                              ; +0x53, 0x100197993\nmovups  xmm0, xmmword ptr [rax]                                        ; +0x57, 0x100197997\nmovaps  [rbp+var_30], xmm0                                             ; +0x5a, 0x10019799a\nlea     r14, [rbx+5D8h]                                                ; +0x5e, 0x10019799e\ntest    byte ptr [rbx+5D8h], 1                                         ; +0x65, 0x1001979a5\njnz     short loc_1001979D7                                            ; +0x6c, 0x1001979ac\njmp     short loc_1001979E3                                            ; +0x6e, 0x1001979ae\nmov     rdx, [rax+198h]                                                ; +0x70, 0x1001979b0\nmov     rsi, [rax+1A0h]                                                ; +0x77, 0x1001979b7\nlea     rdi, [rbp+var_30]                                              ; +0x7e, 0x1001979be\ncall    sub_10001AD30                                                  ; +0x82, 0x1001979c2\nlea     r14, [rbx+5D8h]                                                ; +0x87, 0x1001979c7\ntest    byte ptr [rbx+5D8h], 1                                         ; +0x8e, 0x1001979ce\njz      short loc_1001979E3                                            ; +0x95, 0x1001979d5\nmov     rdi, [rbx+5E8h]; __p                                           ; +0x97, 0x1001979d7\ncall    __ZdlPv; operator delete(void *)                               ; +0x9e, 0x1001979de\nmov     rax, [rbp+var_20]                                              ; +0xa3, 0x1001979e3\nmov     [r14+10h], rax                                                 ; +0xa7, 0x1001979e7\nmovaps  xmm0, [rbp+var_30]                                             ; +0xab, 0x1001979eb\nmovups  xmmword ptr [r14], xmm0                                        ; +0xaf, 0x1001979ef\nmov     rax, [rbx+5B8h]                                                ; +0xb3, 0x1001979f3\nmov     rdi, [rax+288h]                                                ; +0xba, 0x1001979fa\ncall    SpriteAnimationManager__stopAnimations                         ; +0xc1, 0x100197a01\nadd     rsp, 20h                                                       ; +0xc6, 0x100197a06\npop     rbx                                                            ; +0xca, 0x100197a0a\npop     r14                                                            ; +0xcb, 0x100197a0b\npop     rbp                                                            ; +0xcd, 0x100197a0d\nretn                                                                   ; +0xce, 0x100197a0e", "xrefs": ["<???> @ 0x100ac7bc8"], "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"}