//
// sub_1003A8070 from 0x1003a8070 to 0x1003a80a2 (50 bytes)
//
// 0 xrefs:
//
// 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 sub_1003A8070(cocos2d::CCSprite *a1, float a2)
{
float v2; // xmm1_4
v2 = *(float *)&a1[1].m_nTag;
if ( v2 < a2 )
{
v2 = a2;
if ( a2 >= *(float *)&a1[1].m_nLuaID )
v2 = *(float *)&a1[1].m_nLuaID;
}
*(float *)&a1[1].m_uID = v2;
sub_1003A7CE0(a1);
}