//
// KeyframeObject::operator= from 0x4a6350 to 0x4a6416 (198 bytes)
//
// 2 xrefs:
// > std::vector>::operator= @ 0x4a64aa
// > std::vector>::operator= @ 0x4a64ea
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
int __fastcall KeyframeObject::operator=(int a1, __int64 *a2)
{
__int64 v3; // r2
int v5; // r0
int v6; // r1
__int64 v7; // r2
int v8; // r2
bool v9; // r3
v3 = *a2;
v5 = a1 + 32;
v6 = (int)(a2 + 4);
*(_QWORD *)(v5 - 32) = v3;
*(_DWORD *)(v5 - 24) = *(_DWORD *)(v6 - 24);
*(_DWORD *)(v5 - 20) = *(_DWORD *)(v6 - 20);
*(_BYTE *)(v5 - 16) = *(_BYTE *)(v6 - 16);
*(_DWORD *)(v5 - 12) = *(_DWORD *)(v6 - 12);
*(_DWORD *)(v5 - 8) = *(_DWORD *)(v6 - 8);
*(_BYTE *)(v5 - 4) = *(_BYTE *)(v6 - 4);
*(_BYTE *)(v5 - 3) = *(_BYTE *)(v6 - 3);
*(_BYTE *)(v5 - 2) = *(_BYTE *)(v6 - 2);
tk::spline::operator=(v5, v6);
tk::spline::operator=(a1 + 144, (int)(a2 + 18));
*(_QWORD *)(a1 + 256) = a2[32];
v7 = a2[33];
*(_QWORD *)(a1 + 264) = v7;
*(_DWORD *)(a1 + 272) = *((_DWORD *)a2 + 68);
HIDWORD(v7) = *((_DWORD *)a2 + 69);
*(_DWORD *)(a1 + 276) = HIDWORD(v7);
cocos2d::CCPoint::operator=((PlayerObject *)(a1 + 280), COERCE_FLOAT(a2 + 35), v7, SBYTE4(v7));
cocos2d::CCPoint::operator=((PlayerObject *)(a1 + 288), COERCE_FLOAT(a2 + 36), v8, v9);
*(_QWORD *)(a1 + 296) = a2[37];
*(_QWORD *)(a1 + 304) = a2[38];
*(_QWORD *)(a1 + 312) = a2[39];
*(_QWORD *)(a1 + 320) = a2[40];
*(_DWORD *)(a1 + 328) = *((_DWORD *)a2 + 82);
return a1;
}