//
// NumberInputLayer::inputNumber from 0x1000f95c0 to 0x1000f9630 (112 bytes)
//
// 1 xrefs:
// > NumberInputLayer::onNumber @ 0x1000f9438
//
// 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 NumberInputLayer::inputNumber(NumberInputLayer *a1, int a2)
{
std::size_t size; // x8
cocos2d::CCString *v4; // x0
const char *CString; // x0
size = a1->m_inputString.m_data.m_short.shortStorage.__elems_[22];
if ( (size & 0x8000000000000000LL) != 0 )
size = a1->m_inputString.m_data.m_long.size;
if ( size < a1->m_maximum )
{
v4 = (cocos2d::CCString *)sub_100268F4C("%i", a2);
CString = cocos2d::CCString::getCString(v4);
std::string::append((std::string *)&a1->m_inputString, CString);
NumberInputLayer::updateNumberState(a1);
}
}