{"type": "func", "start": 5372897040, "end": 5372897236, "name": "LevelEditorLayer::updateDisabledObjectsLastPos", "pseudocode": "// \n// LevelEditorLayer::updateDisabledObjectsLastPos from 0x1403fe710 to 0x1403fe7d4 (196 bytes)\n// \n// 4 xrefs:\n// > <???> @ 0x14078b298\n// > <???> @ 0x1408c6808\n// > <???> @ 0x1408c683c\n// > <???> @ 0x140925928\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 11:31:53 +0000\n// \n\nvoid __fastcall LevelEditorLayer::updateDisabledObjectsLastPos(__int64 a1, __int64 a2)\n{\n  unsigned int *v3; // rdi\n  __int64 v4; // rax\n  __int64 *v5; // rdi\n  __int64 *i; // rsi\n  __int64 v7; // rdx\n  int v8; // eax\n  __int64 v9; // rcx\n  __int64 v10; // [rsp+30h] [rbp+8h] BYREF\n\n  if ( !*(_BYTE *)(a1 + 14439) )\n  {\n    if ( a2 )\n    {\n      v3 = *(unsigned int **)(a2 + 56);\n      v4 = *v3;\n      if ( (_DWORD)v4 )\n      {\n        v5 = *((__int64 **)v3 + 2);\n        for ( i = &v5[v4 - 1]; v5 <= i; ++v5 )\n        {\n          v7 = *v5;\n          if ( !*v5 )\n            break;\n          if ( *(_BYTE *)(v7 + 1298) )\n          {\n            v8 = *(_DWORD *)(a1 + 992);\n            if ( *(_DWORD *)(v7 + 1244) != v8 )\n            {\n              *(_DWORD *)(v7 + 1244) = v8;\n              v9 = *(int *)(a1 + 3836);\n              v10 = v7;\n              if ( *(_DWORD *)(a1 + 3856) > (int)v9 )\n              {\n                *(_QWORD *)(*(_QWORD *)(a1 + 3608) + 8 * v9) = v7;\n              }\n              else\n              {\n                sub_1400BD3C0((const void **)(a1 + 3608), &v10);\n                ++*(_DWORD *)(a1 + 3856);\n              }\n              ++*(_DWORD *)(a1 + 3836);\n            }\n          }\n        }\n      }\n    }\n  }\n}", "assembly": "; \n; LevelEditorLayer::updateDisabledObjectsLastPos from 0x1403fe710 to 0x1403fe7d4 (196 bytes)\n; \n; 4 xrefs:\n; > <???> @ 0x14078b298\n; > <???> @ 0x1408c6808\n; > <???> @ 0x1408c683c\n; > <???> @ 0x140925928\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 11:31:53 +0000\n; \npush    rbx                                                            ; +0x0, 0x1403fe710\nsub     rsp, 20h                                                       ; +0x2, 0x1403fe712\ncmp     byte ptr [rcx+3867h], 0                                        ; +0x6, 0x1403fe716\nmov     rbx, rcx                                                       ; +0xd, 0x1403fe71d\njnz     loc_1403FE7CE                                                  ; +0x10, 0x1403fe720\ntest    rdx, rdx                                                       ; +0x16, 0x1403fe726\njz      loc_1403FE7CE                                                  ; +0x19, 0x1403fe729\nmov     [rsp+28h+arg_10], rdi                                          ; +0x1f, 0x1403fe72f\nmov     rdi, [rdx+38h]                                                 ; +0x24, 0x1403fe734\nmov     eax, [rdi]                                                     ; +0x28, 0x1403fe738\ntest    eax, eax                                                       ; +0x2a, 0x1403fe73a\njz      loc_1403FE7C9                                                  ; +0x2c, 0x1403fe73c\nmov     rdi, [rdi+10h]                                                 ; +0x32, 0x1403fe742\nmov     [rsp+28h+arg_8], rsi                                           ; +0x36, 0x1403fe746\nlea     rsi, [rax-1]                                                   ; +0x3b, 0x1403fe74b\nlea     rsi, [rdi+rsi*8]                                               ; +0x3f, 0x1403fe74f\ncmp     rdi, rsi                                                       ; +0x43, 0x1403fe753\nja      short loc_1403FE7C4                                            ; +0x46, 0x1403fe756\nmov     rdx, [rdi]                                                     ; +0x48, 0x1403fe758\ntest    rdx, rdx                                                       ; +0x4b, 0x1403fe75b\njz      short loc_1403FE7C4                                            ; +0x4e, 0x1403fe75e\ncmp     byte ptr [rdx+512h], 0                                         ; +0x50, 0x1403fe760\njz      short loc_1403FE7BB                                            ; +0x57, 0x1403fe767\nmov     eax, [rbx+3E0h]                                                ; +0x59, 0x1403fe769\ncmp     [rdx+4DCh], eax                                                ; +0x5f, 0x1403fe76f\njz      short loc_1403FE7BB                                            ; +0x65, 0x1403fe775\nmov     [rdx+4DCh], eax                                                ; +0x67, 0x1403fe777\nmovsxd  rcx, dword ptr [rbx+0EFCh]                                     ; +0x6d, 0x1403fe77d\nmov     [rsp+28h+arg_0], rdx                                           ; +0x74, 0x1403fe784\ncmp     [rbx+0F10h], ecx                                               ; +0x79, 0x1403fe789\njg      short loc_1403FE7AA                                            ; +0x7f, 0x1403fe78f\nlea     rdx, [rsp+28h+arg_0]                                           ; +0x81, 0x1403fe791\nlea     rcx, [rbx+0E18h]                                               ; +0x86, 0x1403fe796\ncall    sub_1400BD3C0                                                  ; +0x8d, 0x1403fe79d\ninc     dword ptr [rbx+0F10h]                                          ; +0x92, 0x1403fe7a2\njmp     short loc_1403FE7B5                                            ; +0x98, 0x1403fe7a8\nmov     rax, [rbx+0E18h]                                               ; +0x9a, 0x1403fe7aa\nmov     [rax+rcx*8], rdx                                               ; +0xa1, 0x1403fe7b1\ninc     dword ptr [rbx+0EFCh]                                          ; +0xa5, 0x1403fe7b5\nadd     rdi, 8                                                         ; +0xab, 0x1403fe7bb\ncmp     rdi, rsi                                                       ; +0xaf, 0x1403fe7bf\njbe     short loc_1403FE758                                            ; +0xb2, 0x1403fe7c2\nmov     rsi, [rsp+28h+arg_8]                                           ; +0xb4, 0x1403fe7c4\nmov     rdi, [rsp+28h+arg_10]                                          ; +0xb9, 0x1403fe7c9\nadd     rsp, 20h                                                       ; +0xbe, 0x1403fe7ce\npop     rbx                                                            ; +0xc2, 0x1403fe7d2\nretn                                                                   ; +0xc3, 0x1403fe7d3", "xrefs": ["<???> @ 0x14078b298", "<???> @ 0x1408c6808", "<???> @ 0x1408c683c", "<???> @ 0x140925928"], "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"}