// // GameObject::resetMainColorMode from 0x64a080 to 0x64a0bc (60 bytes) // // 1 xrefs: // > @ 0x6f948 // // 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 GameObject::resetMainColorMode(GameObject *a1) { GJSpriteColor *MainColor; // x0 int m_defaultColorID; // w1 int v3; // w2 MainColor = GameObject::getMainColor(a1); if ( MainColor ) { m_defaultColorID = MainColor->m_defaultColorID; v3 = 1101; if ( m_defaultColorID <= 1100 ) { if ( m_defaultColorID < 0 ) v3 = 0; else v3 = MainColor->m_defaultColorID; } MainColor->m_defaultColorID = v3; MainColor->m_colorID = 0; } }
GD Web Decomp Icon

GD Web Decomp

Raw Source