// // NumberInputLayer::updateNumberState from 0x1000f943c to 0x1000f94e8 (172 bytes) // // 3 xrefs: // > NumberInputLayer::init @ 0x1000f936c // > NumberInputLayer::deleteLast @ 0x1000f9554 // > NumberInputLayer::inputNumber @ 0x1000f961c // // 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::updateNumberState(NumberInputLayer *a1) { std::size_t size; // x8 _BOOL8 v3; // x21 std::string *p_m_inputString; // x20 ButtonSprite *v5; // x0 int v6; // w1 size = a1->m_inputString.m_data.m_short.shortStorage.__elems_[22]; if ( (size & 0x8000000000000000LL) != 0 ) size = a1->m_inputString.m_data.m_long.size; v3 = a1->m_minimum <= (int)size && a1->m_maximum >= (int)size; p_m_inputString = &a1->m_inputString; v5 = (ButtonSprite *)((__int64 (__fastcall *)(CCMenuItemSpriteExtra *))a1->m_okButton->getNormalImage)(a1->m_okButton); if ( v3 ) v6 = 0xFFFFFF; else v6 = 10921638; ButtonSprite::setColor(v5, (cocos2d::ccColor3B)v6); ((void (__fastcall *)(CCMenuItemSpriteExtra *, _BOOL8))a1->m_okButton->setEnabled)(a1->m_okButton, v3); if ( a1->m_inputString.m_data.m_short.shortStorage.__elems_[22] < 0 ) p_m_inputString = (std::string *)p_m_inputString->m_data.m_long.capacitym1; ((void (__fastcall *)(cocos2d::CCLabelBMFont *, std::string *))a1->m_inputLabel->setString)( a1->m_inputLabel, p_m_inputString); }
GD Web Decomp Icon

GD Web Decomp

Raw Source