{"type": "func", "start": 5373667440, "end": 5373668280, "name": "CheckpointGameObject::updateSyncedAnimation", "pseudocode": "// \n// CheckpointGameObject::updateSyncedAnimation from 0x1404ba870 to 0x1404babb8 (840 bytes)\n// \n// 3 xrefs:\n// > <???> @ 0x140611e48\n// > <???> @ 0x1406dcd34\n// > <???> @ 0x1406dcd40\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// local variable allocation has failed, the output may be wrong!\nvoid CheckpointGameObject::updateSyncedAnimation(CheckpointGameObject *a1, float a2, int a3)\n{\n  __int64 v3; // rdx\n  float v4; // xmm0_4\n  const cocos2d::CCSize *v6; // rax\n  CheckpointGameObject_vtbl *v7; // rax\n  __int64 v8; // rbx\n  float v9; // xmm0_4\n  cocos2d::CCNode *v10; // rax\n  __int64 v11; // rdx\n  __int64 v12; // rbx\n  float v13; // xmm0_4\n  cocos2d::CCNode *v14; // rbx\n  float v15; // xmm0_4\n  cocos2d::CCNode *v16; // rbx\n  float v17; // xmm0_4\n  cocos2d::CCNode *v18; // rsi\n  cocos2d::CCNode *v19; // rbx\n  cocos2d::CCNode_vtbl *v20; // rdi\n  __int64 v21; // rax\n  cocos2d::CCNode *v22; // rsi\n  cocos2d::CCNode *v23; // rbx\n  cocos2d::CCNode_vtbl *v24; // rdi\n  __int64 v25; // rax\n  cocos2d::CCNode *v26; // rsi\n  cocos2d::CCNode *v27; // rbx\n  cocos2d::CCNode_vtbl *v28; // rdi\n  __int64 v29; // rax\n  char v30; // [rsp+80h] [rbp+8h] BYREF\n  char v31; // [rsp+98h] [rbp+20h] BYREF\n\n  ((__int64 (__fastcall *)(CheckpointGameObject *, __int64, int))a1->getContentSize)(a1, v3, a3);\n  v6 = a1->getContentSize(a1);\n  cocos2d::CCPoint::CCPoint(v4, v6->width * 0.5);\n  v7 = a1->EffectGameObject::EnhancedGameObject::GameObject::CCSpritePlus::cocos2d::CCSprite::cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable;\n  if ( a1->m_checkpointActivated )\n  {\n    v8 = (__int64)v7->getChildByTag(a1, 1128);\n    v9 = sub_1404BA7A0(*(double *)&a2, COERCE_DOUBLE(1077936128), 5.0, 2.0).m128_f32[0] + 0.0;\n    cocos2d::CCPoint::CCPoint(v9, 0.0);\n    cocos2d::CCPoint::operator+(&v30, &v31);\n    (*(void (__fastcall **)(__int64, char *))(*(_QWORD *)v8 + 184LL))(v8, &v31);\n    v10 = a1->getChildByTag(a1, 1128);\n    v11 = 1128;\n  }\n  else\n  {\n    v12 = (__int64)v7->getChildByTag(a1, 1125);\n    v13 = sub_1404BA7A0(*(double *)&a2, COERCE_DOUBLE(1083179008), 4.5, 1.8).m128_f32[0];\n    cocos2d::CCPoint::CCPoint(v13, -1.0);\n    cocos2d::CCPoint::operator+(&v30, &v31);\n    (*(void (__fastcall **)(__int64, char *))(*(_QWORD *)v12 + 184LL))(v12, &v31);\n    v14 = a1->getChildByTag(a1, 1126);\n    v15 = sub_1404BA7A0(*(double *)&a2, COERCE_DOUBLE(1079194419), 3.3, 1.8).m128_f32[0];\n    cocos2d::CCPoint::CCPoint(v15, 0.5);\n    cocos2d::CCPoint::operator+(&v30, &v31);\n    v14->setPosition_0(v14, (const cocos2d::CCPoint *)&v31);\n    v16 = a1->getChildByTag(a1, 1127);\n    v17 = sub_1404BA7A0(*(double *)&a2, COERCE_DOUBLE(1077936128), 3.0, 1.8).m128_f32[0] - 1.0;\n    cocos2d::CCPoint::CCPoint(v17, 0.5);\n    cocos2d::CCPoint::operator+(&v30, &v31);\n    v16->setPosition_0(v16, (const cocos2d::CCPoint *)&v31);\n    v18 = a1->getChildByTag(a1, 1125);\n    v19 = a1->m_colorSprite->getChildByTag(a1->m_colorSprite, 1125);\n    v20 = v19->__vftable;\n    v21 = (__int64)v18->getPosition_0(v18);\n    v20->setPosition_0(v19, (const cocos2d::CCPoint *)v21);\n    v22 = a1->getChildByTag(a1, 1126);\n    v23 = a1->m_colorSprite->getChildByTag(a1->m_colorSprite, 1126);\n    v24 = v23->__vftable;\n    v25 = (__int64)v22->getPosition_0(v22);\n    v24->setPosition_0(v23, (const cocos2d::CCPoint *)v25);\n    v10 = a1->getChildByTag(a1, 1127);\n    v11 = 1127;\n  }\n  v26 = v10;\n  v27 = a1->m_colorSprite->getChildByTag(a1->m_colorSprite, v11);\n  v28 = v27->__vftable;\n  v29 = (__int64)v26->getPosition_0(v26);\n  v28->setPosition_0(v27, (const cocos2d::CCPoint *)v29);\n}", "assembly": "; \n; CheckpointGameObject::updateSyncedAnimation from 0x1404ba870 to 0x1404babb8 (840 bytes)\n; \n; 3 xrefs:\n; > <???> @ 0x140611e48\n; > <???> @ 0x1406dcd34\n; > <???> @ 0x1406dcd40\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, 0x1404ba870\npush    rsi                                                            ; +0x5, 0x1404ba875\npush    rdi                                                            ; +0x6, 0x1404ba876\npush    r14                                                            ; +0x7, 0x1404ba877\nsub     rsp, 60h                                                       ; +0x9, 0x1404ba879\nmov     rax, [rcx]                                                     ; +0xd, 0x1404ba87d\nmov     r14, rcx                                                       ; +0x10, 0x1404ba880\nmovaps  [rsp+78h+var_28], xmm6                                         ; +0x13, 0x1404ba883\nmovaps  [rsp+78h+var_38], xmm7                                         ; +0x18, 0x1404ba888\nmovaps  [rsp+78h+var_48], xmm8                                         ; +0x1d, 0x1404ba88d\nmovaps  xmm8, xmm1                                                     ; +0x23, 0x1404ba893\ncall    qword ptr [rax+130h]                                           ; +0x27, 0x1404ba897\nmov     rcx, r14                                                       ; +0x2d, 0x1404ba89d\nmovss   xmm6, dword ptr [rax+4]                                        ; +0x30, 0x1404ba8a0\nmov     rax, [r14]                                                     ; +0x35, 0x1404ba8a5\ncall    qword ptr [rax+130h]                                           ; +0x38, 0x1404ba8a8\nmovss   xmm7, cs:dword_140622B08                                       ; +0x3e, 0x1404ba8ae\nlea     rcx, [rsp+78h+arg_0]                                           ; +0x46, 0x1404ba8b6\nmulss   xmm6, xmm7                                                     ; +0x4e, 0x1404ba8be\nmovss   xmm1, dword ptr [rax]                                          ; +0x52, 0x1404ba8c2\nmulss   xmm1, xmm7                                                     ; +0x56, 0x1404ba8c6\nmovaps  xmm2, xmm6                                                     ; +0x5a, 0x1404ba8ca\ncall    cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x5d, 0x1404ba8cd\ncmp     byte ptr [r14+740h], 0                                         ; +0x63, 0x1404ba8d3\nmov     rcx, r14                                                       ; +0x6b, 0x1404ba8db\nmov     rax, [r14]                                                     ; +0x6e, 0x1404ba8de\njz      loc_1404BA973                                                  ; +0x71, 0x1404ba8e1\nmov     edx, 468h                                                      ; +0x77, 0x1404ba8e7\ncall    qword ptr [rax+1C8h]                                           ; +0x7c, 0x1404ba8ec\nmovss   xmm3, cs:width                                                 ; +0x82, 0x1404ba8f2\nmovaps  xmm0, xmm8                                                     ; +0x8a, 0x1404ba8fa\nmovss   xmm2, cs:flt_140623010                                         ; +0x8e, 0x1404ba8fe\nmov     rbx, rax                                                       ; +0x96, 0x1404ba906\nmovss   xmm1, cs:flt_140622F28                                         ; +0x99, 0x1404ba909\ncall    sub_1404BA7A0                                                  ; +0xa1, 0x1404ba911\nxorps   xmm1, xmm1                                                     ; +0xa6, 0x1404ba916\nlea     rcx, [rsp+78h+var_58]                                          ; +0xa9, 0x1404ba919\naddss   xmm0, xmm1                                                     ; +0xae, 0x1404ba91e\nmovaps  xmm2, xmm0                                                     ; +0xb2, 0x1404ba922\ncall    cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0xb5, 0x1404ba925\nmov     r8, rax                                                        ; +0xbb, 0x1404ba92b\nlea     rdx, [rsp+78h+arg_18]                                          ; +0xbe, 0x1404ba92e\nlea     rcx, [rsp+78h+arg_0]                                           ; +0xc6, 0x1404ba936\ncall    cs:??HCCPoint@cocos2d@@QEBA?AV01@AEBV01@@Z; cocos2d::CCPoint::operator+(cocos2d::CCPoint const &) ; +0xce, 0x1404ba93e\nmov     rax, [rbx]                                                     ; +0xd4, 0x1404ba944\nlea     rdx, [rsp+78h+arg_18]                                          ; +0xd7, 0x1404ba947\nmov     rcx, rbx                                                       ; +0xdf, 0x1404ba94f\ncall    qword ptr [rax+0B8h]                                           ; +0xe2, 0x1404ba952\nmov     rax, [r14]                                                     ; +0xe8, 0x1404ba958\nmov     edx, 468h                                                      ; +0xeb, 0x1404ba95b\nmov     rcx, r14                                                       ; +0xf0, 0x1404ba960\ncall    qword ptr [rax+1C8h]                                           ; +0xf3, 0x1404ba963\nmov     edx, 468h                                                      ; +0xf9, 0x1404ba969\njmp     loc_1404BAB65                                                  ; +0xfe, 0x1404ba96e\nmov     edx, 465h                                                      ; +0x103, 0x1404ba973\ncall    qword ptr [rax+1C8h]                                           ; +0x108, 0x1404ba978\nmovss   xmm1, cs:dword_140623008                                       ; +0x10e, 0x1404ba97e\nmovaps  xmm0, xmm8                                                     ; +0x116, 0x1404ba986\nmovss   xmm6, cs:dword_140622DC8                                       ; +0x11a, 0x1404ba98a\nmovaps  xmm2, xmm1                                                     ; +0x122, 0x1404ba992\nmovaps  xmm3, xmm6                                                     ; +0x125, 0x1404ba995\nmov     rbx, rax                                                       ; +0x128, 0x1404ba998\ncall    sub_1404BA7A0                                                  ; +0x12b, 0x1404ba99b\nmovss   xmm1, cs:dword_1406236F0                                       ; +0x130, 0x1404ba9a0\nlea     rcx, [rsp+78h+var_58]                                          ; +0x138, 0x1404ba9a8\nmovaps  xmm2, xmm0                                                     ; +0x13d, 0x1404ba9ad\ncall    cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x140, 0x1404ba9b0\nmov     r8, rax                                                        ; +0x146, 0x1404ba9b6\nlea     rdx, [rsp+78h+arg_18]                                          ; +0x149, 0x1404ba9b9\nlea     rcx, [rsp+78h+arg_0]                                           ; +0x151, 0x1404ba9c1\ncall    cs:??HCCPoint@cocos2d@@QEBA?AV01@AEBV01@@Z; cocos2d::CCPoint::operator+(cocos2d::CCPoint const &) ; +0x159, 0x1404ba9c9\nmov     rax, [rbx]                                                     ; +0x15f, 0x1404ba9cf\nlea     rdx, [rsp+78h+arg_18]                                          ; +0x162, 0x1404ba9d2\nmov     rcx, rbx                                                       ; +0x16a, 0x1404ba9da\ncall    qword ptr [rax+0B8h]                                           ; +0x16d, 0x1404ba9dd\nmov     rax, [r14]                                                     ; +0x173, 0x1404ba9e3\nmov     edx, 466h                                                      ; +0x176, 0x1404ba9e6\nmov     rcx, r14                                                       ; +0x17b, 0x1404ba9eb\ncall    qword ptr [rax+1C8h]                                           ; +0x17e, 0x1404ba9ee\nmovss   xmm1, cs:dword_140622F68                                       ; +0x184, 0x1404ba9f4\nmovaps  xmm3, xmm6                                                     ; +0x18c, 0x1404ba9fc\nmovaps  xmm2, xmm1                                                     ; +0x18f, 0x1404ba9ff\nmovaps  xmm0, xmm8                                                     ; +0x192, 0x1404baa02\nmov     rbx, rax                                                       ; +0x196, 0x1404baa06\ncall    sub_1404BA7A0                                                  ; +0x199, 0x1404baa09\nmovaps  xmm2, xmm0                                                     ; +0x19e, 0x1404baa0e\nlea     rcx, [rsp+78h+var_58]                                          ; +0x1a1, 0x1404baa11\nmovaps  xmm1, xmm7                                                     ; +0x1a6, 0x1404baa16\ncall    cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x1a9, 0x1404baa19\nmov     r8, rax                                                        ; +0x1af, 0x1404baa1f\nlea     rdx, [rsp+78h+arg_18]                                          ; +0x1b2, 0x1404baa22\nlea     rcx, [rsp+78h+arg_0]                                           ; +0x1ba, 0x1404baa2a\ncall    cs:??HCCPoint@cocos2d@@QEBA?AV01@AEBV01@@Z; cocos2d::CCPoint::operator+(cocos2d::CCPoint const &) ; +0x1c2, 0x1404baa32\nmov     rax, [rbx]                                                     ; +0x1c8, 0x1404baa38\nlea     rdx, [rsp+78h+arg_18]                                          ; +0x1cb, 0x1404baa3b\nmov     rcx, rbx                                                       ; +0x1d3, 0x1404baa43\ncall    qword ptr [rax+0B8h]                                           ; +0x1d6, 0x1404baa46\nmov     rax, [r14]                                                     ; +0x1dc, 0x1404baa4c\nmov     edx, 467h                                                      ; +0x1df, 0x1404baa4f\nmov     rcx, r14                                                       ; +0x1e4, 0x1404baa54\ncall    qword ptr [rax+1C8h]                                           ; +0x1e7, 0x1404baa57\nmovss   xmm1, cs:flt_140622F28                                         ; +0x1ed, 0x1404baa5d\nmovaps  xmm3, xmm6                                                     ; +0x1f5, 0x1404baa65\nmovaps  xmm2, xmm1                                                     ; +0x1f8, 0x1404baa68\nmovaps  xmm0, xmm8                                                     ; +0x1fb, 0x1404baa6b\nmov     rbx, rax                                                       ; +0x1ff, 0x1404baa6f\ncall    sub_1404BA7A0                                                  ; +0x202, 0x1404baa72\nsubss   xmm0, cs:flt_140622C24                                         ; +0x207, 0x1404baa77\nmovaps  xmm1, xmm7                                                     ; +0x20f, 0x1404baa7f\nlea     rcx, [rsp+78h+var_58]                                          ; +0x212, 0x1404baa82\nmovaps  xmm2, xmm0                                                     ; +0x217, 0x1404baa87\ncall    cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x21a, 0x1404baa8a\nmov     r8, rax                                                        ; +0x220, 0x1404baa90\nlea     rdx, [rsp+78h+arg_18]                                          ; +0x223, 0x1404baa93\nlea     rcx, [rsp+78h+arg_0]                                           ; +0x22b, 0x1404baa9b\ncall    cs:??HCCPoint@cocos2d@@QEBA?AV01@AEBV01@@Z; cocos2d::CCPoint::operator+(cocos2d::CCPoint const &) ; +0x233, 0x1404baaa3\nmov     rax, [rbx]                                                     ; +0x239, 0x1404baaa9\nlea     rdx, [rsp+78h+arg_18]                                          ; +0x23c, 0x1404baaac\nmov     rcx, rbx                                                       ; +0x244, 0x1404baab4\ncall    qword ptr [rax+0B8h]                                           ; +0x247, 0x1404baab7\nmov     rax, [r14]                                                     ; +0x24d, 0x1404baabd\nmov     edx, 465h                                                      ; +0x250, 0x1404baac0\nmov     rcx, r14                                                       ; +0x255, 0x1404baac5\ncall    qword ptr [rax+1C8h]                                           ; +0x258, 0x1404baac8\nmov     rcx, [r14+380h]                                                ; +0x25e, 0x1404baace\nmov     edx, 465h                                                      ; +0x265, 0x1404baad5\nmov     rsi, rax                                                       ; +0x26a, 0x1404baada\nmov     r8, [rcx]                                                      ; +0x26d, 0x1404baadd\ncall    qword ptr [r8+1C8h]                                            ; +0x270, 0x1404baae0\nmov     r8, [rsi]                                                      ; +0x277, 0x1404baae7\nmov     rcx, rsi                                                       ; +0x27a, 0x1404baaea\nmov     rbx, rax                                                       ; +0x27d, 0x1404baaed\nmov     rdi, [rax]                                                     ; +0x280, 0x1404baaf0\ncall    qword ptr [r8+0C8h]                                            ; +0x283, 0x1404baaf3\nmov     rdx, rax                                                       ; +0x28a, 0x1404baafa\nmov     rcx, rbx                                                       ; +0x28d, 0x1404baafd\ncall    qword ptr [rdi+0B8h]                                           ; +0x290, 0x1404bab00\nmov     rax, [r14]                                                     ; +0x296, 0x1404bab06\nmov     edx, 466h                                                      ; +0x299, 0x1404bab09\nmov     rcx, r14                                                       ; +0x29e, 0x1404bab0e\ncall    qword ptr [rax+1C8h]                                           ; +0x2a1, 0x1404bab11\nmov     rcx, [r14+380h]                                                ; +0x2a7, 0x1404bab17\nmov     edx, 466h                                                      ; +0x2ae, 0x1404bab1e\nmov     rsi, rax                                                       ; +0x2b3, 0x1404bab23\nmov     r8, [rcx]                                                      ; +0x2b6, 0x1404bab26\ncall    qword ptr [r8+1C8h]                                            ; +0x2b9, 0x1404bab29\nmov     r8, [rsi]                                                      ; +0x2c0, 0x1404bab30\nmov     rcx, rsi                                                       ; +0x2c3, 0x1404bab33\nmov     rbx, rax                                                       ; +0x2c6, 0x1404bab36\nmov     rdi, [rax]                                                     ; +0x2c9, 0x1404bab39\ncall    qword ptr [r8+0C8h]                                            ; +0x2cc, 0x1404bab3c\nmov     rdx, rax                                                       ; +0x2d3, 0x1404bab43\nmov     rcx, rbx                                                       ; +0x2d6, 0x1404bab46\ncall    qword ptr [rdi+0B8h]                                           ; +0x2d9, 0x1404bab49\nmov     rax, [r14]                                                     ; +0x2df, 0x1404bab4f\nmov     edx, 467h                                                      ; +0x2e2, 0x1404bab52\nmov     rcx, r14                                                       ; +0x2e7, 0x1404bab57\ncall    qword ptr [rax+1C8h]                                           ; +0x2ea, 0x1404bab5a\nmov     edx, 467h                                                      ; +0x2f0, 0x1404bab60\nmov     rcx, [r14+380h]                                                ; +0x2f5, 0x1404bab65\nmov     rsi, rax                                                       ; +0x2fc, 0x1404bab6c\nmov     r8, [rcx]                                                      ; +0x2ff, 0x1404bab6f\ncall    qword ptr [r8+1C8h]                                            ; +0x302, 0x1404bab72\nmov     rdx, [rsi]                                                     ; +0x309, 0x1404bab79\nmov     rcx, rsi                                                       ; +0x30c, 0x1404bab7c\nmov     rbx, rax                                                       ; +0x30f, 0x1404bab7f\nmov     rdi, [rax]                                                     ; +0x312, 0x1404bab82\ncall    qword ptr [rdx+0C8h]                                           ; +0x315, 0x1404bab85\nmov     rdx, rax                                                       ; +0x31b, 0x1404bab8b\nmov     rcx, rbx                                                       ; +0x31e, 0x1404bab8e\ncall    qword ptr [rdi+0B8h]                                           ; +0x321, 0x1404bab91\nmov     rbx, [rsp+78h+arg_8]                                           ; +0x327, 0x1404bab97\nmovaps  xmm6, [rsp+78h+var_28]                                         ; +0x32f, 0x1404bab9f\nmovaps  xmm7, [rsp+78h+var_38]                                         ; +0x334, 0x1404baba4\nmovaps  xmm8, [rsp+78h+var_48]                                         ; +0x339, 0x1404baba9\nadd     rsp, 60h                                                       ; +0x33f, 0x1404babaf\npop     r14                                                            ; +0x343, 0x1404babb3\npop     rdi                                                            ; +0x345, 0x1404babb5\npop     rsi                                                            ; +0x346, 0x1404babb6\nretn                                                                   ; +0x347, 0x1404babb7", "xrefs": ["<???> @ 0x140611e48", "<???> @ 0x1406dcd34", "<???> @ 0x1406dcd40"], "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"}