// // GameObject::resetMainColorMode from 0x1005ca1e0 to 0x1005ca213 (51 bytes) // // 0 xrefs: // // 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::resetMainColorMode(GameObject *a1) { GJSpriteColor *m_baseColor; // rax int m_defaultColorID; // edx int v3; // ecx m_baseColor = a1->m_baseColor; if ( m_baseColor ) { m_defaultColorID = 0; if ( m_baseColor->m_defaultColorID > 0 ) m_defaultColorID = m_baseColor->m_defaultColorID; v3 = 1101; if ( m_defaultColorID < 1101 ) v3 = m_defaultColorID; m_baseColor->m_defaultColorID = v3; m_baseColor->m_colorID = 0; } }
GD Web Decomp Icon

GD Web Decomp

Raw Source