{"type": "func", "start": 5372523216, "end": 5372524604, "name": "PlayerObject::tryPlaceCheckpoint", "pseudocode": "// \n// PlayerObject::tryPlaceCheckpoint from 0x1403a32d0 to 0x1403a383c (1388 bytes)\n// \n// 3 xrefs:\n// > GJBaseGameLayer::update @ 0x140238b01\n// > GJBaseGameLayer::update @ 0x140238b5a\n// > <???> @ 0x1406d6998\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\n// Hidden C++ exception states: #wind=14\nvoid PlayerObject::tryPlaceCheckpoint(PlayerObject *a1)\n{\n  GameManager *v2; // rcx\n  PlayLayer *m_playLayer; // rax\n  __int64 v4; // rax\n  __int64 v5; // rdi\n  struct cocos2d::CCObject *v6; // rdi\n  __int64 v7; // rax\n  int v8; // ecx\n  int v9; // edi\n  __int64 v10; // rcx\n  __int64 v11; // rax\n  __int64 v12; // rdi\n  struct cocos2d::CCObject *Object; // rdi\n  __int64 v14; // rax\n  int v15; // edi\n  __int64 v16; // rax\n  __int64 v17; // rbp\n  struct cocos2d::CCObject *v18; // rbp\n  int v19; // eax\n  CheckpointObject *Checkpoint; // rax\n  CheckpointObject *m_pendingCheckpoint; // rdx\n  PlayLayer *v22; // rcx\n  void *v23; // [rsp+20h] [rbp-28h]\n  void *v24; // [rsp+20h] [rbp-28h]\n  void *v25; // [rsp+20h] [rbp-28h]\n  void *v26; // [rsp+20h] [rbp-28h]\n  void *v27; // [rsp+20h] [rbp-28h]\n  void *v28; // [rsp+20h] [rbp-28h]\n  void *v29; // [rsp+20h] [rbp-28h]\n  void *v30; // [rsp+20h] [rbp-28h]\n  void *v31; // [rsp+20h] [rbp-28h]\n  void *v32; // [rsp+20h] [rbp-28h]\n  struct __timeb64 Time; // [rsp+28h] [rbp-20h] BYREF\n\n  v2 = (GameManager *)qword_1406C2ED8;\n  if ( !qword_1406C2ED8 )\n  {\n    v23 = operator new(0x668u);\n    qword_1406C2ED8 = sub_14017AB00((__int64)v23);\n    (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2ED8 + 72LL))(qword_1406C2ED8);\n    v2 = (GameManager *)qword_1406C2ED8;\n  }\n  m_playLayer = v2->m_playLayer;\n  if ( m_playLayer && m_playLayer->m_isPracticeMode && GameManager::getGameVariable(v2, \"0027\") && a1->m_uniqueID == 1 )\n  {\n    if ( a1->m_isShip || a1->m_isBird || a1->m_isDart || a1->m_isSwing )\n    {\n      if ( a1->m_isPlatformer )\n      {\n        v11 = qword_1406C2ED8;\n        if ( !qword_1406C2ED8 )\n        {\n          v26 = operator new(0x668u);\n          qword_1406C2ED8 = sub_14017AB00((__int64)v26);\n          (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2ED8 + 72LL))(qword_1406C2ED8);\n          v11 = qword_1406C2ED8;\n        }\n        v12 = *(_QWORD *)(v11 + 520);\n        if ( !cocos2d::CCArray::count(*(cocos2d::CCArray **)(v12 + 14472)) )\n          goto LABEL_32;\n        Object = cocos2d::CCArray::lastObject(*(cocos2d::CCArray **)(v12 + 14472));\n        if ( !Object )\n          goto LABEL_32;\n        v14 = qword_1406C2ED8;\n        if ( !qword_1406C2ED8 )\n        {\n          v27 = operator new(0x668u);\n          qword_1406C2ED8 = sub_14017AB00((__int64)v27);\n          (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2ED8 + 72LL))(qword_1406C2ED8);\n          v14 = qword_1406C2ED8;\n        }\n        if ( *(_DWORD *)(*(_QWORD *)(v14 + 520) + 1000LL) - Object[83].m_uOrderOfArrival > 500 )\n        {\nLABEL_32:\n          a1->m_checkpointTimeout = 1;\n          ftime64(&Time);\n          a1->m_lastCheckpointTime = (double)(Time.millitm + 1000 * (Time.time & 0xFFFFF)) / 1000.0;\n          v10 = qword_1406C2ED8;\n          if ( !qword_1406C2ED8 )\n          {\nLABEL_33:\n            v28 = operator new(0x668u);\n            qword_1406C2ED8 = sub_14017AB00((__int64)v28);\n            (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2ED8 + 72LL))(qword_1406C2ED8);\n            v10 = qword_1406C2ED8;\n          }\nLABEL_34:\n          PlayLayer::markCheckpoint(*(PlayLayer **)(v10 + 520));\n        }\n      }\n      else\n      {\n        v15 = 500;\n        if ( a1->m_pendingCheckpoint )\n          goto LABEL_49;\n        v16 = qword_1406C2ED8;\n        if ( !qword_1406C2ED8 )\n        {\n          v29 = operator new(0x668u);\n          qword_1406C2ED8 = sub_14017AB00((__int64)v29);\n          (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2ED8 + 72LL))(qword_1406C2ED8);\n          v16 = qword_1406C2ED8;\n        }\n        v17 = *(_QWORD *)(v16 + 520);\n        if ( !cocos2d::CCArray::count(*(cocos2d::CCArray **)(v17 + 14472)) )\n          goto LABEL_45;\n        v18 = cocos2d::CCArray::lastObject(*(cocos2d::CCArray **)(v17 + 14472));\n        if ( !v18 )\n          goto LABEL_45;\n        if ( !qword_1406C2ED8 )\n        {\n          v30 = operator new(0x668u);\n          qword_1406C2ED8 = sub_14017AB00((__int64)v30);\n          (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2ED8 + 72LL))(qword_1406C2ED8);\n        }\n        v19 = 500;\n        if ( a1->m_quickCheckpointMode )\n          v19 = 100;\n        if ( *(_DWORD *)(*(_QWORD *)(qword_1406C2ED8 + 520) + 1000LL) - v18[83].m_uOrderOfArrival > v19 )\n        {\nLABEL_45:\n          if ( !qword_1406C2ED8 )\n          {\n            v31 = operator new(0x668u);\n            qword_1406C2ED8 = sub_14017AB00((__int64)v31);\n            (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2ED8 + 72LL))(qword_1406C2ED8);\n          }\n          Checkpoint = PlayLayer::createCheckpoint(*(PlayLayer **)(qword_1406C2ED8 + 520));\n          a1->m_pendingCheckpoint = Checkpoint;\n          cocos2d::CCObject::retain(Checkpoint);\n        }\n        if ( a1->m_pendingCheckpoint )\n        {\nLABEL_49:\n          if ( !qword_1406C2ED8 )\n          {\n            v32 = operator new(0x668u);\n            qword_1406C2ED8 = sub_14017AB00((__int64)v32);\n            (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2ED8 + 72LL))(qword_1406C2ED8);\n          }\n          m_pendingCheckpoint = a1->m_pendingCheckpoint;\n          v22 = *(PlayLayer **)(qword_1406C2ED8 + 520);\n          if ( a1->m_quickCheckpointMode )\n            v15 = 100;\n          if ( (signed int)(v22->m_gameState.m_currentProgress - m_pendingCheckpoint->m_commandIndex) > v15 )\n          {\n            PlayLayer::storeCheckpoint(v22, m_pendingCheckpoint);\n            cocos2d::CCObject::release(a1->m_pendingCheckpoint);\n            a1->m_pendingCheckpoint = nullptr;\n          }\n        }\n      }\n    }\n    else if ( a1->m_shouldTryPlacingCheckpoint || a1->m_canPlaceCheckpoint )\n    {\n      a1->m_shouldTryPlacingCheckpoint = 0;\n      v4 = qword_1406C2ED8;\n      if ( !qword_1406C2ED8 )\n      {\n        v24 = operator new(0x668u);\n        qword_1406C2ED8 = sub_14017AB00((__int64)v24);\n        (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2ED8 + 72LL))(qword_1406C2ED8);\n        v4 = qword_1406C2ED8;\n      }\n      v5 = *(_QWORD *)(v4 + 520);\n      if ( !cocos2d::CCArray::count(*(cocos2d::CCArray **)(v5 + 14472)) )\n        goto LABEL_22;\n      v6 = cocos2d::CCArray::lastObject(*(cocos2d::CCArray **)(v5 + 14472));\n      if ( !v6 )\n        goto LABEL_22;\n      v7 = qword_1406C2ED8;\n      if ( !qword_1406C2ED8 )\n      {\n        v25 = operator new(0x668u);\n        qword_1406C2ED8 = sub_14017AB00((__int64)v25);\n        (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2ED8 + 72LL))(qword_1406C2ED8);\n        v7 = qword_1406C2ED8;\n      }\n      v8 = *(_DWORD *)(*(_QWORD *)(v7 + 520) + 1000LL) - v6[83].m_uOrderOfArrival;\n      v9 = 500;\n      if ( a1->m_quickCheckpointMode )\n        v9 = 100;\n      if ( v8 > v9 )\n      {\nLABEL_22:\n        a1->m_checkpointTimeout = 1;\n        ftime64(&Time);\n        a1->m_lastCheckpointTime = (double)(Time.millitm + 1000 * (Time.time & 0xFFFFF)) / 1000.0;\n        v10 = qword_1406C2ED8;\n        if ( !qword_1406C2ED8 )\n          goto LABEL_33;\n        goto LABEL_34;\n      }\n    }\n  }\n}", "assembly": "; \n; PlayerObject::tryPlaceCheckpoint from 0x1403a32d0 to 0x1403a383c (1388 bytes)\n; \n; 3 xrefs:\n; > GJBaseGameLayer::update @ 0x140238b01\n; > GJBaseGameLayer::update @ 0x140238b5a\n; > <???> @ 0x1406d6998\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\nmov     [rsp+arg_8], rbx                                               ; +0x0, 0x1403a32d0\nmov     [rsp+arg_10], rbp                                              ; +0x5, 0x1403a32d5\nmov     [rsp+arg_18], rsi                                              ; +0xa, 0x1403a32da\npush    rdi                                                            ; +0xf, 0x1403a32df\nsub     rsp, 40h                                                       ; +0x10, 0x1403a32e0\nmov     rax, cs:__security_cookie                                      ; +0x14, 0x1403a32e4\nxor     rax, rsp                                                       ; +0x1b, 0x1403a32eb\nmov     [rsp+48h+var_10], rax                                          ; +0x1e, 0x1403a32ee\nmov     rbx, rcx                                                       ; +0x23, 0x1403a32f3\nmov     rcx, cs:qword_1406C2ED8                                        ; +0x26, 0x1403a32f6\ntest    rcx, rcx                                                       ; +0x2d, 0x1403a32fd\njnz     short loc_1403A3331                                            ; +0x30, 0x1403a3300\nmov     ecx, 668h; Size                                                ; +0x32, 0x1403a3302\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x37, 0x1403a3307\nmov     [rsp+48h+var_28], rax                                          ; +0x3c, 0x1403a330c\nmov     rcx, rax                                                       ; +0x41, 0x1403a3311\ncall    sub_14017AB00                                                  ; +0x44, 0x1403a3314\nnop                                                                    ; +0x49, 0x1403a3319\nmov     cs:qword_1406C2ED8, rax                                        ; +0x4a, 0x1403a331a\nmov     rdx, [rax]                                                     ; +0x51, 0x1403a3321\nmov     rcx, rax                                                       ; +0x54, 0x1403a3324\ncall    qword ptr [rdx+48h]                                            ; +0x57, 0x1403a3327\nmov     rcx, cs:qword_1406C2ED8                                        ; +0x5a, 0x1403a332a\nmov     rax, [rcx+208h]                                                ; +0x61, 0x1403a3331\ntest    rax, rax                                                       ; +0x68, 0x1403a3338\njz      loc_1403A381A                                                  ; +0x6b, 0x1403a333b\ncmp     byte ptr [rax+31F0h], 0                                        ; +0x71, 0x1403a3341\njz      loc_1403A381A                                                  ; +0x78, 0x1403a3348\nlea     rdx, a0027; \"0027\"                                             ; +0x7e, 0x1403a334e\ncall    GameManager__getGameVariable                                   ; +0x85, 0x1403a3355\ntest    al, al                                                         ; +0x8a, 0x1403a335a\njz      loc_1403A381A                                                  ; +0x8c, 0x1403a335c\ncmp     dword ptr [rbx+39Ch], 1                                        ; +0x92, 0x1403a3362\njnz     loc_1403A381A                                                  ; +0x99, 0x1403a3369\ncmp     byte ptr [rbx+9B9h], 0                                         ; +0x9f, 0x1403a336f\njnz     loc_1403A3502                                                  ; +0xa6, 0x1403a3376\ncmp     byte ptr [rbx+9BAh], 0                                         ; +0xac, 0x1403a337c\njnz     loc_1403A3502                                                  ; +0xb3, 0x1403a3383\ncmp     byte ptr [rbx+9BCh], 0                                         ; +0xb9, 0x1403a3389\njnz     loc_1403A3502                                                  ; +0xc0, 0x1403a3390\ncmp     byte ptr [rbx+9C4h], 0                                         ; +0xc6, 0x1403a3396\njnz     loc_1403A3502                                                  ; +0xcd, 0x1403a339d\ncmp     byte ptr [rbx+7E3h], 0                                         ; +0xd3, 0x1403a33a3\njnz     short loc_1403A33B9                                            ; +0xda, 0x1403a33aa\ncmp     byte ptr [rbx+979h], 0                                         ; +0xdc, 0x1403a33ac\njz      loc_1403A381A                                                  ; +0xe3, 0x1403a33b3\nmov     byte ptr [rbx+7E3h], 0                                         ; +0xe9, 0x1403a33b9\nmov     rax, cs:qword_1406C2ED8                                        ; +0xf0, 0x1403a33c0\ntest    rax, rax                                                       ; +0xf7, 0x1403a33c7\njnz     short loc_1403A33FB                                            ; +0xfa, 0x1403a33ca\nmov     ecx, 668h; Size                                                ; +0xfc, 0x1403a33cc\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x101, 0x1403a33d1\nmov     [rsp+48h+var_28], rax                                          ; +0x106, 0x1403a33d6\nmov     rcx, rax                                                       ; +0x10b, 0x1403a33db\ncall    sub_14017AB00                                                  ; +0x10e, 0x1403a33de\nnop                                                                    ; +0x113, 0x1403a33e3\nmov     cs:qword_1406C2ED8, rax                                        ; +0x114, 0x1403a33e4\nmov     rdx, [rax]                                                     ; +0x11b, 0x1403a33eb\nmov     rcx, rax                                                       ; +0x11e, 0x1403a33ee\ncall    qword ptr [rdx+48h]                                            ; +0x121, 0x1403a33f1\nmov     rax, cs:qword_1406C2ED8                                        ; +0x124, 0x1403a33f4\nmov     rdi, [rax+208h]                                                ; +0x12b, 0x1403a33fb\nmov     rcx, [rdi+3888h]                                               ; +0x132, 0x1403a3402\ncall    cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x139, 0x1403a3409\ntest    eax, eax                                                       ; +0x13f, 0x1403a340f\njz      short loc_1403A3492                                            ; +0x141, 0x1403a3411\nmov     rcx, [rdi+3888h]                                               ; +0x143, 0x1403a3413\ncall    cs:?lastObject@CCArray@cocos2d@@QEAAPEAVCCObject@2@XZ; cocos2d::CCArray::lastObject(void) ; +0x14a, 0x1403a341a\nmov     rdi, rax                                                       ; +0x150, 0x1403a3420\ntest    rax, rax                                                       ; +0x153, 0x1403a3423\njz      short loc_1403A3492                                            ; +0x156, 0x1403a3426\nmov     rax, cs:qword_1406C2ED8                                        ; +0x158, 0x1403a3428\ntest    rax, rax                                                       ; +0x15f, 0x1403a342f\njnz     short loc_1403A3463                                            ; +0x162, 0x1403a3432\nmov     ecx, 668h; Size                                                ; +0x164, 0x1403a3434\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x169, 0x1403a3439\nmov     [rsp+48h+var_28], rax                                          ; +0x16e, 0x1403a343e\nmov     rcx, rax                                                       ; +0x173, 0x1403a3443\ncall    sub_14017AB00                                                  ; +0x176, 0x1403a3446\nnop                                                                    ; +0x17b, 0x1403a344b\nmov     cs:qword_1406C2ED8, rax                                        ; +0x17c, 0x1403a344c\nmov     rdx, [rax]                                                     ; +0x183, 0x1403a3453\nmov     rcx, rax                                                       ; +0x186, 0x1403a3456\ncall    qword ptr [rdx+48h]                                            ; +0x189, 0x1403a3459\nmov     rax, cs:qword_1406C2ED8                                        ; +0x18c, 0x1403a345c\nmov     rax, [rax+208h]                                                ; +0x193, 0x1403a3463\nmov     ecx, [rax+3E8h]                                                ; +0x19a, 0x1403a346a\nsub     ecx, [rdi+1258h]                                               ; +0x1a0, 0x1403a3470\nmov     edi, 1F4h                                                      ; +0x1a6, 0x1403a3476\nmov     esi, 64h ; 'd'                                                 ; +0x1ab, 0x1403a347b\ncmp     byte ptr [rbx+5FDh], 0                                         ; +0x1b0, 0x1403a3480\ncmovnz  edi, esi                                                       ; +0x1b7, 0x1403a3487\ncmp     ecx, edi                                                       ; +0x1ba, 0x1403a348a\njle     loc_1403A381A                                                  ; +0x1bc, 0x1403a348c\nmov     byte ptr [rbx+7E9h], 1                                         ; +0x1c2, 0x1403a3492\nlea     rcx, [rsp+48h+Time]; Time                                      ; +0x1c9, 0x1403a3499\ncall    cs:_ftime64                                                    ; +0x1ce, 0x1403a349e\nmov     rax, [rsp+48h+Time.time]                                       ; +0x1d4, 0x1403a34a4\nand     eax, 0FFFFFh                                                   ; +0x1d9, 0x1403a34a9\nimul    rdx, rax, 3E8h                                                 ; +0x1de, 0x1403a34ae\nmovzx   eax, [rsp+48h+Time.millitm]                                    ; +0x1e5, 0x1403a34b5\nadd     rdx, rax                                                       ; +0x1ea, 0x1403a34ba\nxorps   xmm0, xmm0                                                     ; +0x1ed, 0x1403a34bd\ncvtsi2sd xmm0, rdx                                                     ; +0x1f0, 0x1403a34c0\ndivsd   xmm0, cs:qword_140623000                                       ; +0x1f5, 0x1403a34c5\nmovsd   qword ptr [rbx+7F0h], xmm0                                     ; +0x1fd, 0x1403a34cd\nmov     rcx, cs:qword_1406C2ED8                                        ; +0x205, 0x1403a34d5\ntest    rcx, rcx                                                       ; +0x20c, 0x1403a34dc\njnz     loc_1403A3650                                                  ; +0x20f, 0x1403a34df\nmov     ecx, 668h; Size                                                ; +0x215, 0x1403a34e5\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x21a, 0x1403a34ea\nmov     [rsp+48h+var_28], rax                                          ; +0x21f, 0x1403a34ef\nmov     rcx, rax                                                       ; +0x224, 0x1403a34f4\ncall    sub_14017AB00                                                  ; +0x227, 0x1403a34f7\nnop                                                                    ; +0x22c, 0x1403a34fc\njmp     loc_1403A3639                                                  ; +0x22d, 0x1403a34fd\ncmp     byte ptr [rbx+0B70h], 0                                        ; +0x232, 0x1403a3502\njz      loc_1403A3661                                                  ; +0x239, 0x1403a3509\nmov     rax, cs:qword_1406C2ED8                                        ; +0x23f, 0x1403a350f\ntest    rax, rax                                                       ; +0x246, 0x1403a3516\njnz     short loc_1403A354A                                            ; +0x249, 0x1403a3519\nmov     ecx, 668h; Size                                                ; +0x24b, 0x1403a351b\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x250, 0x1403a3520\nmov     [rsp+48h+var_28], rax                                          ; +0x255, 0x1403a3525\nmov     rcx, rax                                                       ; +0x25a, 0x1403a352a\ncall    sub_14017AB00                                                  ; +0x25d, 0x1403a352d\nnop                                                                    ; +0x262, 0x1403a3532\nmov     cs:qword_1406C2ED8, rax                                        ; +0x263, 0x1403a3533\nmov     rdx, [rax]                                                     ; +0x26a, 0x1403a353a\nmov     rcx, rax                                                       ; +0x26d, 0x1403a353d\ncall    qword ptr [rdx+48h]                                            ; +0x270, 0x1403a3540\nmov     rax, cs:qword_1406C2ED8                                        ; +0x273, 0x1403a3543\nmov     rdi, [rax+208h]                                                ; +0x27a, 0x1403a354a\nmov     rcx, [rdi+3888h]                                               ; +0x281, 0x1403a3551\ncall    cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x288, 0x1403a3558\ntest    eax, eax                                                       ; +0x28e, 0x1403a355e\njz      short loc_1403A35D2                                            ; +0x290, 0x1403a3560\nmov     rcx, [rdi+3888h]                                               ; +0x292, 0x1403a3562\ncall    cs:?lastObject@CCArray@cocos2d@@QEAAPEAVCCObject@2@XZ; cocos2d::CCArray::lastObject(void) ; +0x299, 0x1403a3569\nmov     rdi, rax                                                       ; +0x29f, 0x1403a356f\ntest    rax, rax                                                       ; +0x2a2, 0x1403a3572\njz      short loc_1403A35D2                                            ; +0x2a5, 0x1403a3575\nmov     rax, cs:qword_1406C2ED8                                        ; +0x2a7, 0x1403a3577\ntest    rax, rax                                                       ; +0x2ae, 0x1403a357e\njnz     short loc_1403A35B2                                            ; +0x2b1, 0x1403a3581\nmov     ecx, 668h; Size                                                ; +0x2b3, 0x1403a3583\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x2b8, 0x1403a3588\nmov     [rsp+48h+var_28], rax                                          ; +0x2bd, 0x1403a358d\nmov     rcx, rax                                                       ; +0x2c2, 0x1403a3592\ncall    sub_14017AB00                                                  ; +0x2c5, 0x1403a3595\nnop                                                                    ; +0x2ca, 0x1403a359a\nmov     cs:qword_1406C2ED8, rax                                        ; +0x2cb, 0x1403a359b\nmov     rdx, [rax]                                                     ; +0x2d2, 0x1403a35a2\nmov     rcx, rax                                                       ; +0x2d5, 0x1403a35a5\ncall    qword ptr [rdx+48h]                                            ; +0x2d8, 0x1403a35a8\nmov     rax, cs:qword_1406C2ED8                                        ; +0x2db, 0x1403a35ab\nmov     rax, [rax+208h]                                                ; +0x2e2, 0x1403a35b2\nmov     ecx, [rax+3E8h]                                                ; +0x2e9, 0x1403a35b9\nsub     ecx, [rdi+1258h]                                               ; +0x2ef, 0x1403a35bf\nmov     edi, 1F4h                                                      ; +0x2f5, 0x1403a35c5\ncmp     ecx, edi                                                       ; +0x2fa, 0x1403a35ca\njle     loc_1403A381A                                                  ; +0x2fc, 0x1403a35cc\nmov     byte ptr [rbx+7E9h], 1                                         ; +0x302, 0x1403a35d2\nlea     rcx, [rsp+48h+Time]; Time                                      ; +0x309, 0x1403a35d9\ncall    cs:_ftime64                                                    ; +0x30e, 0x1403a35de\nmov     rax, [rsp+48h+Time.time]                                       ; +0x314, 0x1403a35e4\nand     eax, 0FFFFFh                                                   ; +0x319, 0x1403a35e9\nimul    rcx, rax, 3E8h                                                 ; +0x31e, 0x1403a35ee\nmovzx   eax, [rsp+48h+Time.millitm]                                    ; +0x325, 0x1403a35f5\nadd     rcx, rax                                                       ; +0x32a, 0x1403a35fa\nxorps   xmm0, xmm0                                                     ; +0x32d, 0x1403a35fd\ncvtsi2sd xmm0, rcx                                                     ; +0x330, 0x1403a3600\ndivsd   xmm0, cs:qword_140623000                                       ; +0x335, 0x1403a3605\nmovsd   qword ptr [rbx+7F0h], xmm0                                     ; +0x33d, 0x1403a360d\nmov     rcx, cs:qword_1406C2ED8                                        ; +0x345, 0x1403a3615\ntest    rcx, rcx                                                       ; +0x34c, 0x1403a361c\njnz     short loc_1403A3650                                            ; +0x34f, 0x1403a361f\nmov     ecx, 668h; Size                                                ; +0x351, 0x1403a3621\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x356, 0x1403a3626\nmov     [rsp+48h+var_28], rax                                          ; +0x35b, 0x1403a362b\nmov     rcx, rax                                                       ; +0x360, 0x1403a3630\ncall    sub_14017AB00                                                  ; +0x363, 0x1403a3633\nnop                                                                    ; +0x368, 0x1403a3638\nmov     cs:qword_1406C2ED8, rax                                        ; +0x369, 0x1403a3639\nmov     rdx, [rax]                                                     ; +0x370, 0x1403a3640\nmov     rcx, rax                                                       ; +0x373, 0x1403a3643\ncall    qword ptr [rdx+48h]                                            ; +0x376, 0x1403a3646\nmov     rcx, cs:qword_1406C2ED8                                        ; +0x379, 0x1403a3649\nmov     rcx, [rcx+208h]                                                ; +0x380, 0x1403a3650\ncall    PlayLayer__markCheckpoint                                      ; +0x387, 0x1403a3657\njmp     loc_1403A381A                                                  ; +0x38c, 0x1403a365c\nmov     edi, 1F4h                                                      ; +0x391, 0x1403a3661\nmov     esi, 64h ; 'd'                                                 ; +0x396, 0x1403a3666\ncmp     qword ptr [rbx+890h], 0                                        ; +0x39b, 0x1403a366b\njnz     loc_1403A379C                                                  ; +0x3a3, 0x1403a3673\nmov     rax, cs:qword_1406C2ED8                                        ; +0x3a9, 0x1403a3679\ntest    rax, rax                                                       ; +0x3b0, 0x1403a3680\njnz     short loc_1403A36B4                                            ; +0x3b3, 0x1403a3683\nmov     ecx, 668h; Size                                                ; +0x3b5, 0x1403a3685\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x3ba, 0x1403a368a\nmov     [rsp+48h+var_28], rax                                          ; +0x3bf, 0x1403a368f\nmov     rcx, rax                                                       ; +0x3c4, 0x1403a3694\ncall    sub_14017AB00                                                  ; +0x3c7, 0x1403a3697\nnop                                                                    ; +0x3cc, 0x1403a369c\nmov     cs:qword_1406C2ED8, rax                                        ; +0x3cd, 0x1403a369d\nmov     rdx, [rax]                                                     ; +0x3d4, 0x1403a36a4\nmov     rcx, rax                                                       ; +0x3d7, 0x1403a36a7\ncall    qword ptr [rdx+48h]                                            ; +0x3da, 0x1403a36aa\nmov     rax, cs:qword_1406C2ED8                                        ; +0x3dd, 0x1403a36ad\nmov     rbp, [rax+208h]                                                ; +0x3e4, 0x1403a36b4\nmov     rcx, [rbp+3888h]                                               ; +0x3eb, 0x1403a36bb\ncall    cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x3f2, 0x1403a36c2\ntest    eax, eax                                                       ; +0x3f8, 0x1403a36c8\njz      short loc_1403A373D                                            ; +0x3fa, 0x1403a36ca\nmov     rcx, [rbp+3888h]                                               ; +0x3fc, 0x1403a36cc\ncall    cs:?lastObject@CCArray@cocos2d@@QEAAPEAVCCObject@2@XZ; cocos2d::CCArray::lastObject(void) ; +0x403, 0x1403a36d3\nmov     rbp, rax                                                       ; +0x409, 0x1403a36d9\ntest    rax, rax                                                       ; +0x40c, 0x1403a36dc\njz      short loc_1403A373D                                            ; +0x40f, 0x1403a36df\ncmp     cs:qword_1406C2ED8, 0                                          ; +0x411, 0x1403a36e1\njnz     short loc_1403A3713                                            ; +0x419, 0x1403a36e9\nmov     ecx, 668h; Size                                                ; +0x41b, 0x1403a36eb\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x420, 0x1403a36f0\nmov     [rsp+48h+var_28], rax                                          ; +0x425, 0x1403a36f5\nmov     rcx, rax                                                       ; +0x42a, 0x1403a36fa\ncall    sub_14017AB00                                                  ; +0x42d, 0x1403a36fd\nnop                                                                    ; +0x432, 0x1403a3702\nmov     cs:qword_1406C2ED8, rax                                        ; +0x433, 0x1403a3703\nmov     rdx, [rax]                                                     ; +0x43a, 0x1403a370a\nmov     rcx, rax                                                       ; +0x43d, 0x1403a370d\ncall    qword ptr [rdx+48h]                                            ; +0x440, 0x1403a3710\nmov     rax, cs:qword_1406C2ED8                                        ; +0x443, 0x1403a3713\nmov     rcx, [rax+208h]                                                ; +0x44a, 0x1403a371a\nmov     edx, [rcx+3E8h]                                                ; +0x451, 0x1403a3721\nsub     edx, [rbp+1258h]                                               ; +0x457, 0x1403a3727\nmov     eax, edi                                                       ; +0x45d, 0x1403a372d\ncmp     byte ptr [rbx+5FDh], 0                                         ; +0x45f, 0x1403a372f\ncmovnz  eax, esi                                                       ; +0x466, 0x1403a3736\ncmp     edx, eax                                                       ; +0x469, 0x1403a3739\njle     short loc_1403A3792                                            ; +0x46b, 0x1403a373b\ncmp     cs:qword_1406C2ED8, 0                                          ; +0x46d, 0x1403a373d\njnz     short loc_1403A376F                                            ; +0x475, 0x1403a3745\nmov     ecx, 668h; Size                                                ; +0x477, 0x1403a3747\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x47c, 0x1403a374c\nmov     [rsp+48h+var_28], rax                                          ; +0x481, 0x1403a3751\nmov     rcx, rax                                                       ; +0x486, 0x1403a3756\ncall    sub_14017AB00                                                  ; +0x489, 0x1403a3759\nnop                                                                    ; +0x48e, 0x1403a375e\nmov     cs:qword_1406C2ED8, rax                                        ; +0x48f, 0x1403a375f\nmov     rdx, [rax]                                                     ; +0x496, 0x1403a3766\nmov     rcx, rax                                                       ; +0x499, 0x1403a3769\ncall    qword ptr [rdx+48h]                                            ; +0x49c, 0x1403a376c\nmov     rcx, cs:qword_1406C2ED8                                        ; +0x49f, 0x1403a376f\nmov     rcx, [rcx+208h]                                                ; +0x4a6, 0x1403a3776\ncall    PlayLayer__createCheckpoint                                    ; +0x4ad, 0x1403a377d\nmov     [rbx+890h], rax                                                ; +0x4b2, 0x1403a3782\nmov     rcx, rax                                                       ; +0x4b9, 0x1403a3789\ncall    cs:?retain@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::retain(void) ; +0x4bc, 0x1403a378c\ncmp     qword ptr [rbx+890h], 0                                        ; +0x4c2, 0x1403a3792\njz      short loc_1403A381A                                            ; +0x4ca, 0x1403a379a\ncmp     cs:qword_1406C2ED8, 0                                          ; +0x4cc, 0x1403a379c\njnz     short loc_1403A37CE                                            ; +0x4d4, 0x1403a37a4\nmov     ecx, 668h; Size                                                ; +0x4d6, 0x1403a37a6\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x4db, 0x1403a37ab\nmov     [rsp+48h+var_28], rax                                          ; +0x4e0, 0x1403a37b0\nmov     rcx, rax                                                       ; +0x4e5, 0x1403a37b5\ncall    sub_14017AB00                                                  ; +0x4e8, 0x1403a37b8\nnop                                                                    ; +0x4ed, 0x1403a37bd\nmov     cs:qword_1406C2ED8, rax                                        ; +0x4ee, 0x1403a37be\nmov     rdx, [rax]                                                     ; +0x4f5, 0x1403a37c5\nmov     rcx, rax                                                       ; +0x4f8, 0x1403a37c8\ncall    qword ptr [rdx+48h]                                            ; +0x4fb, 0x1403a37cb\nmov     rdx, [rbx+890h]                                                ; +0x4fe, 0x1403a37ce\nmov     rax, cs:qword_1406C2ED8                                        ; +0x505, 0x1403a37d5\nmov     rcx, [rax+208h]                                                ; +0x50c, 0x1403a37dc\nmov     eax, [rcx+3E8h]                                                ; +0x513, 0x1403a37e3\nsub     eax, [rdx+1258h]                                               ; +0x519, 0x1403a37e9\ncmp     byte ptr [rbx+5FDh], 0                                         ; +0x51f, 0x1403a37ef\ncmovnz  edi, esi                                                       ; +0x526, 0x1403a37f6\ncmp     eax, edi                                                       ; +0x529, 0x1403a37f9\njle     short loc_1403A381A                                            ; +0x52b, 0x1403a37fb\ncall    PlayLayer__storeCheckpoint                                     ; +0x52d, 0x1403a37fd\nmov     rcx, [rbx+890h]                                                ; +0x532, 0x1403a3802\ncall    cs:?release@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::release(void) ; +0x539, 0x1403a3809\nmov     qword ptr [rbx+890h], 0                                        ; +0x53f, 0x1403a380f\nmov     rcx, [rsp+48h+var_10]                                          ; +0x54a, 0x1403a381a\nxor     rcx, rsp; StackCookie                                          ; +0x54f, 0x1403a381f\ncall    __security_check_cookie                                        ; +0x552, 0x1403a3822\nmov     rbx, [rsp+48h+arg_8]                                           ; +0x557, 0x1403a3827\nmov     rbp, [rsp+48h+arg_10]                                          ; +0x55c, 0x1403a382c\nmov     rsi, [rsp+48h+arg_18]                                          ; +0x561, 0x1403a3831\nadd     rsp, 40h                                                       ; +0x566, 0x1403a3836\npop     rdi                                                            ; +0x56a, 0x1403a383a\nretn                                                                   ; +0x56b, 0x1403a383b", "xrefs": ["GJBaseGameLayer::update @ 0x140238b01", "GJBaseGameLayer::update @ 0x140238b5a", "<???> @ 0x1406d6998"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}