// // NumberInputLayer::updateNumberState from 0x140348b40 to 0x140348c54 (276 bytes) // // 3 xrefs: // > NumberInputLayer::init @ 0x14034895c // > NumberInputLayer::onNumber @ 0x140348b1c // > @ 0x1406d5a2c // // 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::updateNumberState(NumberInputLayer *a1) { int m_size; // eax bool v3; // si _BYTE *v4; // rcx char v5; // al CCMenuItemSpriteExtra *m_okButton; // rcx cocos2d::CCNode *v7; // rdi cocos2d::CCComponentContainer *m_pComponentContainer; // rcx __int64 v9; // rcx cocos2d::CCNode_vtbl *v10; // rcx __int16 v11; // [rsp+30h] [rbp+8h] BYREF char v12; // [rsp+32h] [rbp+Ah] m_size = a1->m_inputString.m_data.m_size; v3 = m_size >= a1->m_minimum && m_size <= a1->m_maximum; v4 = &unk_140529B8C; if ( !v3 ) v4 = &unk_140529B88; v11 = *(_WORD *)v4; v5 = v4[2]; m_okButton = a1->m_okButton; v12 = v5; v7 = m_okButton->getNormalImage(m_okButton); m_pComponentContainer = v7[1].m_pComponentContainer; if ( m_pComponentContainer ) ((void (__fastcall *)(cocos2d::CCDictionary **, __int16 *))m_pComponentContainer[15].m_pComponents->__vftable)( &m_pComponentContainer[15].m_pComponents, &v11); v9 = *(_QWORD *)&v7[1].m_bUseChildIndex; if ( v9 ) (**(void (__fastcall ***)(__int64, __int16 *))(v9 + 320))(v9 + 320, &v11); v10 = *(cocos2d::CCNode_vtbl **)&v7[2].m_uID; if ( v10 || (v10 = v7[2].__vftable) != nullptr ) (*(void (__fastcall **)(__int64, __int16 *))v10->setVisible)((__int64)&v10->setVisible, &v11); a1->m_okButton->setEnabled(a1->m_okButton, v3); ((void (__fastcall *)(cocos2d::CCLabelProtocol *))a1->m_inputLabel->setString)(&a1->m_inputLabel->cocos2d::CCLabelProtocol); }
GD Web Decomp Icon

GD Web Decomp

Raw Source