//
// cocos2d::CCString::uintValue from 0x1007ab0b0 to 0x1007ab0de (46 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
//
unsigned int __fastcall cocos2d::CCString::uintValue(cocos2d::CCString *a1)
{
std::uint8_t sizex2; // al
sizex2 = a1->m_sString.m_data.m_short.sizex2;
if ( (sizex2 & 1) != 0 )
{
if ( LODWORD(a1->m_sString.m_data.m_long.size) )
return atoi(a1->m_sString.m_data.m_long.longStorage);
}
else if ( sizex2 )
{
return atoi(a1->m_sString.m_data.m_short.shortStorage.__elems_);
}
return 0;
}