//
// NumberInputLayer::inputNumber from 0x455538 to 0x45556e (54 bytes)
//
// 1 xrefs:
// > NumberInputLayer::onNumber @ 0x455620
//
// 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 NumberInputLayer::inputNumber(NumberInputLayer *a1, int a2)
{
cocos2d::CCString *v3; // r0
char *CString; // r0
if ( *((_DWORD *)a1->m_inputString.m_data.m_data - 3) < a1->m_maximum )
{
v3 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat((cocos2d::CCString *)"%i", (const char *)a2);
CString = (char *)cocos2d::CCString::getCString(v3);
sub_774544((int)&a1->m_inputString, CString);
NumberInputLayer::updateNumberState(a1);
}
}