// // GameObject::setDefaultMainColorMode from 0x1002596a0 to 0x1002596c0 (32 bytes) // // 6 xrefs: // > PlayLayer::addObject @ 0x100118ec8 // > GameObject::setupCustomSprites @ 0x1002afe94 // > GameObject::setupCustomSprites @ 0x1002b0a5c // > LevelEditorLayer::copyObjectState @ 0x100363a74 // > EffectGameObject::customSetup @ 0x1003773f0 // > EffectGameObject::customSetup @ 0x100377438 // // 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::setDefaultMainColorMode(GameObject *a1, int a2) { GJSpriteColor *m_baseColor; // x8 int v3; // w9 m_baseColor = a1->m_baseColor; if ( m_baseColor ) { v3 = a2 & ~(a2 >> 31); if ( v3 >= 1101 ) v3 = 1101; m_baseColor->m_colorID = 0; m_baseColor->m_defaultColorID = v3; } }
GD Web Decomp Icon

GD Web Decomp

Raw Source