{"type": "func", "start": 4297344572, "end": 4297344612, "name": "GJSpecialColorSelect::textForColorIdx", "pseudocode": "// \n// GJSpecialColorSelect::textForColorIdx from 0x10024463c to 0x100244664 (40 bytes)\n// \n// 18 xrefs:\n// > ColorChannelSprite::updateCopyLabel @ 0x10000d304\n// > CustomizeObjectLayer::updateChannelLabel @ 0x100058ac8\n// > sub_10011AB4C @ 0x10011ac00\n// > GJSpecialColorSelect::init @ 0x100244404\n// > sub_10037BC48 @ 0x10037bd94\n// > SetColorIDPopup::colorSelectClosed @ 0x10037bef4\n// > LevelEditorLayer::updateObjectLabel @ 0x1003ff304\n// > sub_10045D510 @ 0x10045d5ac\n// > sub_10045D620 @ 0x10045d6a0\n// > SetupPulsePopup::colorSelectClosed @ 0x10045dd38\n// > SetupPulsePopup::colorSelectClosed @ 0x10045ddd0\n// > EditorUI::updateObjectInfoLabel @ 0x100475a88\n// > EditorUI::updateObjectInfoLabel @ 0x100475acc\n// > EditorUI::setIDPopupClosed @ 0x1004767e8\n// > sub_1004A108C @ 0x1004a110c\n// > sub_1004A130C @ 0x1004a138c\n// > ColorSelectPopup::colorSelectClosed @ 0x1004a2968\n// > ColorSelectPopup::colorSelectClosed @ 0x1004a2a08\n// \n// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 11:01:25 +0000\n// \n\nconst char *__fastcall GJSpecialColorSelect::textForColorIdx(int a1)\n{\n  if ( (unsigned int)(a1 - 1000) > 0xE )\n    return \"NA\";\n  else\n    return off_100907420[a1 - 1000];\n}", "assembly": "; \n; GJSpecialColorSelect::textForColorIdx from 0x10024463c to 0x100244664 (40 bytes)\n; \n; 18 xrefs:\n; > ColorChannelSprite::updateCopyLabel @ 0x10000d304\n; > CustomizeObjectLayer::updateChannelLabel @ 0x100058ac8\n; > sub_10011AB4C @ 0x10011ac00\n; > GJSpecialColorSelect::init @ 0x100244404\n; > sub_10037BC48 @ 0x10037bd94\n; > SetColorIDPopup::colorSelectClosed @ 0x10037bef4\n; > LevelEditorLayer::updateObjectLabel @ 0x1003ff304\n; > sub_10045D510 @ 0x10045d5ac\n; > sub_10045D620 @ 0x10045d6a0\n; > SetupPulsePopup::colorSelectClosed @ 0x10045dd38\n; > SetupPulsePopup::colorSelectClosed @ 0x10045ddd0\n; > EditorUI::updateObjectInfoLabel @ 0x100475a88\n; > EditorUI::updateObjectInfoLabel @ 0x100475acc\n; > EditorUI::setIDPopupClosed @ 0x1004767e8\n; > sub_1004A108C @ 0x1004a110c\n; > sub_1004A130C @ 0x1004a138c\n; > ColorSelectPopup::colorSelectClosed @ 0x1004a2968\n; > ColorSelectPopup::colorSelectClosed @ 0x1004a2a08\n; \n; This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 11:01:25 +0000\n; \nSUB             W8, W0, #0x3E8                                         ; +0x0, 0x10024463c\nCMP             W8, #0xE                                               ; +0x4, 0x100244640\nB.HI            loc_100244658                                          ; +0x8, 0x100244644\nADRL            X9, off_100907420; \"BG\"                                ; +0xc, 0x100244648\nLDR             X0, [X9,W8,UXTW#3]                                     ; +0x14, 0x100244650\nRET                                                                    ; +0x18, 0x100244654\nADRL            X0, aNa; \"NA\"                                          ; +0x1c, 0x100244658\nRET                                                                    ; +0x24, 0x100244660", "xrefs": ["ColorChannelSprite::updateCopyLabel @ 0x10000d304", "CustomizeObjectLayer::updateChannelLabel @ 0x100058ac8", "sub_10011AB4C @ 0x10011ac00", "GJSpecialColorSelect::init @ 0x100244404", "sub_10037BC48 @ 0x10037bd94", "SetColorIDPopup::colorSelectClosed @ 0x10037bef4", "LevelEditorLayer::updateObjectLabel @ 0x1003ff304", "sub_10045D510 @ 0x10045d5ac", "sub_10045D620 @ 0x10045d6a0", "SetupPulsePopup::colorSelectClosed @ 0x10045dd38", "SetupPulsePopup::colorSelectClosed @ 0x10045ddd0", "EditorUI::updateObjectInfoLabel @ 0x100475a88", "EditorUI::updateObjectInfoLabel @ 0x100475acc", "EditorUI::setIDPopupClosed @ 0x1004767e8", "sub_1004A108C @ 0x1004a110c", "sub_1004A130C @ 0x1004a138c", "ColorSelectPopup::colorSelectClosed @ 0x1004a2968", "ColorSelectPopup::colorSelectClosed @ 0x1004a2a08"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "arm", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}