//
// GameObject::setStartPos from 0x14028d700 to 0x14028d794 (148 bytes)
//
// 49 xrefs:
// > TeleportPortalObject::setStartPos @ 0x14065381e
// > TeleportPortalObject::setStartPos @ 0x14065387e
// > ??> @ 0x140754b28
// > ??> @ 0x1407552a8
// > ??> @ 0x14075e670
// > ??> @ 0x14075ed78
// > ??> @ 0x1407d4c88
// > ??> @ 0x14081f180
// > ??> @ 0x14081f8b0
// > ??> @ 0x1408200f8
// > ??> @ 0x140820850
// > ??> @ 0x140820f08
// > ??> @ 0x140821670
// > ??> @ 0x140821d28
// > ??> @ 0x140822408
// > ??> @ 0x140822ac0
// > ??> @ 0x140823b18
// > ??> @ 0x1408241d0
// > ??> @ 0x1408249c8
// > ??> @ 0x140825080
// > ??> @ 0x140825738
// > ??> @ 0x140825fa8
// > ??> @ 0x1408267a0
// > ??> @ 0x140826f48
// > ??> @ 0x140827678
// > ??> @ 0x140827d30
// > ??> @ 0x140828488
// > ??> @ 0x140828cd0
// > ??> @ 0x140829388
// > ??> @ 0x140829b08
// > ??> @ 0x14082a288
// > ??> @ 0x14082a940
// > ??> @ 0x14082aff8
// > ??> @ 0x14082ba08
// > ??> @ 0x14082c138
// > ??> @ 0x14082c7f0
// > ??> @ 0x14082cea8
// > ??> @ 0x14082d560
// > ??> @ 0x14082dd30
// > ??> @ 0x14082e4d8
// > ??> @ 0x14082eb90
// > ??> @ 0x14082f248
// > ??> @ 0x14082f900
// > ??> @ 0x14082ffb8
// > ??> @ 0x140830670
// > ??> @ 0x140830d28
// > ??> @ 0x140831548
// > ??> @ 0x140831cc8
// > ??> @ 0x14091d2ac
//
// 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:29:04 +0000
//
__int64 __fastcall GameObject::setStartPos(__int64 a1, float *a2)
{
if ( !cocos2d::CCPoint::equals((cocos2d::CCPoint *)(a1 + 968), (const struct cocos2d::CCPoint *)a2) )
{
*(_WORD *)(a1 + 872) = 257;
*(_BYTE *)(a1 + 848) = 1;
}
cocos2d::CCPoint::operator=(a1 + 968, a2);
*(double *)(a1 + 952) = *a2;
*(double *)(a1 + 960) = a2[1];
cocos2d::CCPoint::operator=(a1 + 1232, a2);
return (*(__int64 (__fastcall **)(__int64, float *))(*(_QWORD *)a1 + 184LL))(a1, a2);
}