// // ConfigureHSVWidget::updateLabels from 0xa3ac8c to 0xa3b0e8 (1116 bytes) // // 6 xrefs: // > ConfigureHSVWidget::sliderChanged @ 0xa3b13c // > ConfigureHSVWidget::onToggleSConst @ 0xa3b248 // > ConfigureHSVWidget::onToggleVConst @ 0xa3b2b0 // > ConfigureHSVWidget::onResetHSV @ 0xa3b324 // > ConfigureHSVWidget::init @ 0xa3b968 // > @ 0x5e618 // // This function is hookable on this platform (idp: arm, 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 12:59:53 +0000 // __int64 __fastcall ConfigureHSVWidget::updateLabels(ConfigureHSVWidget *this) { cocos2d::CCDictionary *v2; // x0 _QWORD *v3; // x22 const char *v4; // x1 cocos2d::CCString *v5; // x0 const char *CString; // x0 size_t v7; // x0 _QWORD *v8; // x23 const char *v9; // x1 cocos2d::CCString *v10; // x0 const char *v11; // x0 size_t v12; // x0 _QWORD *v13; // x23 const char *v14; // x1 cocos2d::CCString *v15; // x0 const char *v16; // x0 size_t v17; // x0 float v19; // s0 cocos2d::CCString *v20; // x0 size_t v21; // x0 char *v22; // x1 const char *v23; // x1 float v24; // s0 cocos2d::CCString *v25; // x0 size_t v26; // x0 char *v27; // x1 const char *v28; // x1 float v29; // s0 cocos2d::CCString *v30; // x0 size_t v31; // x0 char *v32; // x1 char *v33; // [xsp+48h] [xbp+48h] char *v34; // [xsp+48h] [xbp+48h] char *v35; // [xsp+48h] [xbp+48h] char *v36; // [xsp+48h] [xbp+48h] char *v37; // [xsp+48h] [xbp+48h] char *v38; // [xsp+48h] [xbp+48h] __int64 v39[2]; // [xsp+50h] [xbp+50h] BYREF void *v40; // [xsp+60h] [xbp+60h] __int64 v41[2]; // [xsp+68h] [xbp+68h] BYREF void *v42; // [xsp+78h] [xbp+78h] __int64 v43; // [xsp+80h] [xbp+80h] BYREF __int64 v44; // [xsp+88h] [xbp+88h] void *v45; // [xsp+90h] [xbp+90h] if ( *((_BYTE *)this + 408) ) { v2 = *((cocos2d::CCDictionary **)this + 52); *((_BYTE *)this + 409) = 1; v3 = (_QWORD *)cocos2d::CCDictionary::objectForKey(v2, 1); v5 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat( (cocos2d::CCString *)"%.0f", v4, *((float *)this + 94)); CString = (const char *)cocos2d::CCString::getCString(v5); v43 = 0; v33 = (char *)CString; v44 = 0; v45 = nullptr; v7 = strlen(CString); std::string::__init(&v43, v33, v7); CCTextInputNode::setString(v3, (char *)&v43); if ( (v43 & 1) != 0 ) operator delete(v45); v8 = (_QWORD *)cocos2d::CCDictionary::objectForKey(*((cocos2d::CCDictionary **)this + 52), 2); v10 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat( (cocos2d::CCString *)"%.2f", v9, *((float *)this + 95)); v11 = (const char *)cocos2d::CCString::getCString(v10); v43 = 0; v34 = (char *)v11; v44 = 0; v45 = nullptr; v12 = strlen(v11); std::string::__init(&v43, v34, v12); CCTextInputNode::setString(v8, (char *)&v43); if ( (v43 & 1) != 0 ) operator delete(v45); v13 = (_QWORD *)cocos2d::CCDictionary::objectForKey(*((cocos2d::CCDictionary **)this + 52), 3); v15 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat( (cocos2d::CCString *)"%.2f", v14, *((float *)this + 96)); v16 = (const char *)cocos2d::CCString::getCString(v15); v43 = 0; v35 = (char *)v16; v44 = 0; v45 = nullptr; v17 = strlen(v16); std::string::__init(&v43, v35, v17); CCTextInputNode::setString(v13, (char *)&v43); if ( (v43 & 1) != 0 ) operator delete(v45); *((_BYTE *)this + 409) = 0; } else { v39[0] = 0; v39[1] = 0; v40 = nullptr; std::string::__init(v39, "Hue: ", 5u); v19 = *((float *)this + 94); if ( v19 > 0.0 ) { std::string::append((__int64)v39, "+", 1u); v19 = *((float *)this + 94); } v20 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat( (cocos2d::CCString *)"%i", (const char *)(unsigned int)(int)v19); v36 = (char *)cocos2d::CCString::getCString(v20); v21 = strlen(v36); std::string::append((__int64)v39, v36, v21); v22 = (char *)v39 + 1; if ( (v39[0] & 1) != 0 ) v22 = (char *)v40; (*(void (__fastcall **)(_QWORD, char *))(**((_QWORD **)this + 41) + 928LL))(*((_QWORD *)this + 41), v22); v41[0] = 0; v41[1] = 0; v42 = nullptr; std::string::__init(v41, "Saturation: ", 0xCu); if ( *((_BYTE *)this + 388) ) { v24 = *((float *)this + 95); if ( v24 > 0.0 ) { std::string::append((__int64)v41, "+", 1u); v24 = *((float *)this + 95); } } else { std::string::append((__int64)v41, "x", 1u); v24 = *((float *)this + 95); } v25 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat((cocos2d::CCString *)"%.02f", v23, v24); v37 = (char *)cocos2d::CCString::getCString(v25); v26 = strlen(v37); std::string::append((__int64)v41, v37, v26); v27 = (char *)v41 + 1; if ( (v41[0] & 1) != 0 ) v27 = (char *)v42; (*(void (__fastcall **)(_QWORD, char *))(**((_QWORD **)this + 42) + 928LL))(*((_QWORD *)this + 42), v27); v43 = 0; v44 = 0; v45 = nullptr; std::string::__init(&v43, "Brightness: ", 0xCu); if ( *((_BYTE *)this + 389) ) { v29 = *((float *)this + 96); if ( v29 > 0.0 ) { std::string::append((__int64)&v43, "+", 1u); v29 = *((float *)this + 96); } } else { std::string::append((__int64)&v43, "x", 1u); v29 = *((float *)this + 96); } v30 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat((cocos2d::CCString *)"%.02f", v28, v29); v38 = (char *)cocos2d::CCString::getCString(v30); v31 = strlen(v38); std::string::append((__int64)&v43, v38, v31); v32 = (char *)&v43 + 1; if ( (v43 & 1) != 0 ) v32 = (char *)v45; (*(void (__fastcall **)(_QWORD, char *))(**((_QWORD **)this + 43) + 928LL))(*((_QWORD *)this + 43), v32); if ( (v43 & 1) != 0 ) operator delete(v45); if ( (v41[0] & 1) != 0 ) operator delete(v42); if ( (v39[0] & 1) != 0 ) operator delete(v40); } *((_BYTE *)this + 392) = 0; return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source