// // CustomizeObjectLayer::hsvPopupClosed from 0x1000507b4 to 0x100050864 (176 bytes) // // 2 xrefs: // > sub_100050864 @ 0x100050868 // > @ 0x1007714a0 // // 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 CustomizeObjectLayer::hsvPopupClosed( CustomizeObjectLayer *a1, HSVWidgetPopup *a2, cocos2d::ccHSVValue a3) { __int64 v3; // x19 __int64 v4; // x21 int v6; // w22 GameObject *m_targetObject; // x0 GJSpriteColor *RelativeSpriteColor; // x0 __int64 v9; // x23 GameObject *v10; // x0 GJSpriteColor *v11; // x0 v3 = *(_QWORD *)&a3.v; v4 = *(_QWORD *)&a3.h; if ( ((unsigned int (__fastcall *)(HSVWidgetPopup *))a2->getTag)(a2) == 1 ) v6 = 1; else v6 = 2; m_targetObject = a1->m_targetObject; if ( m_targetObject ) { RelativeSpriteColor = GameObject::getRelativeSpriteColor(m_targetObject, v6); if ( RelativeSpriteColor ) { *(_QWORD *)&RelativeSpriteColor->m_hsv.h = v4; *(_QWORD *)&RelativeSpriteColor->m_hsv.v = v3; } } else if ( (unsigned int)sub_10024A36C(a1->m_targetObjects) ) { v9 = 0; do { v10 = (GameObject *)sub_10024A388(a1->m_targetObjects, v9); v11 = GameObject::getRelativeSpriteColor(v10, v6); if ( v11 ) { *(_QWORD *)&v11->m_hsv.h = v4; *(_QWORD *)&v11->m_hsv.v = v3; } v9 = (unsigned int)(v9 + 1); } while ( (unsigned int)v9 < (unsigned int)sub_10024A36C(a1->m_targetObjects) ); } CustomizeObjectLayer::updateHSVButtons(a1); }
GD Web Decomp Icon

GD Web Decomp

Raw Source