//
// GameObject::setStartPos from 0x76c760 to 0x76c7f0 (144 bytes)
//
// 50 xrefs:
// > TeleportPortalObject::setStartPosOverride @ 0x879b7c
// > TeleportPortalObject::setStartPos @ 0x879d00
// > ??> @ 0x105208
// > ??> @ 0x14337f8
// > ??> @ 0x14345e8
// > ??> @ 0x1434dc8
// > ??> @ 0x14355d8
// > ??> @ 0x1443938
// > ??> @ 0x1444148
// > ??> @ 0x1444958
// > ??> @ 0x1445168
// > ??> @ 0x1445978
// > ??> @ 0x1446188
// > ??> @ 0x1446998
// > ??> @ 0x14471a8
// > ??> @ 0x1447988
// > ??> @ 0x1448198
// > ??> @ 0x14489a8
// > ??> @ 0x14491b8
// > ??> @ 0x14499c8
// > ??> @ 0x144a218
// > ??> @ 0x144aa28
// > ??> @ 0x144b238
// > ??> @ 0x144ba48
// > ??> @ 0x144ca78
// > ??> @ 0x144d288
// > ??> @ 0x144da98
// > ??> @ 0x144e2a8
// > ??> @ 0x144eab8
// > ??> @ 0x144f2c8
// > ??> @ 0x144fad8
// > ??> @ 0x14502e8
// > ??> @ 0x1450af8
// > ??> @ 0x1451308
// > ??> @ 0x1451b18
// > ??> @ 0x1452328
// > ??> @ 0x1452b38
// > ??> @ 0x1453348
// > ??> @ 0x1453b58
// > ??> @ 0x1454368
// > ??> @ 0x1454b78
// > ??> @ 0x1455388
// > ??> @ 0x1455b98
// > ??> @ 0x14563a8
// > ??> @ 0x1456bb8
// > ??> @ 0x14573c8
// > ??> @ 0x1457bd8
// > ??> @ 0x14583e8
// > ??> @ 0x1458bf8
// > ??> @ 0x1459428
//
// This function is hookable on this platform (idp: arm, 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 12:53:11 +0000
//
__int64 __fastcall GameObject::setStartPos(__int64 a1, float *a2)
{
__int64 v2; // x21
long double v5; // q0
v2 = a1 + 960;
if ( !(unsigned __int8)cocos2d::CCPoint::equals((cocos2d::CCPoint *)(a1 + 960), (const cocos2d::CCPoint *)a2) )
{
*(_BYTE *)(a1 + 864) = 1;
*(_BYTE *)(a1 + 865) = 1;
*(_BYTE *)(a1 + 840) = 1;
}
cocos2d::CCPoint::operator=(v2, a2);
*(double *)(a1 + 944) = *a2;
*(double *)(a1 + 952) = a2[1];
*(__n128 *)&v5 = cocos2d::CCPoint::operator=(a1 + 1224, a2);
return (*(__int64 (__fastcall **)(__int64, float *, long double))(*(_QWORD *)a1 + 184LL))(a1, a2, v5);
}