//
// sub_1402B2900 from 0x1402b2900 to 0x1402b296c (108 bytes)
//
// 3 xrefs:
// > GJSmartTemplate::getTemplateState @ 0x1402b541f
// > sub_1402B6D20 @ 0x1402b6e05
// > ??> @ 0x1406d2378
//
// 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=1
__int64 __fastcall sub_1402B2900(__int64 a1, __int64 a2)
{
*(_QWORD *)a1 = *(_QWORD *)a2;
sub_14003BDB0(a1 + 8, a2 + 8);
sub_14003BDB0(a1 + 40, a2 + 40);
*(_DWORD *)(a1 + 72) = *(_DWORD *)(a2 + 72);
*(_BYTE *)(a1 + 76) = *(_BYTE *)(a2 + 76);
*(_DWORD *)(a1 + 80) = *(_DWORD *)(a2 + 80);
*(_BYTE *)(a1 + 84) = *(_BYTE *)(a2 + 84);
*(_BYTE *)(a1 + 85) = *(_BYTE *)(a2 + 85);
*(_BYTE *)(a1 + 86) = *(_BYTE *)(a2 + 86);
return a1;
}