// // GameObject::editorColorForCustomMode from 0x6476a4 to 0x647734 (144 bytes) // // 2 xrefs: // > GameObject::editorColorForMode @ 0x647844 // > @ 0x9aa88 // // 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 // cocos2d::ccColor3B GameObject::editorColorForCustomMode(GameObject *a1, int a2) { __int64 v2; // x0 unsigned __int8 v3; // w3 unsigned __int8 v4; // w2 unsigned __int8 v5; // w1 if ( a2 >= 5 ) a2 -= 5; v2 = (unsigned int)(a2 % 12); if ( (unsigned int)v2 > 0xB ) { v5 = -1; v4 = -1; v3 = -1; } else { v3 = byte_EC3640[v2]; v4 = byte_EC3650[v2]; v5 = byte_EC3660[v2]; } return (cocos2d::ccColor3B)(v3 | (unsigned __int16)(v4 << 8) | (v5 << 16)); }
GD Web Decomp Icon

GD Web Decomp

Raw Source