// // GameObject::editorColorForCustomMode from 0x356ab8 to 0x356af6 (62 bytes) // // 1 xrefs: // > GameObject::editorColorForMode @ 0x356b72 // // 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) { unsigned int v2; // r1 char *v3; // r1 unsigned __int8 v4; // r4 unsigned __int8 v5; // r2 unsigned __int8 v6; // r3 if ( a2 > 4 ) a2 -= 5; v2 = a2 % 12; if ( v2 > 0xB ) { v6 = -1; v5 = -1; v4 = -1; } else { v3 = (char *)&word_9AA614 + v2; v4 = v3[24]; v5 = v3[36]; v6 = v3[48]; } return (cocos2d::ccColor3B)(v4 | (unsigned __int16)(v5 << 8) | (v6 << 16)); }
GD Web Decomp Icon

GD Web Decomp

Raw Source