//
// CheckpointGameObject::updateSyncedAnimation from 0x87f0a0 to 0x87f414 (884 bytes)
//
// 2 xrefs:
// > ??> @ 0xbb750
// > ??> @ 0x1450cd8
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 12:55:54 +0000
//
__int64 __fastcall CheckpointGameObject::updateSyncedAnimation(CheckpointGameObject *this, float a2)
{
__int64 v4; // x0
__int64 v5; // x2
__int64 v6; // x24
void (__fastcall *v7)(__int64, __int64 *); // x25
float v8; // s0
__int64 v9; // x24
void (__fastcall *v10)(__int64, __int64 *); // x25
float v11; // s0
__int64 v12; // x24
void (__fastcall *v13)(__int64, __int64 *); // x25
float v14; // s0
__int64 v15; // x20
void (__fastcall *v16)(__int64, __int64); // x21
__int64 v17; // x0
__int64 v18; // x0
__int64 v19; // x20
void (__fastcall *v20)(__int64, __int64); // x21
__int64 v21; // x0
__int64 v22; // x0
__int64 v23; // x20
_QWORD *v24; // x2
__int64 v25; // x1
CheckpointGameObject *v26; // x0
void (__fastcall *v27)(__int64, __int64); // x19
__int64 v28; // x0
__int64 v29; // x0
__int64 v31; // x24
void (__fastcall *v32)(__int64, __int64 *); // x25
float HoverValue; // s0
float v34; // [xsp+60h] [xbp+60h]
_BYTE v35[8]; // [xsp+70h] [xbp+70h] BYREF
_BYTE v36[8]; // [xsp+78h] [xbp+78h] BYREF
__int64 v37; // [xsp+80h] [xbp+80h] BYREF
v34 = *(float *)(*(__int64 (__fastcall **)(CheckpointGameObject *))(*(_QWORD *)this + 328LL))(this) * 0.5;
v4 = (*(__int64 (__fastcall **)(CheckpointGameObject *))(*(_QWORD *)this + 328LL))(this);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v35, v34, *(float *)(v4 + 4) * 0.5);
v5 = *(_QWORD *)this;
if ( *((_BYTE *)this + 1840) )
{
v31 = (*(__int64 (__fastcall **)(CheckpointGameObject *, __int64))(v5 + 480))(this, 1128);
v32 = *(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v31 + 184LL);
HoverValue = getHoverValue(a2, 3.0, 5.0, 2.0);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v36, 0.0, HoverValue + 0.0);
cocos2d::CCPoint::operator+(&v37, v35);
v32(v31, &v37);
v23 = (*(__int64 (__fastcall **)(_QWORD, __int64))(**((_QWORD **)this + 111) + 480LL))(
*((_QWORD *)this + 111),
1128);
v24 = *(_QWORD **)this;
v26 = this;
v25 = 1128;
}
else
{
v6 = (*(__int64 (__fastcall **)(CheckpointGameObject *, __int64))(v5 + 480))(this, 1125);
v7 = *(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v6 + 184LL);
v8 = getHoverValue(a2, 4.5, 4.5, 1.8);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v36, -1.0, v8);
cocos2d::CCPoint::operator+(&v37, v35);
v7(v6, &v37);
v9 = (*(__int64 (__fastcall **)(CheckpointGameObject *, __int64))(*(_QWORD *)this + 480LL))(this, 1126);
v10 = *(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v9 + 184LL);
v11 = getHoverValue(a2, 3.3, 3.3, 1.8);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v36, 0.5, v11);
cocos2d::CCPoint::operator+(&v37, v35);
v10(v9, &v37);
v12 = (*(__int64 (__fastcall **)(CheckpointGameObject *, __int64))(*(_QWORD *)this + 480LL))(this, 1127);
v13 = *(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v12 + 184LL);
v14 = getHoverValue(a2, 3.0, 3.0, 1.8);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v36, 0.5, v14 - 1.0);
cocos2d::CCPoint::operator+(&v37, v35);
v13(v12, &v37);
v15 = (*(__int64 (__fastcall **)(_QWORD, __int64))(**((_QWORD **)this + 111) + 480LL))(
*((_QWORD *)this + 111),
1125);
v16 = *(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v15 + 184LL);
v17 = (*(__int64 (__fastcall **)(CheckpointGameObject *, __int64))(*(_QWORD *)this + 480LL))(this, 1125);
v18 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v17 + 192LL))(v17);
v16(v15, v18);
v19 = (*(__int64 (__fastcall **)(_QWORD, __int64))(**((_QWORD **)this + 111) + 480LL))(
*((_QWORD *)this + 111),
1126);
v20 = *(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v19 + 184LL);
v21 = (*(__int64 (__fastcall **)(CheckpointGameObject *, __int64))(*(_QWORD *)this + 480LL))(this, 1126);
v22 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v21 + 192LL))(v21);
v20(v19, v22);
v23 = (*(__int64 (__fastcall **)(_QWORD, __int64))(**((_QWORD **)this + 111) + 480LL))(
*((_QWORD *)this + 111),
1127);
v24 = *(_QWORD **)this;
v25 = 1127;
v26 = this;
}
v27 = *(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v23 + 184LL);
v28 = ((__int64 (__fastcall *)(CheckpointGameObject *, __int64))v24[60])(v26, v25);
v29 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v28 + 192LL))(v28);
v27(v23, v29);
return _stack_chk_guard;
}