// // SetupOpacityPopup::textChanged from 0x100023f08 to 0x100024064 (348 bytes) // // 2 xrefs: // > sub_100024064 @ 0x100024068 // > @ 0x1007642b0 // // 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 SetupOpacityPopup::textChanged(SetupOpacityPopup *a1, CCTextInputNode *a2) { double v4; // d8 char *v5; // x20 char *v6; // x20 float v7; // s0 cocos2d::CCString *v8; // x0 float v9; // s0 float v10; // s1 _BOOL4 v11; // w8 _BOOL4 v12; // w9 char *v13[2]; // [xsp+8h] [xbp-38h] BYREF char v14; // [xsp+1Fh] [xbp-21h] if ( !a1->m_disableTextDelegate ) { if ( ((unsigned int (__fastcall *)(CCTextInputNode *))a2->getTag)(a2) == 3 ) { CCTextInputNode::getString(v13, a2); if ( v14 < 0 ) { v5 = v13[0]; a1->m_groupID = atoi(v13[0]); operator delete(v5); } else { a1->m_groupID = atoi((const char *)v13); } SetupOpacityPopup::updateTargetID(a1); SetupTriggerPopup::updateEditorLabel(a1); } else if ( ((unsigned int (__fastcall *)(CCTextInputNode *))a2->getTag)(a2) == 4 ) { CCTextInputNode::getString(v13, a2); if ( v14 < 0 ) { v6 = v13[0]; v4 = atof(v13[0]); operator delete(v6); } else { v4 = atof((const char *)v13); } v7 = v4; v8 = (cocos2d::CCString *)sub_100268F4C("%.02f", v7); a1->m_fadeTime = cocos2d::CCString::floatValue(v8); SetupOpacityPopup::updateDuration(a1); v9 = a1->m_fadeTime / 10.0; v10 = 1.0; v11 = v9 >= 1.0; v12 = v9 > 0.0 || v9 >= 1.0; if ( v9 <= 0.0 ) v11 = 1; if ( !v12 ) v10 = 0.0; if ( v11 ) v9 = v10; Slider::setValue(a1->m_fadeTimeSlider, v9); } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source