// // CustomizeObjectLayer::hsvPopupClosed from 0x1400a8db0 to 0x1400a8ed2 (290 bytes) // // 2 xrefs: // > @ 0x140545400 // > @ 0x1406c77e8 // // 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 CustomizeObjectLayer::hsvPopupClosed(CustomizeObjectLayer *a1, HSVWidgetPopup *a2, cocos2d::ccHSVValue *a3) { int v5; // eax GameObject *v6; // rcx unsigned int v7; // ebx int v8; // ebp GJSpriteColor *RelativeSpriteColor; // rax struct cocos2d::CCObject *v10; // rcx __int16 m_unknown2; // ax bool v12; // al int v13; // edx bool v14; // al cocos2d::ccHSVValue *v15; // rax v5 = a2->getTag(a2); v6 = *(GameObject **)&a1->m_uAutoReleaseCount; v7 = 0; v8 = v5; if ( !v6 ) { if ( !cocos2d::CCArray::count(*(cocos2d::CCArray **)&a1->m_uIndexInArray) ) goto LABEL_22; while ( 1 ) { v10 = cocos2d::CCArray::objectAtIndex(*(cocos2d::CCArray **)&a1->m_uIndexInArray, v7); m_unknown2 = v10[18].m_unknown2; v12 = m_unknown2 ? m_unknown2 == 1 : LOBYTE(v10[23].m_nLuaID); v14 = false; if ( !v12 && !v10[16].__vftable ) { v13 = *(_DWORD *)(*(_QWORD *)&v10[19].m_unknown2 + 4LL); if ( v13 != 1004 ) { if ( v13 ) v14 = true; } } if ( v8 != 1 ) break; if ( !v14 ) goto LABEL_18; LABEL_21: if ( ++v7 >= cocos2d::CCArray::count(*(cocos2d::CCArray **)&a1->m_uIndexInArray) ) goto LABEL_22; } if ( v14 ) LABEL_18: v15 = *(cocos2d::ccHSVValue **)&v10[19].m_unknown2; else v15 = *(cocos2d::ccHSVValue **)&v10[19].m_uOrderOfArrival; if ( v15 ) v15[1] = *a3; goto LABEL_21; } LOBYTE(v7) = v5 != 1; RelativeSpriteColor = GameObject::getRelativeSpriteColor(v6, v7 + 1); if ( RelativeSpriteColor ) RelativeSpriteColor->m_hsv = *a3; LABEL_22: CustomizeObjectLayer::updateHSVButtons((CustomizeObjectLayer *)((char *)a1 - 640)); }
GD Web Decomp Icon

GD Web Decomp

Raw Source