//
// sub_1403B6D40 from 0x1403b6d40 to 0x1403b6dd8 (152 bytes)
//
// 3 xrefs:
// > PlayLayer::createCheckpoint @ 0x1403b5197
// > PlayLayer::loadFromCheckpoint @ 0x1403b7897
// > ??> @ 0x1406d6f80
//
// 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
//
// Hidden C++ exception states: #wind=2
__int64 __fastcall sub_1403B6D40(__int64 a1, __int64 a2)
{
unsigned __int64 v4; // rax
unsigned __int64 v5; // rax
if ( a1 != a2 )
{
*(_DWORD *)a1 = *(_DWORD *)a2;
sub_140062380((void ****)(a1 + 8), **(_QWORD ***)(a2 + 8), *(_QWORD **)(a2 + 8));
v4 = sub_14005F0F0(a1, *(_QWORD *)(a1 + 16));
sub_14005EF40((_QWORD *)a1, v4);
}
if ( a1 + 64 != a2 + 64 )
{
*(_DWORD *)(a1 + 64) = *(_DWORD *)(a2 + 64);
sub_140062380((void ****)(a1 + 72), **(_QWORD ***)(a2 + 72), *(_QWORD **)(a2 + 72));
v5 = sub_14005F0F0(a1 + 64, *(_QWORD *)(a1 + 80));
sub_14005EF40((_QWORD *)(a1 + 64), v5);
}
return a1;
}