//
// NumberInputLayer::inputNumber from 0x10048a130 to 0x10048a19e (110 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 12:30:44 +0000
//
unsigned __int64 __fastcall NumberInputLayer::inputNumber(__int64 a1)
{
char v1; // bl
unsigned int v2; // eax
unsigned __int64 result; // rax
__int64 v4; // rax
const std::string::value_type *CString; // rax
v2 = *(unsigned __int8 *)(a1 + 720);
if ( (v2 & 1) == 0 )
{
result = v2 >> 1;
if ( result >= *(int *)(a1 + 692) )
return result;
LABEL_5:
v4 = sub_10088E820("%i", v1);
CString = (const std::string::value_type *)cocos2d::CCString::getCString(v4);
std::string::append((std::string *)(a1 + 720), CString);
return NumberInputLayer::updateNumberState(a1);
}
result = *(_QWORD *)(a1 + 728);
if ( result < *(int *)(a1 + 692) )
goto LABEL_5;
return result;
}