// // ColorSelectPopup::updateColorLabels from 0x140091940 to 0x140091b1e (478 bytes) // // 2 xrefs: // > ColorSelectPopup::colorValueChanged @ 0x14009191b // > @ 0x1406c705c // // 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 // // Hidden C++ exception states: #wind=1 void ColorSelectPopup::updateColorLabels(ColorSelectPopup *a1) { bool m_disableTextDelegate; // si cocos2d::CCString *v3; // rax const char *CString; // rax size_t v5; // rbx size_t v6; // r8 cocos2d::CCString *v7; // rax const char *v8; // rax size_t v9; // r8 cocos2d::CCString *v10; // rax const char *v11; // rax size_t v12; // r8 _QWORD *v13; // rax __int128 v14; // [rsp+30h] [rbp-50h] BYREF __int64 v15; // [rsp+40h] [rbp-40h] __int64 v16; // [rsp+48h] [rbp-38h] _BYTE Src[32]; // [rsp+58h] [rbp-28h] BYREF m_disableTextDelegate = a1->m_disableTextDelegate; a1->m_disableTextDelegate = 1; v3 = cocos2d::CCString::createWithFormat("%i", a1->m_currentColor.r); CString = cocos2d::CCString::getCString(v3); v14 = 0; v15 = 0; v16 = 0; v5 = -1; v6 = -1; do ++v6; while ( CString[v6] ); sub_14003A930(&v14, CString, v6); CCTextInputNode::setString((__int64)a1->m_rInput, &v14); v7 = cocos2d::CCString::createWithFormat("%i", a1->m_currentColor.g); v8 = cocos2d::CCString::getCString(v7); v14 = 0; v15 = 0; v16 = 0; v9 = -1; do ++v9; while ( v8[v9] ); sub_14003A930(&v14, v8, v9); CCTextInputNode::setString((__int64)a1->m_gInput, &v14); v10 = cocos2d::CCString::createWithFormat("%i", a1->m_currentColor.b); v11 = cocos2d::CCString::getCString(v10); v14 = 0; v15 = 0; v16 = 0; v12 = -1; do ++v12; while ( v11[v12] ); sub_14003A930(&v14, v11, v12); CCTextInputNode::setString((__int64)a1->m_bInput, &v14); v13 = (_QWORD *)ColorSelectPopup::colorToHex(Src); if ( v13[3] > 0xFu ) v13 = (_QWORD *)*v13; v14 = 0; v15 = 0; v16 = 0; do ++v5; while ( *((_BYTE *)v13 + v5) ); sub_14003A930(&v14, v13, v5); CCTextInputNode::setString((__int64)a1->m_hexInput, &v14); sub_14003A830((__int64)Src); a1->m_disableTextDelegate = m_disableTextDelegate; }
GD Web Decomp Icon

GD Web Decomp

Raw Source