//
// GameObject::setStartPos from 0x100255c90 to 0x100255d00 (112 bytes)
//
// 48 xrefs:
// > TeleportPortalObject::setStartPos @ 0x100387964
// > TeleportPortalObject::setStartPos @ 0x1003879b8
// > ??> @ 0x1007c4100
// > ??> @ 0x1007cfdd0
// > ??> @ 0x1007d05b8
// > ??> @ 0x1007d0dc8
// > ??> @ 0x1007f5638
// > ??> @ 0x1007f5e70
// > ??> @ 0x1007f6668
// > ??> @ 0x1007f6e60
// > ??> @ 0x1007f7658
// > ??> @ 0x1007f7e50
// > ??> @ 0x1007f8648
// > ??> @ 0x1007f8e40
// > ??> @ 0x1007f9628
// > ??> @ 0x1007f9e38
// > ??> @ 0x1007fa6a0
// > ??> @ 0x1007faeb0
// > ??> @ 0x1007fb6c0
// > ??> @ 0x1007fbed0
// > ??> @ 0x1007fc6e0
// > ??> @ 0x1007fcef0
// > ??> @ 0x1007fd700
// > ??> @ 0x1007fdf10
// > ??> @ 0x1007fe720
// > ??> @ 0x1007fef30
// > ??> @ 0x1007fffb0
// > ??> @ 0x1008007d8
// > ??> @ 0x100801000
// > ??> @ 0x100801828
// > ??> @ 0x100802050
// > ??> @ 0x100802860
// > ??> @ 0x100803070
// > ??> @ 0x100803880
// > ??> @ 0x100804090
// > ??> @ 0x1008048a0
// > ??> @ 0x1008050b0
// > ??> @ 0x1008058c0
// > ??> @ 0x1008060d0
// > ??> @ 0x1008068e0
// > ??> @ 0x1008070f0
// > ??> @ 0x100807900
// > ??> @ 0x100808110
// > ??> @ 0x100808920
// > ??> @ 0x100809130
// > ??> @ 0x100809940
// > ??> @ 0x10080a150
// > ??> @ 0x100816470
//
// 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
//
void __fastcall GameObject::setStartPos(GameObject *a1, cocos2d::CCPoint a2)
{
float *v2; // x1
double *v3; // x19
double v5; // d0
v3 = (double *)v2;
if ( !sub_100022A5C((float *)&a1->m_startPosition, v2) )
{
*(_WORD *)&a1->m_isObjectRectDirty = 257;
a1->m_isDirty = 1;
}
sub_1000229D0(&a1->m_startPosition, v3);
*(float64x2_t *)&a1->m_positionX = vcvtq_f64_f32(*(float32x2_t *)v3);
v5 = sub_1000229D0(&a1->m_lastPosition, v3);
((void (__fastcall *)(GameObject *, double *, double))a1->setPosition)(a1, v3, v5);
}