// // GameObject::updateBlendMode from 0x10025ccf4 to 0x10025cd58 (100 bytes) // // 4 xrefs: // > PlayLayer::manualUpdateObjectColors @ 0x10011df60 // > GameObject::addMainSpriteToParent @ 0x10025cd74 // > LevelEditorLayer::manualUpdateObjectColors @ 0x10035f218 // > EditorUI::spriteFromObjectString @ 0x1003eab28 // // 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 GameObject::updateBlendMode(GameObject *a1) { bool shouldBlendColor; // w0 GJSpriteColor *m_detailColor; // x1 int m_defaultColorID; // w8 shouldBlendColor = GameObject::shouldBlendColor(a1, a1->m_baseColor, 0); a1->m_shouldBlendBase = shouldBlendColor; if ( a1->m_colorSprite ) { m_detailColor = a1->m_detailColor; m_defaultColorID = m_detailColor->m_defaultColorID; if ( m_detailColor->m_colorID ) m_defaultColorID = m_detailColor->m_colorID; if ( m_defaultColorID != 1012 ) shouldBlendColor = GameObject::shouldBlendColor(a1, m_detailColor, 0); } else { shouldBlendColor = 0; } a1->m_shouldBlendDetail = shouldBlendColor; }
GD Web Decomp Icon

GD Web Decomp

Raw Source