// // ConfigureHSVWidget::textChanged from 0x100100240 to 0x1001003b4 (372 bytes) // // 2 xrefs: // > sub_1001003D4 @ 0x1001003d8 // > @ 0x1007876d0 // // 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 __fastcall ConfigureHSVWidget::textChanged(ConfigureHSVWidget *a1, CCTextInputNode *a2) { int v4; // w0 int v5; // w20 void **v6; // x0 double v7; // d0 cocos2d::CCString *v8; // x0 float v9; // s8 void **v10; // x0 double v11; // d0 cocos2d::CCString *v12; // x0 float v13; // s8 void *v14; // x21 int v15; // w8 void *__p[2]; // [xsp+8h] [xbp-48h] BYREF char v17; // [xsp+1Fh] [xbp-31h] if ( !a1->m_updating ) { v4 = ((__int64 (__fastcall *)(CCTextInputNode *))a2->getTag)(a2); switch ( v4 ) { case 3: CCTextInputNode::getString(__p, a2); if ( v17 >= 0 ) v10 = __p; else v10 = (void **)__p[0]; v11 = atof((const char *)v10); v12 = (cocos2d::CCString *)sub_100268F4C("%.2f", v11); v13 = cocos2d::CCString::floatValue(v12); if ( v17 < 0 ) operator delete(__p[0]); a1->m_hsv.v = v13; break; case 2: CCTextInputNode::getString(__p, a2); if ( v17 >= 0 ) v6 = __p; else v6 = (void **)__p[0]; v7 = atof((const char *)v6); v8 = (cocos2d::CCString *)sub_100268F4C("%.2f", v7); v9 = cocos2d::CCString::floatValue(v8); if ( v17 < 0 ) operator delete(__p[0]); a1->m_hsv.s = v9; break; case 1: CCTextInputNode::getString(__p, a2); if ( v17 < 0 ) { v14 = __p[0]; v5 = atoi((const char *)__p[0]); operator delete(v14); } else { v5 = atoi((const char *)__p); } if ( v5 <= -360 ) v15 = -360; else v15 = v5; if ( v15 >= 360 ) v15 = 360; a1->m_hsv.h = (float)v15; break; } ConfigureHSVWidget::updateSliders(a1); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source