// // ColorSelectPopup::updateDurLabel from 0x14012a350 to 0x14012a414 (196 bytes) // // 3 xrefs: // > ColorSelectPopup::init @ 0x1401272b9 // > ColorSelectPopup::sliderChanged @ 0x14012a178 // > @ 0x140916b50 // // 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 11:27:00 +0000 // void __fastcall ColorSelectPopup::updateDurLabel(__int64 a1) { float v1; // xmm3_4 const char *CString; // rax cocos2d::CCString *v4; // rax size_t v5; // r8 __int128 v6; // [rsp+20h] [rbp-28h] BYREF __int64 v7; // [rsp+30h] [rbp-18h] __int64 v8; // [rsp+38h] [rbp-10h] v1 = *(float *)(a1 + 1112); CString = "Mixed"; *(_BYTE *)(a1 + 744) = 1; if ( v1 != -99999.0 ) { if ( (float)(v1 - (float)(int)v1) == 0.0 ) v4 = cocos2d::CCString::createWithFormat((const char *)&word_1406ED6F8); else v4 = cocos2d::CCString::createWithFormat("%.02f", v1); CString = cocos2d::CCString::getCString(v4); } v6 = 0; v7 = 0; v5 = -1; v8 = 0; do ++v5; while ( CString[v5] ); sub_14003D230(&v6, CString, v5); CCTextInputNode::setString(*(_QWORD **)(a1 + 1216), &v6); *(_BYTE *)(a1 + 744) = 0; }