// // ColorSelectPopup::updateCopyColorTextInputLabel from 0x140093b60 to 0x140093c61 (257 bytes) // // 4 xrefs: // > ColorSelectPopup::init @ 0x1400903de // > ColorSelectPopup::onUpdateCopyColor @ 0x140093545 // > ColorSelectPopup::onToggleHSVMode @ 0x1400935e3 // > @ 0x1406c7188 // // 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 ColorSelectPopup::updateCopyColorTextInputLabel(ColorSelectPopup *a1) { int m_copyColorID; // edx cocos2d::CCString *v3; // rax const char *CString; // rax const char *v5; // rdx size_t v6; // rbx size_t v7; // r8 int v8; // ecx const char *v9; // rax __int128 v10; // [rsp+20h] [rbp-28h] BYREF __int64 v11; // [rsp+30h] [rbp-18h] __int64 v12; // [rsp+38h] [rbp-10h] m_copyColorID = a1->m_copyColorID; a1->m_disableTextDelegate = 1; v3 = cocos2d::CCString::createWithFormat("%i", m_copyColorID); CString = cocos2d::CCString::getCString(v3); v5 = "0"; v6 = -1; if ( a1->m_copyColorID < 1000 ) v5 = CString; v7 = -1; v11 = 0; v12 = 0; v10 = 0; do ++v7; while ( v5[v7] ); sub_14003A930(&v10, v5, v7); CCTextInputNode::setString((__int64)a1->m_copyColorInput, &v10); v8 = a1->m_copyColorID; if ( v8 >= 1000 ) { v9 = GJSpecialColorSelect::textForColorIdx(v8); v11 = 0; v10 = 0; v12 = 0; do ++v6; while ( v9[v6] ); sub_14003A930(&v10, v9, v6); CCTextInputNode::updateLabel(a1->m_copyColorInput, (__int64)&v10); } a1->m_disableTextDelegate = 0; }