//
// CheckpointGameObject::updateSyncedAnimation from 0x4e9368 to 0x4e95a2 (570 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 11:51:07 +0000
//
int __fastcall CheckpointGameObject::updateSyncedAnimation(CheckpointGameObject *this, float a2, int a3)
{
float v5; // s17
int v6; // r0
int (__fastcall *v7)(CheckpointGameObject *, int); // r3
int v8; // r10
void (__fastcall *v9)(int, _BYTE *); // r11
float HoverValue; // r0
int v11; // r5
int (__fastcall *v12)(int, int); // r6
int v13; // r0
int v14; // r10
void (__fastcall *v15)(int, _BYTE *); // r11
float v16; // r0
int v17; // r10
void (__fastcall *v18)(int, _BYTE *); // r11
float v19; // r0
int v20; // r10
void (__fastcall *v21)(int, _BYTE *); // r11
float v22; // r0
int v23; // r5
void (__fastcall *v24)(int, int); // r6
int v25; // r0
int v26; // r0
int v27; // r5
void (__fastcall *v28)(int, int); // r6
int v29; // r0
int v30; // r0
int v31; // r0
_BYTE v33[8]; // [sp+4h] [bp+0h] BYREF
_BYTE v34[8]; // [sp+Ch] [bp+8h] BYREF
_BYTE v35[8]; // [sp+14h] [bp+10h] BYREF
v5 = *(float *)(*(int (__fastcall **)(CheckpointGameObject *, _DWORD, int))(*(_DWORD *)this + 164))(
this,
LODWORD(a2),
a3);
v6 = (*(int (__fastcall **)(CheckpointGameObject *))(*(_DWORD *)this + 164))(this);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v33, v5 * 0.5, *(float *)(v6 + 4) * 0.5);
v7 = *(int (__fastcall **)(CheckpointGameObject *, int))(*(_DWORD *)this + 240);
if ( *((_BYTE *)this + 1648) )
{
v8 = v7(this, 1128);
v9 = *(void (__fastcall **)(int, _BYTE *))(*(_DWORD *)v8 + 92);
HoverValue = getHoverValue(a2, 3.0, 5.0, 2.0);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v34, 0.0, HoverValue + 0.0);
cocos2d::CCPoint::operator+(v35, v33, v34);
v9(v8, v35);
v11 = (*(int (__fastcall **)(_DWORD, int))(**((_DWORD **)this + 189) + 240))(*((_DWORD *)this + 189), 1128);
v12 = *(int (__fastcall **)(int, int))(*(_DWORD *)v11 + 92);
v13 = (*(int (__fastcall **)(CheckpointGameObject *, int))(*(_DWORD *)this + 240))(this, 1128);
}
else
{
v14 = v7(this, 1125);
v15 = *(void (__fastcall **)(int, _BYTE *))(*(_DWORD *)v14 + 92);
v16 = getHoverValue(a2, 4.5, 4.5, 1.8);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v34, -1.0, v16);
cocos2d::CCPoint::operator+(v35, v33, v34);
v15(v14, v35);
v17 = (*(int (__fastcall **)(CheckpointGameObject *, int))(*(_DWORD *)this + 240))(this, 1126);
v18 = *(void (__fastcall **)(int, _BYTE *))(*(_DWORD *)v17 + 92);
v19 = getHoverValue(a2, 3.3, 3.3, 1.8);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v34, 0.5, v19);
cocos2d::CCPoint::operator+(v35, v33, v34);
v18(v17, v35);
v20 = (*(int (__fastcall **)(CheckpointGameObject *, int))(*(_DWORD *)this + 240))(this, 1127);
v21 = *(void (__fastcall **)(int, _BYTE *))(*(_DWORD *)v20 + 92);
v22 = getHoverValue(a2, 3.0, 3.0, 1.8);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v34, 0.5, v22 - 1.0);
cocos2d::CCPoint::operator+(v35, v33, v34);
v21(v20, v35);
v23 = (*(int (__fastcall **)(_DWORD, int))(**((_DWORD **)this + 189) + 240))(*((_DWORD *)this + 189), 1125);
v24 = *(void (__fastcall **)(int, int))(*(_DWORD *)v23 + 92);
v25 = (*(int (__fastcall **)(CheckpointGameObject *, int))(*(_DWORD *)this + 240))(this, 1125);
v26 = (*(int (__fastcall **)(int))(*(_DWORD *)v25 + 96))(v25);
v24(v23, v26);
v27 = (*(int (__fastcall **)(_DWORD, int))(**((_DWORD **)this + 189) + 240))(*((_DWORD *)this + 189), 1126);
v28 = *(void (__fastcall **)(int, int))(*(_DWORD *)v27 + 92);
v29 = (*(int (__fastcall **)(CheckpointGameObject *, int))(*(_DWORD *)this + 240))(this, 1126);
v30 = (*(int (__fastcall **)(int))(*(_DWORD *)v29 + 96))(v29);
v28(v27, v30);
v11 = (*(int (__fastcall **)(_DWORD, int))(**((_DWORD **)this + 189) + 240))(*((_DWORD *)this + 189), 1127);
v12 = *(int (__fastcall **)(int, int))(*(_DWORD *)v11 + 92);
v13 = (*(int (__fastcall **)(CheckpointGameObject *, int))(*(_DWORD *)this + 240))(this, 1127);
}
v31 = (*(int (__fastcall **)(int))(*(_DWORD *)v13 + 96))(v13);
return v12(v11, v31);
}