{"type": "func", "start": 5372862208, "end": 5372863397, "name": "LevelEditorLayer::updateEditor", "pseudocode": "// \n// LevelEditorLayer::updateEditor from 0x1403f5f00 to 0x1403f63a5 (1189 bytes)\n// \n// 4 xrefs:\n// > LevelEditorLayer::init @ 0x1403eede8\n// > <???> @ 0x1408c5f98\n// > <???> @ 0x1408c5fa8\n// > <???> @ 0x140925538\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:49 +0000\n// \n\nvoid __fastcall LevelEditorLayer::updateEditor(__int64 a1, float a2)\n{\n  double v2; // xmm0_8\n  float v3; // xmm7_4\n  __int64 v5; // rax\n  __int64 v6; // rax\n  int v7; // edx\n  int v8; // ecx\n  bool v9; // al\n  __int64 v10; // rax\n  __int64 v11; // rcx\n  __int64 v12; // rax\n  float v13; // xmm1_4\n  __int64 v14; // rdx\n  __int64 v15; // rdx\n  float v16; // xmm0_4\n  bool v17; // zf\n  __int64 v18; // rcx\n  __int64 v19; // rcx\n  __int64 v20; // rax\n  float v21; // xmm6_4\n  __int64 v22; // rax\n  __int64 v23; // rax\n  __int64 v24; // rax\n  __int64 *v25; // r14\n  __int64 v26; // rdi\n  __int64 v27; // rbx\n  unsigned int v28; // eax\n  _BYTE v29[8]; // [rsp+20h] [rbp-68h] BYREF\n  _BYTE v30[8]; // [rsp+28h] [rbp-60h] BYREF\n  struct __timeb64 Time; // [rsp+30h] [rbp-58h] BYREF\n\n  v3 = a2;\n  if ( *(_QWORD *)(a1 + 14904) )\n  {\n    ++*(_DWORD *)(a1 + 15440);\n    v5 = cocos2d::CCDirector::sharedDirector(a1);\n    v6 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v5 + 144LL))(v5);\n    v7 = *(_DWORD *)(a1 + 15400);\n    v8 = *(_DWORD *)(v6 + 124);\n    if ( v7 != -1 && *(_DWORD *)(a1 + 2204) != 1 )\n      *(_DWORD *)(a1 + 15444) += v8 - v7;\n    *(_DWORD *)(a1 + 15400) = v8;\n  }\n  if ( *(_BYTE *)(a1 + 15666) )\n  {\n    ++*(_DWORD *)(a1 + 15668);\n    *(_BYTE *)(a1 + 15666) = 0;\n  }\n  v9 = *(_DWORD *)(a1 + 2204) == 1;\n  *(_BYTE *)(a1 + 13144) = v9;\n  if ( v9 )\n  {\n    v10 = *(_QWORD *)a1;\n    *(float *)(a1 + 15436) = a2 + *(float *)(a1 + 15436);\n    (*(void (__fastcall **)(__int64))(v10 + 32))(a1);\n    (*(void (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 14944) + 32LL))(*(_QWORD *)(a1 + 14944));\nLABEL_36:\n    v24 = *(_QWORD *)(a1 + 12896);\n    if ( v24 && *(_BYTE *)(v24 + 1126) )\n      v25 = *(__int64 **)(a1 + 4312);\n    else\n      v25 = *(__int64 **)(a1 + 4296);\n    if ( (__int64 *)(*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 14944) + 504LL))(*(_QWORD *)(a1 + 14944)) != v25 )\n    {\n      cocos2d::CCObject::retain(*(cocos2d::CCObject **)(a1 + 14944));\n      (*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(a1 + 14944) + 520LL))(*(_QWORD *)(a1 + 14944), 0);\n      v26 = *v25;\n      v27 = *(_QWORD *)(a1 + 14944);\n      v28 = (*(__int64 (**)(void))(*(_QWORD *)v27 + 96LL))();\n      (*(void (__fastcall **)(__int64 *, __int64, _QWORD))(v26 + 456))(v25, v27, v28);\n      cocos2d::CCObject::release(*(cocos2d::CCObject **)(a1 + 14944));\n    }\n    return;\n  }\n  if ( *(int *)(a1 + 13220) <= 0 && *(_BYTE *)(a1 + 14438) )\n  {\n    GJBaseGameLayer::resumeAudio();\n    *(_BYTE *)(a1 + 14438) = 0;\n  }\n  if ( *(_BYTE *)(a1 + 15664) )\n  {\n    GJBaseGameLayer::getModifiedDelta(a1, a2);\n    v3 = v2;\n  }\n  else\n  {\n    *(_QWORD *)(a1 + 13136) = 0;\n  }\n  if ( v3 > 0.0 )\n  {\n    *(double *)(a1 + 968) = v3 + *(double *)(a1 + 968);\n    ftime64(&Time);\n    v12 = cocos2d::CCDirector::sharedDirector(v11);\n    v13 = (double)Time.millitm / 1000.0 + (double)SLODWORD(Time.time) - *(double *)(v12 + 152);\n    if ( v13 < 10.0 )\n      *(double *)(a1 + 15392) = v3 + *(double *)(a1 + 15392);\n    *(_DWORD *)(a1 + 788) = 1036831949;\n    *(_DWORD *)(a1 + 792) = 1036831949;\n    LevelEditorLayer::updateGameObjects(a1);\n    (*(void (__fastcall **)(__int64))(*(_QWORD *)a1 + 1072LL))(a1);\n    LevelEditorLayer::updateGridLayerParent(a1);\n    if ( (*(unsigned int (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 4280) + 488LL))(*(_QWORD *)(a1 + 4280)) > 1\n      || (*(unsigned int (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 4304) + 488LL))(*(_QWORD *)(a1 + 4304)) )\n    {\n      LOBYTE(v14) = 1;\n    }\n    else\n    {\n      v14 = 0;\n    }\n    (*(void (__fastcall **)(_QWORD, __int64))(**(_QWORD **)(a1 + 4280) + 336LL))(*(_QWORD *)(a1 + 4280), v14);\n    if ( (*(unsigned int (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 4288) + 488LL))(*(_QWORD *)(a1 + 4288)) > 1\n      || (*(unsigned int (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 4312) + 488LL))(*(_QWORD *)(a1 + 4312)) )\n    {\n      LOBYTE(v15) = 1;\n    }\n    else\n    {\n      v15 = 0;\n    }\n    (*(void (__fastcall **)(_QWORD, __int64))(**(_QWORD **)(a1 + 4288) + 336LL))(*(_QWORD *)(a1 + 4288), v15);\n    GJBaseGameLayer::updateGradientLayers(a1);\n    GJBaseGameLayer::updateExtraGameLayers((_QWORD **)a1);\n    (*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(a1 + 4344) + 336LL))(*(_QWORD *)(a1 + 4344), 0);\n    v16 = (*(float (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 4296) + 168LL))(*(_QWORD *)(a1 + 4296));\n    v17 = *(_QWORD *)(a1 + 2176) == 0;\n    *(float *)(a1 + 424) = v16;\n    if ( !v17 || *(_QWORD *)(a1 + 2184) )\n    {\n      GJBaseGameLayer::syncDeathMarkerFlip(a1);\n      sub_1403F59C0((cocos2d::CCRect *)&Time, *(_QWORD *)(a1 + 4296));\n      v18 = *(_QWORD *)(a1 + 2176);\n      if ( v18 )\n        DeathMarkerLayer::updateVisibility(v18, (float *)&Time);\n      v19 = *(_QWORD *)(a1 + 2184);\n      if ( v19 )\n        DeathMarkerLayer::updateVisibility(v19, (float *)&Time);\n    }\n    v20 = (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 4296) + 200LL))(*(_QWORD *)(a1 + 4296));\n    cocos2d::CCPoint::operator-(v20, v30, &unk_14090AF28);\n    cocos2d::CCPoint::operator*(v30, &Time);\n    cocos2d::CCPoint::operator-(a1 + 1292, v29, &Time);\n    if ( *(float *)(a1 + 424) != *(float *)(a1 + 752) )\n      cocos2d::CCPoint::operator=(v29, a1 + 1292);\n    v21 = *(float *)(a1 + 424);\n    cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&Time, (const struct cocos2d::CCPoint *)v29);\n    GJBaseGameLayer::updateCameraBGArt(a1, v22, v21);\n    *(_DWORD *)(a1 + 752) = *(_DWORD *)(a1 + 424);\n    cocos2d::CCPoint::operator=(a1 + 1292, v29);\n    v23 = (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 4296) + 200LL))(*(_QWORD *)(a1 + 4296));\n    cocos2d::CCPoint::operator=(&unk_14090AF28, v23);\n    (*(void (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 14944) + 32LL))(*(_QWORD *)(a1 + 14944));\n    LevelEditorLayer::checkAutoSave(a1);\n    goto LABEL_36;\n  }\n}", "assembly": "; \n; LevelEditorLayer::updateEditor from 0x1403f5f00 to 0x1403f63a5 (1189 bytes)\n; \n; 4 xrefs:\n; > LevelEditorLayer::init @ 0x1403eede8\n; > <???> @ 0x1408c5f98\n; > <???> @ 0x1408c5fa8\n; > <???> @ 0x140925538\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:49 +0000\n; \npush    rsi                                                            ; +0x0, 0x1403f5f00\nsub     rsp, 80h                                                       ; +0x2, 0x1403f5f02\nmovaps  [rsp+88h+var_38], xmm7                                         ; +0x9, 0x1403f5f09\nmov     rax, cs:__security_cookie                                      ; +0xe, 0x1403f5f0e\nxor     rax, rsp                                                       ; +0x15, 0x1403f5f15\nmov     [rsp+88h+var_48], rax                                          ; +0x18, 0x1403f5f18\ncmp     qword ptr [rcx+3A38h], 0                                       ; +0x1d, 0x1403f5f1d\nmovaps  xmm7, xmm1                                                     ; +0x25, 0x1403f5f25\nmov     rsi, rcx                                                       ; +0x28, 0x1403f5f28\njz      short loc_1403F5F6C                                            ; +0x2b, 0x1403f5f2b\ninc     dword ptr [rcx+3C50h]                                          ; +0x2d, 0x1403f5f2d\ncall    cs:?sharedDirector@CCDirector@cocos2d@@SAPEAV12@XZ; cocos2d::CCDirector::sharedDirector(void) ; +0x33, 0x1403f5f33\nmov     rcx, rax                                                       ; +0x39, 0x1403f5f39\nmov     rdx, [rax]                                                     ; +0x3c, 0x1403f5f3c\ncall    qword ptr [rdx+90h]                                            ; +0x3f, 0x1403f5f3f\nmov     edx, [rsi+3C28h]                                               ; +0x45, 0x1403f5f45\nmov     ecx, [rax+7Ch]                                                 ; +0x4b, 0x1403f5f4b\ncmp     edx, 0FFFFFFFFh                                                ; +0x4e, 0x1403f5f4e\njz      short loc_1403F5F66                                            ; +0x51, 0x1403f5f51\ncmp     dword ptr [rsi+89Ch], 1                                        ; +0x53, 0x1403f5f53\njz      short loc_1403F5F66                                            ; +0x5a, 0x1403f5f5a\nmov     eax, ecx                                                       ; +0x5c, 0x1403f5f5c\nsub     eax, edx                                                       ; +0x5e, 0x1403f5f5e\nadd     [rsi+3C54h], eax                                               ; +0x60, 0x1403f5f60\nmov     [rsi+3C28h], ecx                                               ; +0x66, 0x1403f5f66\ncmp     byte ptr [rsi+3D32h], 0                                        ; +0x6c, 0x1403f5f6c\njz      short loc_1403F5F82                                            ; +0x73, 0x1403f5f73\ninc     dword ptr [rsi+3D34h]                                          ; +0x75, 0x1403f5f75\nmov     byte ptr [rsi+3D32h], 0                                        ; +0x7b, 0x1403f5f7b\ncmp     dword ptr [rsi+89Ch], 1                                        ; +0x82, 0x1403f5f82\nmov     [rsp+88h+arg_10], rbx                                          ; +0x89, 0x1403f5f89\nsetz    al                                                             ; +0x91, 0x1403f5f91\nmov     [rsi+3358h], al                                                ; +0x94, 0x1403f5f94\njnz     short loc_1403F5FD0                                            ; +0x9a, 0x1403f5f9a\nmov     rax, [rsi]                                                     ; +0x9c, 0x1403f5f9c\nmovaps  xmm0, xmm7                                                     ; +0x9f, 0x1403f5f9f\naddss   xmm0, dword ptr [rsi+3C4Ch]                                    ; +0xa2, 0x1403f5fa2\nmovaps  xmm1, xmm7                                                     ; +0xaa, 0x1403f5faa\nmov     rcx, rsi                                                       ; +0xad, 0x1403f5fad\nmovss   dword ptr [rsi+3C4Ch], xmm0                                    ; +0xb0, 0x1403f5fb0\ncall    qword ptr [rax+20h]                                            ; +0xb8, 0x1403f5fb8\nmov     rcx, [rsi+3A60h]                                               ; +0xbb, 0x1403f5fbb\nmovaps  xmm1, xmm7                                                     ; +0xc2, 0x1403f5fc2\nmov     rax, [rcx]                                                     ; +0xc5, 0x1403f5fc5\ncall    qword ptr [rax+20h]                                            ; +0xc8, 0x1403f5fc8\njmp     loc_1403F62E6                                                  ; +0xcb, 0x1403f5fcb\ncmp     dword ptr [rsi+33A4h], 0                                       ; +0xd0, 0x1403f5fd0\njg      short loc_1403F5FEE                                            ; +0xd7, 0x1403f5fd7\ncmp     byte ptr [rsi+3866h], 0                                        ; +0xd9, 0x1403f5fd9\njz      short loc_1403F5FEE                                            ; +0xe0, 0x1403f5fe0\ncall    GJBaseGameLayer__resumeAudio                                   ; +0xe2, 0x1403f5fe2\nmov     byte ptr [rsi+3866h], 0                                        ; +0xe7, 0x1403f5fe7\ncmp     byte ptr [rsi+3D30h], 0                                        ; +0xee, 0x1403f5fee\njz      short loc_1403F600B                                            ; +0xf5, 0x1403f5ff5\nmovaps  xmm1, xmm7                                                     ; +0xf7, 0x1403f5ff7\nmov     rcx, rsi                                                       ; +0xfa, 0x1403f5ffa\ncall    GJBaseGameLayer__getModifiedDelta                              ; +0xfd, 0x1403f5ffd\nxorps   xmm7, xmm7                                                     ; +0x102, 0x1403f6002\ncvtsd2ss xmm7, xmm0                                                    ; +0x105, 0x1403f6005\njmp     short loc_1403F6016                                            ; +0x109, 0x1403f6009\nmov     qword ptr [rsi+3350h], 0                                       ; +0x10b, 0x1403f600b\nxorps   xmm0, xmm0                                                     ; +0x116, 0x1403f6016\ncomiss  xmm0, xmm7                                                     ; +0x119, 0x1403f6019\njnb     loc_1403F6382                                                  ; +0x11c, 0x1403f601c\nmovaps  [rsp+88h+var_28], xmm6                                         ; +0x122, 0x1403f6022\nlea     rcx, [rsp+88h+Time]; Time                                      ; +0x127, 0x1403f6027\nxorps   xmm6, xmm6                                                     ; +0x12c, 0x1403f602c\ncvtss2sd xmm6, xmm7                                                    ; +0x12f, 0x1403f602f\nmovaps  xmm0, xmm6                                                     ; +0x133, 0x1403f6033\naddsd   xmm0, qword ptr [rsi+3C8h]                                     ; +0x136, 0x1403f6036\nmovsd   qword ptr [rsi+3C8h], xmm0                                     ; +0x13e, 0x1403f603e\ncall    cs:_ftime64                                                    ; +0x146, 0x1403f6046\ncall    cs:?sharedDirector@CCDirector@cocos2d@@SAPEAV12@XZ; cocos2d::CCDirector::sharedDirector(void) ; +0x14c, 0x1403f604c\nmovzx   ecx, [rsp+88h+Time.millitm]                                    ; +0x152, 0x1403f6052\nxorps   xmm1, xmm1                                                     ; +0x157, 0x1403f6057\nxorps   xmm0, xmm0                                                     ; +0x15a, 0x1403f605a\ncvtsi2sd xmm0, [rsp+88h+Time.time]                                     ; +0x15d, 0x1403f605d\ncvtsi2sd xmm1, ecx                                                     ; +0x164, 0x1403f6064\ndivsd   xmm1, cs:qword_140835460                                       ; +0x168, 0x1403f6068\naddsd   xmm1, xmm0                                                     ; +0x170, 0x1403f6070\nmovss   xmm0, cs:flt_1408354EC                                         ; +0x174, 0x1403f6074\nsubsd   xmm1, qword ptr [rax+98h]                                      ; +0x17c, 0x1403f607c\ncvtpd2ps xmm1, xmm1                                                    ; +0x184, 0x1403f6084\ncomiss  xmm0, xmm1                                                     ; +0x188, 0x1403f6088\njbe     short loc_1403F609D                                            ; +0x18b, 0x1403f608b\naddsd   xmm6, qword ptr [rsi+3C20h]                                    ; +0x18d, 0x1403f608d\nmovsd   qword ptr [rsi+3C20h], xmm6                                    ; +0x195, 0x1403f6095\nmov     rcx, rsi                                                       ; +0x19d, 0x1403f609d\nmov     dword ptr [rsi+314h], 3DCCCCCDh                                ; +0x1a0, 0x1403f60a0\nmov     dword ptr [rsi+318h], 3DCCCCCDh                                ; +0x1aa, 0x1403f60aa\ncall    LevelEditorLayer__updateGameObjects                            ; +0x1b4, 0x1403f60b4\nmov     rax, [rsi]                                                     ; +0x1b9, 0x1403f60b9\nmovaps  xmm1, xmm7                                                     ; +0x1bc, 0x1403f60bc\nmov     rcx, rsi                                                       ; +0x1bf, 0x1403f60bf\ncall    qword ptr [rax+430h]                                           ; +0x1c2, 0x1403f60c2\nmov     rcx, rsi                                                       ; +0x1c8, 0x1403f60c8\ncall    LevelEditorLayer__updateGridLayerParent                        ; +0x1cb, 0x1403f60cb\nmov     rcx, [rsi+10B8h]                                               ; +0x1d0, 0x1403f60d0\nmov     rax, [rcx]                                                     ; +0x1d7, 0x1403f60d7\ncall    qword ptr [rax+1E8h]                                           ; +0x1da, 0x1403f60da\ncmp     eax, 1                                                         ; +0x1e0, 0x1403f60e0\nja      short loc_1403F60FD                                            ; +0x1e3, 0x1403f60e3\nmov     rcx, [rsi+10D0h]                                               ; +0x1e5, 0x1403f60e5\nmov     rax, [rcx]                                                     ; +0x1ec, 0x1403f60ec\ncall    qword ptr [rax+1E8h]                                           ; +0x1ef, 0x1403f60ef\ntest    eax, eax                                                       ; +0x1f5, 0x1403f60f5\njnz     short loc_1403F60FD                                            ; +0x1f7, 0x1403f60f7\nxor     edx, edx                                                       ; +0x1f9, 0x1403f60f9\njmp     short loc_1403F60FF                                            ; +0x1fb, 0x1403f60fb\nmov     dl, 1                                                          ; +0x1fd, 0x1403f60fd\nmov     rcx, [rsi+10B8h]                                               ; +0x1ff, 0x1403f60ff\nmov     rax, [rcx]                                                     ; +0x206, 0x1403f6106\ncall    qword ptr [rax+150h]                                           ; +0x209, 0x1403f6109\nmov     rcx, [rsi+10C0h]                                               ; +0x20f, 0x1403f610f\nmov     rax, [rcx]                                                     ; +0x216, 0x1403f6116\ncall    qword ptr [rax+1E8h]                                           ; +0x219, 0x1403f6119\ncmp     eax, 1                                                         ; +0x21f, 0x1403f611f\nja      short loc_1403F613C                                            ; +0x222, 0x1403f6122\nmov     rcx, [rsi+10D8h]                                               ; +0x224, 0x1403f6124\nmov     rax, [rcx]                                                     ; +0x22b, 0x1403f612b\ncall    qword ptr [rax+1E8h]                                           ; +0x22e, 0x1403f612e\ntest    eax, eax                                                       ; +0x234, 0x1403f6134\njnz     short loc_1403F613C                                            ; +0x236, 0x1403f6136\nxor     edx, edx                                                       ; +0x238, 0x1403f6138\njmp     short loc_1403F613E                                            ; +0x23a, 0x1403f613a\nmov     dl, 1                                                          ; +0x23c, 0x1403f613c\nmov     rcx, [rsi+10C0h]                                               ; +0x23e, 0x1403f613e\nmov     rax, [rcx]                                                     ; +0x245, 0x1403f6145\ncall    qword ptr [rax+150h]                                           ; +0x248, 0x1403f6148\nmov     rcx, rsi                                                       ; +0x24e, 0x1403f614e\ncall    GJBaseGameLayer__updateGradientLayers                          ; +0x251, 0x1403f6151\nmov     rcx, rsi                                                       ; +0x256, 0x1403f6156\ncall    GJBaseGameLayer__updateExtraGameLayers                         ; +0x259, 0x1403f6159\nmov     rcx, [rsi+10F8h]                                               ; +0x25e, 0x1403f615e\nxor     edx, edx                                                       ; +0x265, 0x1403f6165\nmov     rax, [rcx]                                                     ; +0x267, 0x1403f6167\ncall    qword ptr [rax+150h]                                           ; +0x26a, 0x1403f616a\nmov     rcx, [rsi+10C8h]                                               ; +0x270, 0x1403f6170\nmov     rax, [rcx]                                                     ; +0x277, 0x1403f6177\ncall    qword ptr [rax+0A8h]                                           ; +0x27a, 0x1403f617a\ncmp     qword ptr [rsi+880h], 0                                        ; +0x280, 0x1403f6180\nmovss   dword ptr [rsi+1A8h], xmm0                                     ; +0x288, 0x1403f6188\njnz     short loc_1403F619C                                            ; +0x290, 0x1403f6190\ncmp     qword ptr [rsi+888h], 0                                        ; +0x292, 0x1403f6192\njz      short loc_1403F61E1                                            ; +0x29a, 0x1403f619a\nmov     rcx, rsi                                                       ; +0x29c, 0x1403f619c\ncall    GJBaseGameLayer__syncDeathMarkerFlip                           ; +0x29f, 0x1403f619f\nmov     rdx, [rsi+10C8h]                                               ; +0x2a4, 0x1403f61a4\nlea     rcx, [rsp+88h+Time]                                            ; +0x2ab, 0x1403f61ab\ncall    sub_1403F59C0                                                  ; +0x2b0, 0x1403f61b0\nmov     rcx, [rsi+880h]                                                ; +0x2b5, 0x1403f61b5\ntest    rcx, rcx                                                       ; +0x2bc, 0x1403f61bc\njz      short loc_1403F61CB                                            ; +0x2bf, 0x1403f61bf\nlea     rdx, [rsp+88h+Time]                                            ; +0x2c1, 0x1403f61c1\ncall    DeathMarkerLayer__updateVisibility                             ; +0x2c6, 0x1403f61c6\nmov     rcx, [rsi+888h]                                                ; +0x2cb, 0x1403f61cb\ntest    rcx, rcx                                                       ; +0x2d2, 0x1403f61d2\njz      short loc_1403F61E1                                            ; +0x2d5, 0x1403f61d5\nlea     rdx, [rsp+88h+Time]                                            ; +0x2d7, 0x1403f61d7\ncall    DeathMarkerLayer__updateVisibility                             ; +0x2dc, 0x1403f61dc\nmov     rcx, [rsi+10C8h]                                               ; +0x2e1, 0x1403f61e1\nmov     rax, [rcx]                                                     ; +0x2e8, 0x1403f61e8\ncall    qword ptr [rax+0C8h]                                           ; +0x2eb, 0x1403f61eb\nmov     rcx, rax                                                       ; +0x2f1, 0x1403f61f1\nlea     r8, unk_14090AF28                                              ; +0x2f4, 0x1403f61f4\nlea     rdx, [rsp+88h+var_60]                                          ; +0x2fb, 0x1403f61fb\ncall    cs:??GCCPoint@cocos2d@@QEBA?AV01@AEBV01@@Z; cocos2d::CCPoint::operator-(cocos2d::CCPoint const &) ; +0x300, 0x1403f6200\nmovss   xmm2, cs:flt_140835080                                         ; +0x306, 0x1403f6206\nlea     rdx, [rsp+88h+Time]                                            ; +0x30e, 0x1403f620e\ndivss   xmm2, dword ptr [rsi+1A8h]                                     ; +0x313, 0x1403f6213\nlea     rcx, [rsp+88h+var_60]                                          ; +0x31b, 0x1403f621b\ncall    cs:??DCCPoint@cocos2d@@QEBA?AV01@M@Z; cocos2d::CCPoint::operator*(float) ; +0x320, 0x1403f6220\nlea     r8, [rsp+88h+Time]                                             ; +0x326, 0x1403f6226\nlea     rdx, [rsp+88h+var_68]                                          ; +0x32b, 0x1403f622b\nlea     rcx, [rsi+50Ch]                                                ; +0x330, 0x1403f6230\ncall    cs:??GCCPoint@cocos2d@@QEBA?AV01@AEBV01@@Z; cocos2d::CCPoint::operator-(cocos2d::CCPoint const &) ; +0x337, 0x1403f6237\nmovss   xmm0, dword ptr [rsi+1A8h]                                     ; +0x33d, 0x1403f623d\nucomiss xmm0, dword ptr [rsi+2F0h]                                     ; +0x345, 0x1403f6245\njp      short loc_1403F6250                                            ; +0x34c, 0x1403f624c\njz      short loc_1403F6262                                            ; +0x34e, 0x1403f624e\nlea     rdx, [rsi+50Ch]                                                ; +0x350, 0x1403f6250\nlea     rcx, [rsp+88h+var_68]                                          ; +0x357, 0x1403f6257\ncall    cs:??4CCPoint@cocos2d@@QEAAAEAV01@AEBV01@@Z; cocos2d::CCPoint::operator=(cocos2d::CCPoint const &) ; +0x35c, 0x1403f625c\nmovss   xmm6, dword ptr [rsi+1A8h]                                     ; +0x362, 0x1403f6262\nlea     rdx, [rsp+88h+var_68]                                          ; +0x36a, 0x1403f626a\nlea     rcx, [rsp+88h+Time]                                            ; +0x36f, 0x1403f626f\ncall    cs:??0CCPoint@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const &) ; +0x374, 0x1403f6274\nmovaps  xmm2, xmm6                                                     ; +0x37a, 0x1403f627a\nmov     rcx, rsi                                                       ; +0x37d, 0x1403f627d\nmov     rdx, rax                                                       ; +0x380, 0x1403f6280\ncall    GJBaseGameLayer__updateCameraBGArt                             ; +0x383, 0x1403f6283\nmov     eax, [rsi+1A8h]                                                ; +0x388, 0x1403f6288\nlea     rdx, [rsp+88h+var_68]                                          ; +0x38e, 0x1403f628e\nlea     rcx, [rsi+50Ch]                                                ; +0x393, 0x1403f6293\nmov     [rsi+2F0h], eax                                                ; +0x39a, 0x1403f629a\ncall    cs:??4CCPoint@cocos2d@@QEAAAEAV01@AEBV01@@Z; cocos2d::CCPoint::operator=(cocos2d::CCPoint const &) ; +0x3a0, 0x1403f62a0\nmov     rcx, [rsi+10C8h]                                               ; +0x3a6, 0x1403f62a6\nmov     rax, [rcx]                                                     ; +0x3ad, 0x1403f62ad\ncall    qword ptr [rax+0C8h]                                           ; +0x3b0, 0x1403f62b0\nmov     rdx, rax                                                       ; +0x3b6, 0x1403f62b6\nlea     rcx, unk_14090AF28                                             ; +0x3b9, 0x1403f62b9\ncall    cs:??4CCPoint@cocos2d@@QEAAAEAV01@AEBV01@@Z; cocos2d::CCPoint::operator=(cocos2d::CCPoint const &) ; +0x3c0, 0x1403f62c0\nmov     rcx, [rsi+3A60h]                                               ; +0x3c6, 0x1403f62c6\nmovaps  xmm1, xmm7                                                     ; +0x3cd, 0x1403f62cd\nmov     rax, [rcx]                                                     ; +0x3d0, 0x1403f62d0\ncall    qword ptr [rax+20h]                                            ; +0x3d3, 0x1403f62d3\nmovaps  xmm1, xmm7                                                     ; +0x3d6, 0x1403f62d6\nmov     rcx, rsi                                                       ; +0x3d9, 0x1403f62d9\ncall    LevelEditorLayer__checkAutoSave                                ; +0x3dc, 0x1403f62dc\nmovaps  xmm6, [rsp+88h+var_28]                                         ; +0x3e1, 0x1403f62e1\nmov     rax, [rsi+3260h]                                               ; +0x3e6, 0x1403f62e6\nmov     [rsp+88h+var_18], r14                                          ; +0x3ed, 0x1403f62ed\ntest    rax, rax                                                       ; +0x3f2, 0x1403f62f2\njz      short loc_1403F6309                                            ; +0x3f5, 0x1403f62f5\ncmp     byte ptr [rax+466h], 0                                         ; +0x3f7, 0x1403f62f7\njz      short loc_1403F6309                                            ; +0x3fe, 0x1403f62fe\nmov     r14, [rsi+10D8h]                                               ; +0x400, 0x1403f6300\njmp     short loc_1403F6310                                            ; +0x407, 0x1403f6307\nmov     r14, [rsi+10C8h]                                               ; +0x409, 0x1403f6309\nmov     rcx, [rsi+3A60h]                                               ; +0x410, 0x1403f6310\nmov     rax, [rcx]                                                     ; +0x417, 0x1403f6317\ncall    qword ptr [rax+1F8h]                                           ; +0x41a, 0x1403f631a\ncmp     rax, r14                                                       ; +0x420, 0x1403f6320\njz      short loc_1403F637D                                            ; +0x423, 0x1403f6323\nmov     rcx, [rsi+3A60h]                                               ; +0x425, 0x1403f6325\nmov     [rsp+88h+var_10], rdi                                          ; +0x42c, 0x1403f632c\ncall    cs:?retain@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::retain(void) ; +0x431, 0x1403f6331\nmov     rcx, [rsi+3A60h]                                               ; +0x437, 0x1403f6337\nxor     edx, edx                                                       ; +0x43e, 0x1403f633e\nmov     rax, [rcx]                                                     ; +0x440, 0x1403f6340\ncall    qword ptr [rax+208h]                                           ; +0x443, 0x1403f6343\nmov     rcx, [rsi+3A60h]                                               ; +0x449, 0x1403f6349\nmov     rdi, [r14]                                                     ; +0x450, 0x1403f6350\nmov     rbx, rcx                                                       ; +0x453, 0x1403f6353\nmov     rax, [rcx]                                                     ; +0x456, 0x1403f6356\ncall    qword ptr [rax+60h]                                            ; +0x459, 0x1403f6359\nmov     rdx, rbx                                                       ; +0x45c, 0x1403f635c\nmov     rcx, r14                                                       ; +0x45f, 0x1403f635f\nmov     r8d, eax                                                       ; +0x462, 0x1403f6362\ncall    qword ptr [rdi+1C8h]                                           ; +0x465, 0x1403f6365\nmov     rcx, [rsi+3A60h]                                               ; +0x46b, 0x1403f636b\ncall    cs:?release@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::release(void) ; +0x472, 0x1403f6372\nmov     rdi, [rsp+88h+var_10]                                          ; +0x478, 0x1403f6378\nmov     r14, [rsp+88h+var_18]                                          ; +0x47d, 0x1403f637d\nmov     rbx, [rsp+88h+arg_10]                                          ; +0x482, 0x1403f6382\nmov     rcx, [rsp+88h+var_48]                                          ; +0x48a, 0x1403f638a\nxor     rcx, rsp; StackCookie                                          ; +0x48f, 0x1403f638f\ncall    __security_check_cookie                                        ; +0x492, 0x1403f6392\nmovaps  xmm7, [rsp+88h+var_38]                                         ; +0x497, 0x1403f6397\nadd     rsp, 80h                                                       ; +0x49c, 0x1403f639c\npop     rsi                                                            ; +0x4a3, 0x1403f63a3\nretn                                                                   ; +0x4a4, 0x1403f63a4", "xrefs": ["LevelEditorLayer::init @ 0x1403eede8", "<???> @ 0x1408c5f98", "<???> @ 0x1408c5fa8", "<???> @ 0x140925538"], "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"}