//
// GameObject::quickUpdatePosition from 0x10025b088 to 0x10025b0f0 (104 bytes)
//
// 2 xrefs:
// > GJBaseGameLayer::processMoveActionsStep @ 0x1001f7154
// > LevelEditorLayer::quickUpdateAllPositions @ 0x10036294c
//
// 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::quickUpdatePosition(GameObject *a1)
{
__n128 v1; // q0
__n128 v2; // q1
cocos2d::CCSprite *m_colorSprite; // x0
cocos2d::CCPoint v5; // [xsp+8h] [xbp-18h] BYREF
v1.n128_u64[0] = *(_QWORD *)&a1->m_positionX;
v1.n128_f32[0] = v1.n128_f64[0];
v2.n128_u64[0] = *(_QWORD *)&a1->m_positionY;
v2.n128_f32[0] = v2.n128_f64[0];
sub_100022980(v1, v2, &v5);
cocos2d::CCSprite::setPosition(a1, &v5);
m_colorSprite = a1->m_colorSprite;
if ( m_colorSprite )
{
if ( !a1->m_colorSpriteLocked )
((void (__fastcall *)(cocos2d::CCSprite *, cocos2d::CCPoint *))m_colorSprite->setPosition)(m_colorSprite, &v5);
}
}