// // GameObject::getRelativeSpriteColor from 0x100261d94 to 0x100261e04 (112 bytes) // // 21 xrefs: // > CustomizeObjectLayer::determineStartValues @ 0x10004f45c // > CustomizeObjectLayer::determineStartValues @ 0x10004f474 // > CustomizeObjectLayer::determineStartValues @ 0x10004f4d0 // > CustomizeObjectLayer::determineStartValues @ 0x10004f4f0 // > CustomizeObjectLayer::getActiveMode @ 0x1000500a4 // > CustomizeObjectLayer::getActiveMode @ 0x1000500f0 // > CustomizeObjectLayer::updateSelected @ 0x100050524 // > CustomizeObjectLayer::updateSelected @ 0x100050580 // > CustomizeObjectLayer::hsvPopupClosed @ 0x1000507fc // > CustomizeObjectLayer::hsvPopupClosed @ 0x10005082c // > ConfigureHSVWidget::getHSV @ 0x100100494 // > HSVLiveOverlay::determineStartValues @ 0x10019fe50 // > HSVLiveOverlay::determineStartValues @ 0x10019fe68 // > HSVLiveOverlay::determineStartValues @ 0x10019feb0 // > HSVLiveOverlay::determineStartValues @ 0x10019fed0 // > HSVLiveOverlay::hsvChanged @ 0x1001a01b4 // > GameObject::setupCustomSprites @ 0x1002c4094 // > EditorUI::updateObjectInfoLabel @ 0x1003e7920 // > EditorUI::updateObjectInfoLabel @ 0x1003e795c // > EditorUI::updateObjectInfoLabel @ 0x1003e7a58 // > EditorUI::updateObjectInfoLabel @ 0x1003e7aa4 // // 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 // GJSpriteColor *__fastcall GameObject::getRelativeSpriteColor(GameObject *a1, int a2) { int v2; // w8 __int64 v3; // x8 int m_defaultColorID; // w8 bool v6; // zf if ( a1->m_customColorType == 1 || !a1->m_customColorType && a1->m_maybeNotColorable || a1->m_colorSprite ) { v2 = 0; } else { m_defaultColorID = a1->m_baseColor->m_defaultColorID; v6 = m_defaultColorID == 1004 || m_defaultColorID == 0; v2 = !v6; } if ( a2 == 2 ) { v6 = v2 == 0; v3 = 1104; if ( !v6 ) v3 = 1096; } else { if ( (v2 & 1) != 0 ) return nullptr; v3 = 1096; } return *(GJSpriteColor **)((char *)&a1->CCSpritePlus::cocos2d::CCSprite::cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable + v3); }
GD Web Decomp Icon

GD Web Decomp

Raw Source