//
// sub_1003A8030 from 0x1003a8030 to 0x1003a8062 (50 bytes)
//
// 1 xrefs:
// > ??> @ 0x100928030
//
// 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_1003A8030(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);
}