// // GameObject::getColorIndex from 0x10069cd10 to 0x10069cd89 (121 bytes) // // 2 xrefs: // > LevelEditorLayer::getNextColorChannel @ 0x1000c0ef2 // > LevelEditorLayer::resetUnusedColorChannels @ 0x1000c1251 // // This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True! // // Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings // Generated at Fri, 27 Nov 2026 12:35:16 +0000 // __int64 __fastcall GameObject::getColorIndex(__int64 a1) { int v1; // eax v1 = *(_DWORD *)(a1 + 1028); if ( v1 <= 743 ) { if ( v1 == 29 ) return 1000; if ( v1 != 30 ) { if ( v1 == 105 ) return 1004; return 0; } return 1001; } else if ( v1 > 899 ) { if ( v1 != 900 ) { if ( v1 == 915 ) return 1002; return 0; } return 1009; } else { if ( v1 != 744 ) { if ( v1 == 899 ) return *(unsigned int *)(a1 + 1024); return 0; } return 1003; } }
GD Web Decomp Icon

GD Web Decomp

Raw Source