//
// GJSpecialColorSelect::textForColorIdx from 0x5e880c to 0x5e8882 (118 bytes)
//
// 18 xrefs:
// > LevelEditorLayer::updateObjectLabel @ 0x469b9e
// > EditorUI::setIDPopupClosed @ 0x488282
// > EditorUI::updateObjectInfoLabel @ 0x48924e
// > EditorUI::updateObjectInfoLabel @ 0x489284
// > ColorSelectPopup::updateTextInputLabel @ 0x4df764
// > ColorSelectPopup::colorSelectClosed @ 0x4df874
// > ColorSelectPopup::colorSelectClosed @ 0x4df8ee
// > ColorSelectPopup::updateCopyColorTextInputLabel @ 0x4df9cc
// > CustomizeObjectLayer::updateChannelLabel @ 0x57e5d4
// > ColorChannelSprite::updateCopyLabel @ 0x5c21fa
// > SetColorIDPopup::colorSelectClosed @ 0x5d7bc4
// > SetColorIDPopup::init @ 0x5daf0e
// > GJSpecialColorSelect::init @ 0x5e8f4c
// > SetupPulsePopup::colorSelectClosed @ 0x5ecc80
// > SetupPulsePopup::colorSelectClosed @ 0x5eccf4
// > SetupPulsePopup::updateTextInputLabel @ 0x5ecde8
// > SetupPulsePopup::updateCopyColorTextInputLabel @ 0x5ecffc
// > ColorSelectLiveOverlay::updateColorLabel @ 0x601a5a
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 11:54:21 +0000
//
const char *__fastcall GJSpecialColorSelect::textForColorIdx(GJSpecialColorSelect *this, int a2)
{
const char *result; // r0
switch ( (unsigned int)this )
{
case 0x3E8u:
result = "BG";
break;
case 0x3E9u:
result = "G1";
break;
case 0x3EAu:
result = "L";
break;
case 0x3EBu:
result = "3DL";
break;
case 0x3ECu:
result = "Obj";
break;
case 0x3EDu:
result = "P1";
break;
case 0x3EEu:
result = "P2";
break;
case 0x3EFu:
result = "LBG";
break;
case 0x3F1u:
result = "G2";
break;
case 0x3F2u:
result = "Black";
break;
case 0x3F3u:
result = "White";
break;
case 0x3F4u:
result = "Lighter";
break;
case 0x3F5u:
result = "MG";
break;
case 0x3F6u:
result = "MG2";
break;
default:
result = "NA";
break;
}
return result;
}