// // GameObject::getRelativeSpriteColor from 0x1005ca0c0 to 0x1005ca12e (110 bytes) // // 24 xrefs: // > EditorUI::updateObjectInfoLabel @ 0x10002f52e // > EditorUI::updateObjectInfoLabel @ 0x10002f574 // > EditorUI::updateObjectInfoLabel @ 0x10002f6bb // > EditorUI::updateObjectInfoLabel @ 0x10002f6ea // > CustomizeObjectLayer::determineStartValues @ 0x1001f738e // > CustomizeObjectLayer::determineStartValues @ 0x1001f73a9 // > CustomizeObjectLayer::determineStartValues @ 0x1001f7446 // > CustomizeObjectLayer::determineStartValues @ 0x1001f7478 // > CustomizeObjectLayer::getActiveMode @ 0x1001f8383 // > CustomizeObjectLayer::getActiveMode @ 0x1001f8400 // > CustomizeObjectLayer::updateSelected @ 0x1001f8af3 // > CustomizeObjectLayer::updateSelected @ 0x1001f8ba3 // > CustomizeObjectLayer::updateSelected @ 0x1001f8c00 // > CustomizeObjectLayer::hsvPopupClosed @ 0x1001f90ce // > CustomizeObjectLayer::hsvPopupClosed @ 0x1001f9129 // > HSVLiveOverlay::determineStartValues @ 0x10026adae // > HSVLiveOverlay::determineStartValues @ 0x10026adc9 // > HSVLiveOverlay::determineStartValues @ 0x10026ae48 // > HSVLiveOverlay::determineStartValues @ 0x10026ae6a // > HSVLiveOverlay::hsvChanged @ 0x10026b29e // > HSVLiveOverlay::hsvChanged @ 0x10026b2f6 // > ConfigureHSVWidget::getHSV @ 0x1004316b8 // > ConfigureHSVWidget::getHSV @ 0x1004317eb // > GameObject::setupCustomSprites @ 0x10045ce2c // // 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) { bool v2; // al __int64 v3; // rcx if ( a1->m_customColorType == 1 || !a1->m_customColorType && a1->m_maybeNotColorable || a1->m_colorSprite ) { v2 = 0; if ( a2 == 2 ) { LABEL_6: v3 = 8LL * !v2 + 1096; return *(GJSpriteColor **)((char *)&a1->CCSpritePlus::cocos2d::CCSprite::cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable + v3); } } else { v2 = a1->m_baseColor->m_defaultColorID != 1004 && a1->m_baseColor->m_defaultColorID != 0; if ( a2 == 2 ) goto LABEL_6; } v3 = 1096; if ( v2 ) return nullptr; 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