//
// GameObject::setStartPos from 0x44b998 to 0x44b9f0 (88 bytes)
//
// 2 xrefs:
// > TeleportPortalObject::setStartPosOverride @ 0x4e88da
// > TeleportPortalObject::setStartPos @ 0x4e89e4
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:48:34 +0000
//
int __fastcall GameObject::setStartPos(int a1, float *a2)
{
int v2; // r6
v2 = a1 + 824;
if ( !cocos2d::CCPoint::equals((cocos2d::CCPoint *)(a1 + 824), (const cocos2d::CCPoint *)a2) )
{
*(_BYTE *)(a1 + 732) = 1;
*(_BYTE *)(a1 + 733) = 1;
*(_BYTE *)(a1 + 708) = 1;
}
cocos2d::CCPoint::operator=(v2, a2);
*(double *)(a1 + 808) = *a2;
*(double *)(a1 + 816) = a2[1];
cocos2d::CCPoint::operator=(a1 + 1060, a2);
return (*(int (__fastcall **)(int, float *))(*(_DWORD *)a1 + 92))(a1, a2);
}