{"type": "func", "start": 4112108, "end": 4112678, "name": "CheckpointGameObject::updateSyncedAnimation", "pseudocode": "// \n// CheckpointGameObject::updateSyncedAnimation from 0x3ebeec to 0x3ec126 (570 bytes)\n// \n// 0 xrefs:\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\nvoid CheckpointGameObject::updateSyncedAnimation(CheckpointGameObject *a1, float a2, int a3)\n{\n  float v5; // s17\n  const cocos2d::CCSize *v6; // r0\n  cocos2d::CCNode *(__fastcall *getChildByTag)(cocos2d::CCNode *__hidden, int); // r3\n  int v8; // r10\n  void (__fastcall *v9)(int, cocos2d::CCPoint *); // r11\n  float HoverValue; // r0\n  cocos2d::CCNode *v11; // r5\n  void (__fastcall *setPosition)(cocos2d::CCNode *__hidden, const cocos2d::CCPoint *); // r6\n  cocos2d::CCNode *v13; // r0\n  int v14; // r10\n  void (__fastcall *v15)(int, cocos2d::CCPoint *); // r11\n  float v16; // r0\n  cocos2d::CCNode *v17; // r10\n  void (__fastcall *v18)(cocos2d::CCNode *__hidden, const cocos2d::CCPoint *); // r11\n  float v19; // r0\n  cocos2d::CCNode *v20; // r10\n  void (__fastcall *v21)(cocos2d::CCNode *__hidden, const cocos2d::CCPoint *); // r11\n  float v22; // r0\n  cocos2d::CCNode *v23; // r5\n  void (__fastcall *v24)(cocos2d::CCNode *__hidden, const cocos2d::CCPoint *); // r6\n  cocos2d::CCNode *v25; // r0\n  int v26; // r0\n  cocos2d::CCNode *v27; // r5\n  void (__fastcall *v28)(cocos2d::CCNode *__hidden, const cocos2d::CCPoint *); // r6\n  cocos2d::CCNode *v29; // r0\n  int v30; // r0\n  int v31; // r0\n  cocos2d::CCPoint v32; // [sp+4h] [bp+0h] BYREF\n  cocos2d::CCPoint v33; // [sp+Ch] [bp+8h] BYREF\n  cocos2d::CCPoint v34; // [sp+14h] [bp+10h] BYREF\n\n  v5 = *(float *)((int (__fastcall *)(CheckpointGameObject *, _DWORD, int))a1->getContentSize)(a1, LODWORD(a2), a3);\n  v6 = a1->getContentSize(a1);\n  cocos2d::CCPoint::CCPoint(&v32, v5 * 0.5, v6->height * 0.5);\n  getChildByTag = a1->getChildByTag;\n  if ( a1->m_checkpointActivated )\n  {\n    v8 = (int)getChildByTag(a1, 1128);\n    v9 = *(void (__fastcall **)(int, cocos2d::CCPoint *))(*(_DWORD *)v8 + 92);\n    HoverValue = getHoverValue(a2, 3.0, 5.0, 2.0);\n    cocos2d::CCPoint::CCPoint(&v33, 0.0, HoverValue + 0.0);\n    cocos2d::CCPoint::operator+(&v34, &v32, &v33);\n    v9(v8, &v34);\n    v11 = a1->m_colorSprite->getChildByTag(a1->m_colorSprite, 1128);\n    setPosition = v11->setPosition;\n    v13 = a1->getChildByTag(a1, 1128);\n  }\n  else\n  {\n    v14 = (int)getChildByTag(a1, 1125);\n    v15 = *(void (__fastcall **)(int, cocos2d::CCPoint *))(*(_DWORD *)v14 + 92);\n    v16 = getHoverValue(a2, 4.5, 4.5, 1.8);\n    cocos2d::CCPoint::CCPoint(&v33, -1.0, v16);\n    cocos2d::CCPoint::operator+(&v34, &v32, &v33);\n    v15(v14, &v34);\n    v17 = a1->getChildByTag(a1, 1126);\n    v18 = v17->setPosition;\n    v19 = getHoverValue(a2, 3.3, 3.3, 1.8);\n    cocos2d::CCPoint::CCPoint(&v33, 0.5, v19);\n    cocos2d::CCPoint::operator+(&v34, &v32, &v33);\n    v18(v17, &v34);\n    v20 = a1->getChildByTag(a1, 1127);\n    v21 = v20->setPosition;\n    v22 = getHoverValue(a2, 3.0, 3.0, 1.8);\n    cocos2d::CCPoint::CCPoint(&v33, 0.5, v22 - 1.0);\n    cocos2d::CCPoint::operator+(&v34, &v32, &v33);\n    v21(v20, &v34);\n    v23 = a1->m_colorSprite->getChildByTag(a1->m_colorSprite, 1125);\n    v24 = v23->setPosition;\n    v25 = a1->getChildByTag(a1, 1125);\n    v26 = (int)v25->getPosition(v25);\n    v24(v23, (const cocos2d::CCPoint *)v26);\n    v27 = a1->m_colorSprite->getChildByTag(a1->m_colorSprite, 1126);\n    v28 = v27->setPosition;\n    v29 = a1->getChildByTag(a1, 1126);\n    v30 = (int)v29->getPosition(v29);\n    v28(v27, (const cocos2d::CCPoint *)v30);\n    v11 = a1->m_colorSprite->getChildByTag(a1->m_colorSprite, 1127);\n    setPosition = v11->setPosition;\n    v13 = a1->getChildByTag(a1, 1127);\n  }\n  v31 = (int)v13->getPosition(v13);\n  setPosition(v11, (const cocos2d::CCPoint *)v31);\n}", "assembly": "; \n; CheckpointGameObject::updateSyncedAnimation from 0x3ebeec to 0x3ec126 (570 bytes)\n; \n; 0 xrefs:\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\nPUSH.W          {R4-R11,LR}                                            ; +0x0, 0x3ebeec\nMOV             R4, R0                                                 ; +0x4, 0x3ebef0\nLDR.W           R9, =(__stack_chk_guard_ptr - 0x3EBF00)                ; +0x6, 0x3ebef2\nMOV             R8, R1                                                 ; +0xa, 0x3ebef6\nVPUSH           {D8}                                                   ; +0xc, 0x3ebef8\nADD             R9, PC; __stack_chk_guard_ptr                          ; +0x10, 0x3ebefc\nLDR.W           R9, [R9]; __stack_chk_guard                            ; +0x12, 0x3ebefe\nLDR.W           R3, [R9]                                               ; +0x16, 0x3ebf02\nVMOV.F32        S16, #0.5                                              ; +0x1a, 0x3ebf06\nSUB             SP, SP, #0x24                                          ; +0x1e, 0x3ebf0a\nADD             R7, SP, #4                                             ; +0x20, 0x3ebf0c\nADD             R5, SP, #0x24+var_18                                   ; +0x22, 0x3ebf0e\nSTR             R3, [SP,#0x24+var_8]                                   ; +0x24, 0x3ebf10\nLDR             R3, [R0]                                               ; +0x26, 0x3ebf12\nLDR.W           R3, [R3,#0x9C]                                         ; +0x28, 0x3ebf14\nBLX             R3                                                     ; +0x2c, 0x3ebf18\nLDR             R3, [R4]                                               ; +0x2e, 0x3ebf1a\nLDR.W           R3, [R3,#0x9C]                                         ; +0x30, 0x3ebf1c\nVLDR            S17, [R0]                                              ; +0x34, 0x3ebf20\nMOV             R0, R4                                                 ; +0x38, 0x3ebf24\nBLX             R3                                                     ; +0x3a, 0x3ebf26\nVMUL.F32        S17, S17, S16                                          ; +0x3c, 0x3ebf28\nVMOV            R1, S17; float                                         ; +0x40, 0x3ebf2c\nVLDR            S15, [R0,#4]                                           ; +0x44, 0x3ebf30\nMOV             R0, R7; this                                           ; +0x48, 0x3ebf34\nVMUL.F32        S15, S15, S16                                          ; +0x4a, 0x3ebf36\nVMOV            R2, S15; float                                         ; +0x4e, 0x3ebf3a\nBL              _ZN7cocos2d7CCPointC1Eff; cocos2d::CCPoint::CCPoint(float,float) ; +0x52, 0x3ebf3e\nLDR             R3, [R4]                                               ; +0x56, 0x3ebf42\nLDRB.W          R2, [R4,#0x664]                                        ; +0x58, 0x3ebf44\nMOV             R0, R4                                                 ; +0x5c, 0x3ebf48\nLDR.W           R3, [R3,#0xE8]                                         ; +0x5e, 0x3ebf4a\nCMP             R2, #0                                                 ; +0x62, 0x3ebf4e\nBEQ             loc_3EBFBE                                             ; +0x64, 0x3ebf50\nMOV.W           R1, #0x468                                             ; +0x66, 0x3ebf52\nADD             R6, SP, #0x24+var_10                                   ; +0x6a, 0x3ebf56\nBLX             R3                                                     ; +0x6c, 0x3ebf58\nLDR             R1, flt_3EC128; float                                  ; +0x6e, 0x3ebf5a\nLDR             R2, flt_3EC12C; float                                  ; +0x70, 0x3ebf5c\nLDR             R3, [R0]                                               ; +0x72, 0x3ebf5e\nMOV             R10, R0                                                ; +0x74, 0x3ebf60\nMOV             R0, R8; float                                          ; +0x76, 0x3ebf62\nLDR.W           R11, [R3,#0x5C]                                        ; +0x78, 0x3ebf64\nMOV.W           R3, #0x40000000; float                                 ; +0x7c, 0x3ebf68\nBL              _Z13getHoverValueffff; getHoverValue(float,float,float,float) ; +0x80, 0x3ebf6c\nVLDR            S15, =0.0                                              ; +0x84, 0x3ebf70\nVMOV            R1, S15; float                                         ; +0x88, 0x3ebf74\nVMOV            S14, R0                                                ; +0x8c, 0x3ebf78\nMOV             R0, R5; this                                           ; +0x90, 0x3ebf7c\nVADD.F32        S14, S14, S15                                          ; +0x92, 0x3ebf7e\nVMOV            R2, S14; float                                         ; +0x96, 0x3ebf82\nBL              _ZN7cocos2d7CCPointC1Eff; cocos2d::CCPoint::CCPoint(float,float) ; +0x9a, 0x3ebf86\nMOV             R2, R5                                                 ; +0x9e, 0x3ebf8a\nMOV             R0, R6                                                 ; +0xa0, 0x3ebf8c\nMOV             R1, R7                                                 ; +0xa2, 0x3ebf8e\nBL              _ZNK7cocos2d7CCPointplERKS0_; cocos2d::CCPoint::operator+(cocos2d::CCPoint const&) ; +0xa4, 0x3ebf90\nMOV             R1, R6                                                 ; +0xa8, 0x3ebf94\nMOV             R0, R10                                                ; +0xaa, 0x3ebf96\nBLX             R11                                                    ; +0xac, 0x3ebf98\nLDR.W           R0, [R4,#0x2EC]                                        ; +0xae, 0x3ebf9a\nMOV.W           R1, #0x468                                             ; +0xb2, 0x3ebf9e\nLDR             R3, [R0]                                               ; +0xb6, 0x3ebfa2\nLDR.W           R3, [R3,#0xE8]                                         ; +0xb8, 0x3ebfa4\nBLX             R3                                                     ; +0xbc, 0x3ebfa8\nMOV.W           R1, #0x468                                             ; +0xbe, 0x3ebfaa\nLDR             R3, [R0]                                               ; +0xc2, 0x3ebfae\nMOV             R5, R0                                                 ; +0xc4, 0x3ebfb0\nMOV             R0, R4                                                 ; +0xc6, 0x3ebfb2\nLDR             R6, [R3,#0x5C]                                         ; +0xc8, 0x3ebfb4\nLDR             R3, [R4]                                               ; +0xca, 0x3ebfb6\nLDR.W           R3, [R3,#0xE8]                                         ; +0xcc, 0x3ebfb8\nB               loc_3EC100                                             ; +0xd0, 0x3ebfbc\nMOVW            R1, #0x465                                             ; +0xd2, 0x3ebfbe\nADD             R6, SP, #0x24+var_10                                   ; +0xd6, 0x3ebfc2\nBLX             R3                                                     ; +0xd8, 0x3ebfc4\nLDR             R1, flt_3EC134; float                                  ; +0xda, 0x3ebfc6\nMOV             R2, R1; float                                          ; +0xdc, 0x3ebfc8\nLDR             R3, [R0]                                               ; +0xde, 0x3ebfca\nMOV             R10, R0                                                ; +0xe0, 0x3ebfcc\nMOV             R0, R8; float                                          ; +0xe2, 0x3ebfce\nLDR.W           R11, [R3,#0x5C]                                        ; +0xe4, 0x3ebfd0\nLDR             R3, flt_3EC138; float                                  ; +0xe8, 0x3ebfd4\nBL              _Z13getHoverValueffff; getHoverValue(float,float,float,float) ; +0xea, 0x3ebfd6\nLDR             R1, flt_3EC13C; float                                  ; +0xee, 0x3ebfda\nMOV             R2, R0; float                                          ; +0xf0, 0x3ebfdc\nMOV             R0, R5; this                                           ; +0xf2, 0x3ebfde\nBL              _ZN7cocos2d7CCPointC1Eff; cocos2d::CCPoint::CCPoint(float,float) ; +0xf4, 0x3ebfe0\nMOV             R2, R5                                                 ; +0xf8, 0x3ebfe4\nMOV             R0, R6                                                 ; +0xfa, 0x3ebfe6\nMOV             R1, R7                                                 ; +0xfc, 0x3ebfe8\nBL              _ZNK7cocos2d7CCPointplERKS0_; cocos2d::CCPoint::operator+(cocos2d::CCPoint const&) ; +0xfe, 0x3ebfea\nMOV             R0, R10                                                ; +0x102, 0x3ebfee\nMOV             R1, R6                                                 ; +0x104, 0x3ebff0\nBLX             R11                                                    ; +0x106, 0x3ebff2\nLDR             R3, [R4]                                               ; +0x108, 0x3ebff4\nMOVW            R1, #0x466                                             ; +0x10a, 0x3ebff6\nMOV             R0, R4                                                 ; +0x10e, 0x3ebffa\nLDR.W           R3, [R3,#0xE8]                                         ; +0x110, 0x3ebffc\nBLX             R3                                                     ; +0x114, 0x3ec000\nLDR             R1, flt_3EC140; float                                  ; +0x116, 0x3ec002\nMOV             R2, R1; float                                          ; +0x118, 0x3ec004\nLDR             R3, [R0]                                               ; +0x11a, 0x3ec006\nMOV             R10, R0                                                ; +0x11c, 0x3ec008\nMOV             R0, R8; float                                          ; +0x11e, 0x3ec00a\nLDR.W           R11, [R3,#0x5C]                                        ; +0x120, 0x3ec00c\nLDR             R3, flt_3EC138; float                                  ; +0x124, 0x3ec010\nBL              _Z13getHoverValueffff; getHoverValue(float,float,float,float) ; +0x126, 0x3ec012\nVMOV            R1, S16; float                                         ; +0x12a, 0x3ec016\nMOV             R2, R0; float                                          ; +0x12e, 0x3ec01a\nMOV             R0, R5; this                                           ; +0x130, 0x3ec01c\nBL              _ZN7cocos2d7CCPointC1Eff; cocos2d::CCPoint::CCPoint(float,float) ; +0x132, 0x3ec01e\nMOV             R2, R5                                                 ; +0x136, 0x3ec022\nMOV             R0, R6                                                 ; +0x138, 0x3ec024\nMOV             R1, R7                                                 ; +0x13a, 0x3ec026\nBL              _ZNK7cocos2d7CCPointplERKS0_; cocos2d::CCPoint::operator+(cocos2d::CCPoint const&) ; +0x13c, 0x3ec028\nMOV             R0, R10                                                ; +0x140, 0x3ec02c\nMOV             R1, R6                                                 ; +0x142, 0x3ec02e\nBLX             R11                                                    ; +0x144, 0x3ec030\nLDR             R3, [R4]                                               ; +0x146, 0x3ec032\nMOVW            R1, #0x467                                             ; +0x148, 0x3ec034\nMOV             R0, R4                                                 ; +0x14c, 0x3ec038\nLDR.W           R3, [R3,#0xE8]                                         ; +0x14e, 0x3ec03a\nBLX             R3                                                     ; +0x152, 0x3ec03e\nLDR             R1, flt_3EC128; float                                  ; +0x154, 0x3ec040\nMOV             R2, R1; float                                          ; +0x156, 0x3ec042\nLDR             R3, [R0]                                               ; +0x158, 0x3ec044\nMOV             R10, R0                                                ; +0x15a, 0x3ec046\nMOV             R0, R8; float                                          ; +0x15c, 0x3ec048\nLDR.W           R11, [R3,#0x5C]                                        ; +0x15e, 0x3ec04a\nLDR             R3, flt_3EC138; float                                  ; +0x162, 0x3ec04e\nBL              _Z13getHoverValueffff; getHoverValue(float,float,float,float) ; +0x164, 0x3ec050\nVMOV.F32        S15, #1.0                                              ; +0x168, 0x3ec054\nVMOV            R1, S16; float                                         ; +0x16c, 0x3ec058\nVMOV            S14, R0                                                ; +0x170, 0x3ec05c\nMOV             R0, R5; this                                           ; +0x174, 0x3ec060\nVSUB.F32        S15, S14, S15                                          ; +0x176, 0x3ec062\nVMOV            R2, S15; float                                         ; +0x17a, 0x3ec066\nBL              _ZN7cocos2d7CCPointC1Eff; cocos2d::CCPoint::CCPoint(float,float) ; +0x17e, 0x3ec06a\nMOV             R2, R5                                                 ; +0x182, 0x3ec06e\nMOV             R0, R6                                                 ; +0x184, 0x3ec070\nMOV             R1, R7                                                 ; +0x186, 0x3ec072\nBL              _ZNK7cocos2d7CCPointplERKS0_; cocos2d::CCPoint::operator+(cocos2d::CCPoint const&) ; +0x188, 0x3ec074\nMOV             R1, R6                                                 ; +0x18c, 0x3ec078\nMOV             R0, R10                                                ; +0x18e, 0x3ec07a\nBLX             R11                                                    ; +0x190, 0x3ec07c\nLDR.W           R0, [R4,#0x2EC]                                        ; +0x192, 0x3ec07e\nMOVW            R1, #0x465                                             ; +0x196, 0x3ec082\nLDR             R3, [R0]                                               ; +0x19a, 0x3ec086\nLDR.W           R3, [R3,#0xE8]                                         ; +0x19c, 0x3ec088\nBLX             R3                                                     ; +0x1a0, 0x3ec08c\nMOVW            R1, #0x465                                             ; +0x1a2, 0x3ec08e\nLDR             R3, [R0]                                               ; +0x1a6, 0x3ec092\nMOV             R5, R0                                                 ; +0x1a8, 0x3ec094\nMOV             R0, R4                                                 ; +0x1aa, 0x3ec096\nLDR             R6, [R3,#0x5C]                                         ; +0x1ac, 0x3ec098\nLDR             R3, [R4]                                               ; +0x1ae, 0x3ec09a\nLDR.W           R3, [R3,#0xE8]                                         ; +0x1b0, 0x3ec09c\nBLX             R3                                                     ; +0x1b4, 0x3ec0a0\nLDR             R3, [R0]                                               ; +0x1b6, 0x3ec0a2\nLDR             R3, [R3,#0x60]                                         ; +0x1b8, 0x3ec0a4\nBLX             R3                                                     ; +0x1ba, 0x3ec0a6\nMOV             R1, R0                                                 ; +0x1bc, 0x3ec0a8\nMOV             R0, R5                                                 ; +0x1be, 0x3ec0aa\nBLX             R6                                                     ; +0x1c0, 0x3ec0ac\nLDR.W           R0, [R4,#0x2EC]                                        ; +0x1c2, 0x3ec0ae\nMOVW            R1, #0x466                                             ; +0x1c6, 0x3ec0b2\nLDR             R3, [R0]                                               ; +0x1ca, 0x3ec0b6\nLDR.W           R3, [R3,#0xE8]                                         ; +0x1cc, 0x3ec0b8\nBLX             R3                                                     ; +0x1d0, 0x3ec0bc\nMOVW            R1, #0x466                                             ; +0x1d2, 0x3ec0be\nLDR             R3, [R0]                                               ; +0x1d6, 0x3ec0c2\nMOV             R5, R0                                                 ; +0x1d8, 0x3ec0c4\nMOV             R0, R4                                                 ; +0x1da, 0x3ec0c6\nLDR             R6, [R3,#0x5C]                                         ; +0x1dc, 0x3ec0c8\nLDR             R3, [R4]                                               ; +0x1de, 0x3ec0ca\nLDR.W           R3, [R3,#0xE8]                                         ; +0x1e0, 0x3ec0cc\nBLX             R3                                                     ; +0x1e4, 0x3ec0d0\nLDR             R3, [R0]                                               ; +0x1e6, 0x3ec0d2\nLDR             R3, [R3,#0x60]                                         ; +0x1e8, 0x3ec0d4\nBLX             R3                                                     ; +0x1ea, 0x3ec0d6\nMOV             R1, R0                                                 ; +0x1ec, 0x3ec0d8\nMOV             R0, R5                                                 ; +0x1ee, 0x3ec0da\nBLX             R6                                                     ; +0x1f0, 0x3ec0dc\nLDR.W           R0, [R4,#0x2EC]                                        ; +0x1f2, 0x3ec0de\nMOVW            R1, #0x467                                             ; +0x1f6, 0x3ec0e2\nLDR             R3, [R0]                                               ; +0x1fa, 0x3ec0e6\nLDR.W           R3, [R3,#0xE8]                                         ; +0x1fc, 0x3ec0e8\nBLX             R3                                                     ; +0x200, 0x3ec0ec\nMOVW            R1, #0x467                                             ; +0x202, 0x3ec0ee\nLDR             R3, [R0]                                               ; +0x206, 0x3ec0f2\nMOV             R5, R0                                                 ; +0x208, 0x3ec0f4\nMOV             R0, R4                                                 ; +0x20a, 0x3ec0f6\nLDR             R6, [R3,#0x5C]                                         ; +0x20c, 0x3ec0f8\nLDR             R3, [R4]                                               ; +0x20e, 0x3ec0fa\nLDR.W           R3, [R3,#0xE8]                                         ; +0x210, 0x3ec0fc\nBLX             R3                                                     ; +0x214, 0x3ec100\nLDR             R3, [R0]                                               ; +0x216, 0x3ec102\nLDR             R3, [R3,#0x60]                                         ; +0x218, 0x3ec104\nBLX             R3                                                     ; +0x21a, 0x3ec106\nMOV             R1, R0                                                 ; +0x21c, 0x3ec108\nMOV             R0, R5                                                 ; +0x21e, 0x3ec10a\nBLX             R6                                                     ; +0x220, 0x3ec10c\nLDR             R2, [SP,#0x24+var_8]                                   ; +0x222, 0x3ec10e\nLDR.W           R3, [R9]                                               ; +0x224, 0x3ec110\nCMP             R2, R3                                                 ; +0x228, 0x3ec114\nBEQ             loc_3EC11C                                             ; +0x22a, 0x3ec116\nBLX             __stack_chk_fail                                       ; +0x22c, 0x3ec118\nADD             SP, SP, #0x24 ; '$'                                    ; +0x230, 0x3ec11c\nVPOP            {D8}                                                   ; +0x232, 0x3ec11e\nPOP.W           {R4-R11,PC}                                            ; +0x236, 0x3ec122", "xrefs": [], "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"}