//
// sub_14051E470 from 0x14051e470 to 0x14051e4d2 (98 bytes)
//
// 3 xrefs:
// > sub_14051D8F0 @ 0x14051d9c1
// > ??> @ 0x14092b2ec
// > ??> @ 0x14092b2f8
//
// This function is hookable on this platform (idp: pc, 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 11:33:36 +0000
//
__int64 __fastcall sub_14051E470(__int64 a1, __int64 a2, __int64 a3)
{
__int64 result; // rax
*(_DWORD *)a2 = *(_DWORD *)a3;
*(_QWORD *)(a2 + 8) = *(_QWORD *)(a3 + 8);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)(a2 + 16), (const struct cocos2d::CCPoint *)(a3 + 16));
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)(a2 + 24), (const struct cocos2d::CCPoint *)(a3 + 24));
*(_DWORD *)(a2 + 32) = *(_DWORD *)(a3 + 32);
*(_DWORD *)(a2 + 36) = *(_DWORD *)(a3 + 36);
*(_DWORD *)(a2 + 40) = *(_DWORD *)(a3 + 40);
*(_DWORD *)(a2 + 44) = *(_DWORD *)(a3 + 44);
result = *(unsigned int *)(a3 + 48);
*(_DWORD *)(a2 + 48) = result;
return result;
}