{"type": "func", "start": 5372939024, "end": 5372939988, "name": "LevelEditorLayer::checkAutoSave", "pseudocode": "// \n// LevelEditorLayer::checkAutoSave from 0x140408b10 to 0x140408ed4 (964 bytes)\n// \n// 2 xrefs:\n// > LevelEditorLayer::updateEditor @ 0x1403f62dc\n// > <???> @ 0x140925c28\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:59 +0000\n// \n\n// Hidden C++ exception states: #wind=5\nchar __fastcall LevelEditorLayer::checkAutoSave(__int64 a1, float a2)\n{\n  __int64 v3; // rcx\n  __int64 v4; // rdi\n  cocos2d::CCString *v5; // rax\n  int v6; // edi\n  void *v7; // r8\n  float v8; // xmm6_4\n  __int64 v9; // rcx\n  __int64 v10; // rax\n  __int64 v11; // rdi\n  cocos2d::CCString *v12; // rax\n  int v13; // edi\n  void *v14; // rax\n  __int64 v15; // rax\n  float v16; // xmm1_4\n  int v17; // ecx\n  int v18; // esi\n  void *v20; // [rsp+30h] [rbp-40h]\n  void *v21; // [rsp+30h] [rbp-40h]\n  void *v22; // [rsp+30h] [rbp-40h]\n  void *v23; // [rsp+30h] [rbp-40h]\n  void *Block[2]; // [rsp+38h] [rbp-38h] BYREF\n  __int64 v25; // [rsp+48h] [rbp-28h]\n  unsigned __int64 v26; // [rsp+50h] [rbp-20h]\n\n  v3 = qword_14090BFD0;\n  if ( !qword_14090BFD0 )\n  {\n    v20 = operator new(0x6E8u);\n    qword_14090BFD0 = GameManager::GameManager((__int64)v20);\n    (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BFD0 + 72LL))(qword_14090BFD0);\n    v3 = qword_14090BFD0;\n  }\n  if ( GameManager::getGameVariable(v3, \"0184\") )\n  {\n    v4 = qword_14090BFD0;\n    if ( !qword_14090BFD0 )\n    {\n      v21 = operator new(0x6E8u);\n      qword_14090BFD0 = GameManager::GameManager((__int64)v21);\n      (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BFD0 + 72LL))(qword_14090BFD0);\n      v4 = qword_14090BFD0;\n    }\n    *(_OWORD *)Block = 0;\n    v25 = 3;\n    v26 = 15;\n    LODWORD(Block[0]) = 6256231;\n    sub_140044D80(Block, \"0185\", 4u);\n    v5 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(*(_QWORD *)(v4 + 432), Block);\n    v6 = cocos2d::CCString::intValue(v5);\n    if ( v26 > 0xF )\n    {\n      v7 = Block[0];\n      if ( v26 + 1 >= 0x1000 )\n      {\n        v7 = *((void **)Block[0] - 1);\n        if ( (unsigned __int64)((char *)Block[0] - (char *)v7 - 8) > 0x1F )\n          invoke_watson(nullptr, nullptr, nullptr, 0, 0);\n      }\n      j_j_free(v7);\n    }\n    v25 = 0;\n    v26 = 15;\n    LOBYTE(Block[0]) = 0;\n    if ( v6 <= 0 )\n      v6 = 300;\n    v8 = a2 + *(float *)(a1 + 15808);\n    *(float *)(a1 + 15808) = v8;\n    if ( v8 >= (float)v6 && LevelEditorLayer::canAutoSave(a1) )\n    {\n      *(_DWORD *)(a1 + 15808) = 0;\n      LevelEditorLayer::doAutoSave(a1);\n    }\n  }\n  v9 = qword_14090BFD0;\n  if ( !qword_14090BFD0 )\n  {\n    v22 = operator new(0x6E8u);\n    qword_14090BFD0 = GameManager::GameManager((__int64)v22);\n    (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BFD0 + 72LL))(qword_14090BFD0);\n    v9 = qword_14090BFD0;\n  }\n  LOBYTE(v10) = GameManager::getGameVariable(v9, \"0186\");\n  if ( (_BYTE)v10 )\n  {\n    v11 = qword_14090BFD0;\n    if ( !qword_14090BFD0 )\n    {\n      v23 = operator new(0x6E8u);\n      qword_14090BFD0 = GameManager::GameManager((__int64)v23);\n      (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BFD0 + 72LL))(qword_14090BFD0);\n      v11 = qword_14090BFD0;\n    }\n    *(_OWORD *)Block = 0;\n    v25 = 3;\n    v26 = 15;\n    LODWORD(Block[0]) = 6256231;\n    sub_140044D80(Block, \"0187\", 4u);\n    v12 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(*(_QWORD *)(v11 + 432), Block);\n    v13 = cocos2d::CCString::intValue(v12);\n    if ( v26 > 0xF )\n    {\n      v14 = Block[0];\n      if ( v26 + 1 >= 0x1000 )\n      {\n        v14 = *((void **)Block[0] - 1);\n        if ( (unsigned __int64)((char *)Block[0] - (char *)v14 - 8) > 0x1F )\n          invoke_watson(nullptr, nullptr, nullptr, 0, 0);\n      }\n      j_j_free(v14);\n    }\n    if ( v13 > 0 )\n    {\n      if ( v13 < 600 )\n        v13 = 600;\n    }\n    else\n    {\n      v13 = 3600;\n    }\n    v15 = *(_QWORD *)(a1 + 2168);\n    v16 = (double)*(int *)(v15 + 724) + *(double *)(a1 + 15392);\n    v17 = *(_DWORD *)(v15 + 1624);\n    if ( v17 <= 0 || (float)v17 > v16 )\n    {\n      v18 = (int)v16;\n      *(_DWORD *)(v15 + 1624) = (int)v16;\n    }\n    else\n    {\n      v18 = (int)v16;\n    }\n    v10 = *(_QWORD *)(a1 + 2168);\n    if ( (float)(v16 - (float)*(int *)(v10 + 1624)) >= (float)v13 )\n    {\n      LOBYTE(v10) = LevelEditorLayer::canAutoSave(a1);\n      if ( (_BYTE)v10 )\n      {\n        *(_DWORD *)(*(_QWORD *)(a1 + 2168) + 1624LL) = v18;\n        LOBYTE(v10) = LevelEditorLayer::doAutoBackup(a1);\n      }\n    }\n  }\n  return v10;\n}", "assembly": "; \n; LevelEditorLayer::checkAutoSave from 0x140408b10 to 0x140408ed4 (964 bytes)\n; \n; 2 xrefs:\n; > LevelEditorLayer::updateEditor @ 0x1403f62dc\n; > <???> @ 0x140925c28\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:59 +0000\n; \nmov     [rsp-8+arg_8], rbx                                             ; +0x0, 0x140408b10\nmov     [rsp-8+arg_10], rsi                                            ; +0x5, 0x140408b15\nmov     [rsp-8+arg_18], rdi                                            ; +0xa, 0x140408b1a\npush    rbp                                                            ; +0xf, 0x140408b1f\nmov     rbp, rsp                                                       ; +0x10, 0x140408b20\nsub     rsp, 70h                                                       ; +0x13, 0x140408b23\nmovaps  [rsp+70h+var_10], xmm6                                         ; +0x17, 0x140408b27\nmov     rax, cs:__security_cookie                                      ; +0x1c, 0x140408b2c\nxor     rax, rsp                                                       ; +0x23, 0x140408b33\nmov     [rbp+var_18], rax                                              ; +0x26, 0x140408b36\nmovaps  xmm6, xmm1                                                     ; +0x2a, 0x140408b3a\nmov     rbx, rcx                                                       ; +0x2d, 0x140408b3d\nmov     rcx, cs:qword_14090BFD0                                        ; +0x30, 0x140408b40\ntest    rcx, rcx                                                       ; +0x37, 0x140408b47\njnz     short loc_140408B7D                                            ; +0x3a, 0x140408b4a\nmov     ecx, 6E8h; Size                                                ; +0x3c, 0x140408b4c\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x41, 0x140408b51\nmov     [rbp+var_40], rax                                              ; +0x46, 0x140408b56\nmov     rcx, rax                                                       ; +0x4a, 0x140408b5a\ncall    GameManager__GameManager                                       ; +0x4d, 0x140408b5d\nnop                                                                    ; +0x52, 0x140408b62\nmov     cs:qword_14090BFD0, rax                                        ; +0x53, 0x140408b63\nmov     rcx, [rax]                                                     ; +0x5a, 0x140408b6a\nmov     rdx, [rcx+48h]                                                 ; +0x5d, 0x140408b6d\nmov     rcx, rax                                                       ; +0x61, 0x140408b71\ncall    rdx                                                            ; +0x64, 0x140408b74\nmov     rcx, cs:qword_14090BFD0                                        ; +0x66, 0x140408b76\nlea     rdx, a0184; \"0184\"                                             ; +0x6d, 0x140408b7d\ncall    GameManager__getGameVariable                                   ; +0x74, 0x140408b84\nxor     esi, esi                                                       ; +0x79, 0x140408b89\ntest    al, al                                                         ; +0x7b, 0x140408b8b\njz      loc_140408CD1                                                  ; +0x7d, 0x140408b8d\nmov     rdi, cs:qword_14090BFD0                                        ; +0x83, 0x140408b93\ntest    rdi, rdi                                                       ; +0x8a, 0x140408b9a\njnz     short loc_140408BD0                                            ; +0x8d, 0x140408b9d\nmov     ecx, 6E8h; Size                                                ; +0x8f, 0x140408b9f\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x94, 0x140408ba4\nmov     [rbp+var_40], rax                                              ; +0x99, 0x140408ba9\nmov     rcx, rax                                                       ; +0x9d, 0x140408bad\ncall    GameManager__GameManager                                       ; +0xa0, 0x140408bb0\nnop                                                                    ; +0xa5, 0x140408bb5\nmov     cs:qword_14090BFD0, rax                                        ; +0xa6, 0x140408bb6\nmov     rcx, [rax]                                                     ; +0xad, 0x140408bbd\nmov     rdx, [rcx+48h]                                                 ; +0xb0, 0x140408bc0\nmov     rcx, rax                                                       ; +0xb4, 0x140408bc4\ncall    rdx                                                            ; +0xb7, 0x140408bc7\nmov     rdi, cs:qword_14090BFD0                                        ; +0xb9, 0x140408bc9\nxorps   xmm0, xmm0                                                     ; +0xc0, 0x140408bd0\nmovups  xmmword ptr [rbp+Block], xmm0                                  ; +0xc3, 0x140408bd3\nmov     [rbp+var_28], 3                                                ; +0xc7, 0x140408bd7\nmov     [rbp+var_20], 0Fh                                              ; +0xcf, 0x140408bdf\nmov     eax, cs:dword_140757618                                        ; +0xd7, 0x140408be7\nmov     word ptr [rbp+Block], ax                                       ; +0xdd, 0x140408bed\nmovzx   eax, byte ptr cs:dword_140757618+2                             ; +0xe1, 0x140408bf1\nmov     byte ptr [rbp+Block+2], al                                     ; +0xe8, 0x140408bf8\nmov     byte ptr [rbp+Block+3], 0                                      ; +0xeb, 0x140408bfb\nmov     r8d, 4; Size                                                   ; +0xef, 0x140408bff\nlea     rdx, a0185; \"0185\"                                             ; +0xf5, 0x140408c05\nlea     rcx, [rbp+Block]; Src                                          ; +0xfc, 0x140408c0c\ncall    sub_140044D80                                                  ; +0x100, 0x140408c10\nlea     rdx, [rbp+Block]                                               ; +0x105, 0x140408c15\nmov     rcx, [rdi+1B0h]                                                ; +0x109, 0x140408c19\ncall    cs:?valueForKey@CCDictionary@cocos2d@@QEAAPEBVCCString@2@AEBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z; cocos2d::CCDictionary::valueForKey(std::string const &) ; +0x110, 0x140408c20\nmov     rcx, rax                                                       ; +0x116, 0x140408c26\ncall    cs:?intValue@CCString@cocos2d@@QEBAHXZ; cocos2d::CCString::intValue(void) ; +0x119, 0x140408c29\nmov     edi, eax                                                       ; +0x11f, 0x140408c2f\nmov     rdx, [rbp+var_20]                                              ; +0x121, 0x140408c31\ncmp     rdx, 0Fh                                                       ; +0x125, 0x140408c35\njbe     short loc_140408C81                                            ; +0x129, 0x140408c39\ninc     rdx                                                            ; +0x12b, 0x140408c3b\nmov     r8, [rbp+Block]                                                ; +0x12e, 0x140408c3e\nmov     rcx, r8                                                        ; +0x132, 0x140408c42\ncmp     rdx, 1000h                                                     ; +0x135, 0x140408c45\njb      short loc_140408C79                                            ; +0x13c, 0x140408c4c\nadd     rdx, 27h ; '''                                                 ; +0x13e, 0x140408c4e\nmov     r8, [r8-8]                                                     ; +0x142, 0x140408c52\nsub     rcx, r8                                                        ; +0x146, 0x140408c56\nsub     rcx, 8                                                         ; +0x149, 0x140408c59\ncmp     rcx, 1Fh                                                       ; +0x14d, 0x140408c5d\njbe     short loc_140408C79                                            ; +0x151, 0x140408c61\nmov     [rsp+70h+Reserved], rsi; Reserved                              ; +0x153, 0x140408c63\nxor     r9d, r9d; LineNo                                               ; +0x158, 0x140408c68\nxor     r8d, r8d; FileName                                             ; +0x15b, 0x140408c6b\nxor     edx, edx; FunctionName                                         ; +0x15e, 0x140408c6e\nxor     ecx, ecx; Expression                                           ; +0x160, 0x140408c70\ncall    cs:_invoke_watson                                              ; +0x162, 0x140408c72\ndb 0CCh                                                                ; +0x168, 0x140408c78\nmov     rcx, r8; Block                                                 ; +0x169, 0x140408c79\ncall    j_j_free                                                       ; +0x16c, 0x140408c7c\nmov     [rbp+var_28], rsi                                              ; +0x171, 0x140408c81\nmov     [rbp+var_20], 0Fh                                              ; +0x175, 0x140408c85\nmov     byte ptr [rbp+Block], 0                                        ; +0x17d, 0x140408c8d\nmov     eax, 12Ch                                                      ; +0x181, 0x140408c91\ntest    edi, edi                                                       ; +0x186, 0x140408c96\ncmovle  edi, eax                                                       ; +0x188, 0x140408c98\naddss   xmm6, dword ptr [rbx+3DC0h]                                    ; +0x18b, 0x140408c9b\nmovss   dword ptr [rbx+3DC0h], xmm6                                    ; +0x193, 0x140408ca3\nmovd    xmm0, edi                                                      ; +0x19b, 0x140408cab\ncvtdq2ps xmm0, xmm0                                                    ; +0x19f, 0x140408caf\ncomiss  xmm6, xmm0                                                     ; +0x1a2, 0x140408cb2\njb      short loc_140408CD1                                            ; +0x1a5, 0x140408cb5\nmov     rcx, rbx                                                       ; +0x1a7, 0x140408cb7\ncall    LevelEditorLayer__canAutoSave                                  ; +0x1aa, 0x140408cba\ntest    al, al                                                         ; +0x1af, 0x140408cbf\njz      short loc_140408CD1                                            ; +0x1b1, 0x140408cc1\nmov     [rbx+3DC0h], esi                                               ; +0x1b3, 0x140408cc3\nmov     rcx, rbx                                                       ; +0x1b9, 0x140408cc9\ncall    LevelEditorLayer__doAutoSave                                   ; +0x1bc, 0x140408ccc\nmov     rcx, cs:qword_14090BFD0                                        ; +0x1c1, 0x140408cd1\ntest    rcx, rcx                                                       ; +0x1c8, 0x140408cd8\njnz     short loc_140408D0E                                            ; +0x1cb, 0x140408cdb\nmov     ecx, 6E8h; Size                                                ; +0x1cd, 0x140408cdd\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x1d2, 0x140408ce2\nmov     [rbp+var_40], rax                                              ; +0x1d7, 0x140408ce7\nmov     rcx, rax                                                       ; +0x1db, 0x140408ceb\ncall    GameManager__GameManager                                       ; +0x1de, 0x140408cee\nnop                                                                    ; +0x1e3, 0x140408cf3\nmov     cs:qword_14090BFD0, rax                                        ; +0x1e4, 0x140408cf4\nmov     rcx, [rax]                                                     ; +0x1eb, 0x140408cfb\nmov     rdx, [rcx+48h]                                                 ; +0x1ee, 0x140408cfe\nmov     rcx, rax                                                       ; +0x1f2, 0x140408d02\ncall    rdx                                                            ; +0x1f5, 0x140408d05\nmov     rcx, cs:qword_14090BFD0                                        ; +0x1f7, 0x140408d07\nlea     rdx, a0186; \"0186\"                                             ; +0x1fe, 0x140408d0e\ncall    GameManager__getGameVariable                                   ; +0x205, 0x140408d15\ntest    al, al                                                         ; +0x20a, 0x140408d1a\njz      loc_140408EAD                                                  ; +0x20c, 0x140408d1c\nmov     rdi, cs:qword_14090BFD0                                        ; +0x212, 0x140408d22\ntest    rdi, rdi                                                       ; +0x219, 0x140408d29\njnz     short loc_140408D5F                                            ; +0x21c, 0x140408d2c\nmov     ecx, 6E8h; Size                                                ; +0x21e, 0x140408d2e\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x223, 0x140408d33\nmov     [rbp+var_40], rax                                              ; +0x228, 0x140408d38\nmov     rcx, rax                                                       ; +0x22c, 0x140408d3c\ncall    GameManager__GameManager                                       ; +0x22f, 0x140408d3f\nnop                                                                    ; +0x234, 0x140408d44\nmov     cs:qword_14090BFD0, rax                                        ; +0x235, 0x140408d45\nmov     rcx, [rax]                                                     ; +0x23c, 0x140408d4c\nmov     rdx, [rcx+48h]                                                 ; +0x23f, 0x140408d4f\nmov     rcx, rax                                                       ; +0x243, 0x140408d53\ncall    rdx                                                            ; +0x246, 0x140408d56\nmov     rdi, cs:qword_14090BFD0                                        ; +0x248, 0x140408d58\nxorps   xmm0, xmm0                                                     ; +0x24f, 0x140408d5f\nmovups  xmmword ptr [rbp+Block], xmm0                                  ; +0x252, 0x140408d62\nmov     [rbp+var_28], 3                                                ; +0x256, 0x140408d66\nmov     [rbp+var_20], 0Fh                                              ; +0x25e, 0x140408d6e\nmov     eax, cs:dword_140757618                                        ; +0x266, 0x140408d76\nmov     word ptr [rbp+Block], ax                                       ; +0x26c, 0x140408d7c\nmovzx   eax, byte ptr cs:dword_140757618+2                             ; +0x270, 0x140408d80\nmov     byte ptr [rbp+Block+2], al                                     ; +0x277, 0x140408d87\nmov     byte ptr [rbp+Block+3], 0                                      ; +0x27a, 0x140408d8a\nmov     r8d, 4; Size                                                   ; +0x27e, 0x140408d8e\nlea     rdx, a0187; \"0187\"                                             ; +0x284, 0x140408d94\nlea     rcx, [rbp+Block]; Src                                          ; +0x28b, 0x140408d9b\ncall    sub_140044D80                                                  ; +0x28f, 0x140408d9f\nlea     rdx, [rbp+Block]                                               ; +0x294, 0x140408da4\nmov     rcx, [rdi+1B0h]                                                ; +0x298, 0x140408da8\ncall    cs:?valueForKey@CCDictionary@cocos2d@@QEAAPEBVCCString@2@AEBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z; cocos2d::CCDictionary::valueForKey(std::string const &) ; +0x29f, 0x140408daf\nmov     rcx, rax                                                       ; +0x2a5, 0x140408db5\ncall    cs:?intValue@CCString@cocos2d@@QEBAHXZ; cocos2d::CCString::intValue(void) ; +0x2a8, 0x140408db8\nmov     edi, eax                                                       ; +0x2ae, 0x140408dbe\nmov     rdx, [rbp+var_20]                                              ; +0x2b0, 0x140408dc0\ncmp     rdx, 0Fh                                                       ; +0x2b4, 0x140408dc4\njbe     short loc_140408E10                                            ; +0x2b8, 0x140408dc8\ninc     rdx                                                            ; +0x2ba, 0x140408dca\nmov     rax, [rbp+Block]                                               ; +0x2bd, 0x140408dcd\nmov     rcx, rax                                                       ; +0x2c1, 0x140408dd1\ncmp     rdx, 1000h                                                     ; +0x2c4, 0x140408dd4\njb      short loc_140408E08                                            ; +0x2cb, 0x140408ddb\nadd     rdx, 27h ; '''                                                 ; +0x2cd, 0x140408ddd\nmov     rax, [rax-8]                                                   ; +0x2d1, 0x140408de1\nsub     rcx, rax                                                       ; +0x2d5, 0x140408de5\nsub     rcx, 8                                                         ; +0x2d8, 0x140408de8\ncmp     rcx, 1Fh                                                       ; +0x2dc, 0x140408dec\njbe     short loc_140408E08                                            ; +0x2e0, 0x140408df0\nmov     [rsp+70h+Reserved], rsi; Reserved                              ; +0x2e2, 0x140408df2\nxor     r9d, r9d; LineNo                                               ; +0x2e7, 0x140408df7\nxor     r8d, r8d; FileName                                             ; +0x2ea, 0x140408dfa\nxor     edx, edx; FunctionName                                         ; +0x2ed, 0x140408dfd\nxor     ecx, ecx; Expression                                           ; +0x2ef, 0x140408dff\ncall    cs:_invoke_watson                                              ; +0x2f1, 0x140408e01\nalign 8                                                                ; +0x2f7, 0x140408e07\nmov     rcx, rax; Block                                                ; +0x2f8, 0x140408e08\ncall    j_j_free                                                       ; +0x2fb, 0x140408e0b\ntest    edi, edi                                                       ; +0x300, 0x140408e10\njg      short loc_140408E1B                                            ; +0x302, 0x140408e12\nmov     edi, 0E10h                                                     ; +0x304, 0x140408e14\njmp     short loc_140408E25                                            ; +0x309, 0x140408e19\nmov     eax, 258h                                                      ; +0x30b, 0x140408e1b\ncmp     edi, eax                                                       ; +0x310, 0x140408e20\ncmovl   edi, eax                                                       ; +0x312, 0x140408e22\nmov     rax, [rbx+878h]                                                ; +0x315, 0x140408e25\nmovd    xmm0, dword ptr [rax+2D4h]                                     ; +0x31c, 0x140408e2c\ncvtdq2pd xmm0, xmm0                                                    ; +0x324, 0x140408e34\naddsd   xmm0, qword ptr [rbx+3C20h]                                    ; +0x328, 0x140408e38\ncvtpd2ps xmm1, xmm0                                                    ; +0x330, 0x140408e40\nmov     ecx, [rax+658h]                                                ; +0x334, 0x140408e44\ntest    ecx, ecx                                                       ; +0x33a, 0x140408e4a\njle     short loc_140408E60                                            ; +0x33c, 0x140408e4c\nmovd    xmm0, ecx                                                      ; +0x33e, 0x140408e4e\ncvtdq2ps xmm0, xmm0                                                    ; +0x342, 0x140408e52\ncomiss  xmm0, xmm1                                                     ; +0x345, 0x140408e55\nja      short loc_140408E60                                            ; +0x348, 0x140408e58\ncvttss2si esi, xmm1                                                    ; +0x34a, 0x140408e5a\njmp     short loc_140408E6A                                            ; +0x34e, 0x140408e5e\ncvttss2si esi, xmm1                                                    ; +0x350, 0x140408e60\nmov     [rax+658h], esi                                                ; +0x354, 0x140408e64\nmov     rax, [rbx+878h]                                                ; +0x35a, 0x140408e6a\nmovd    xmm0, dword ptr [rax+658h]                                     ; +0x361, 0x140408e71\ncvtdq2ps xmm0, xmm0                                                    ; +0x369, 0x140408e79\nsubss   xmm1, xmm0                                                     ; +0x36c, 0x140408e7c\nmovd    xmm0, edi                                                      ; +0x370, 0x140408e80\ncvtdq2ps xmm0, xmm0                                                    ; +0x374, 0x140408e84\ncomiss  xmm1, xmm0                                                     ; +0x377, 0x140408e87\njb      short loc_140408EAD                                            ; +0x37a, 0x140408e8a\nmov     rcx, rbx                                                       ; +0x37c, 0x140408e8c\ncall    LevelEditorLayer__canAutoSave                                  ; +0x37f, 0x140408e8f\ntest    al, al                                                         ; +0x384, 0x140408e94\njz      short loc_140408EAD                                            ; +0x386, 0x140408e96\nmov     rax, [rbx+878h]                                                ; +0x388, 0x140408e98\nmov     [rax+658h], esi                                                ; +0x38f, 0x140408e9f\nmov     rcx, rbx                                                       ; +0x395, 0x140408ea5\ncall    LevelEditorLayer__doAutoBackup                                 ; +0x398, 0x140408ea8\nmov     rcx, [rbp+var_18]                                              ; +0x39d, 0x140408ead\nxor     rcx, rsp; StackCookie                                          ; +0x3a1, 0x140408eb1\ncall    __security_check_cookie                                        ; +0x3a4, 0x140408eb4\nlea     r11, [rsp+70h+var_s0]                                          ; +0x3a9, 0x140408eb9\nmov     rbx, [r11+18h]                                                 ; +0x3ae, 0x140408ebe\nmov     rsi, [r11+20h]                                                 ; +0x3b2, 0x140408ec2\nmov     rdi, [r11+28h]                                                 ; +0x3b6, 0x140408ec6\nmovaps  xmm6, [rsp+70h+var_10]                                         ; +0x3ba, 0x140408eca\nmov     rsp, r11                                                       ; +0x3bf, 0x140408ecf\npop     rbp                                                            ; +0x3c2, 0x140408ed2\nretn                                                                   ; +0x3c3, 0x140408ed3", "xrefs": ["LevelEditorLayer::updateEditor @ 0x1403f62dc", "<???> @ 0x140925c28"], "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"}