{"type": "func", "start": 4296734032, "end": 4296734072, "name": "GJSpecialColorSelect::textForColorIdx", "pseudocode": "// \n// GJSpecialColorSelect::textForColorIdx from 0x1001af550 to 0x1001af578 (40 bytes)\n// \n// 18 xrefs:\n// > ColorChannelSprite::updateCopyLabel @ 0x10000ce74\n// > CustomizeObjectLayer::updateChannelLabel @ 0x1000502ac\n// > ColorSelectLiveOverlay::updateColorLabel @ 0x1000f64a4\n// > GJSpecialColorSelect::init @ 0x1001af318\n// > SetColorIDPopup::init @ 0x1002dea60\n// > SetColorIDPopup::colorSelectClosed @ 0x1002debc0\n// > LevelEditorLayer::updateObjectLabel @ 0x10035dfd8\n// > SetupPulsePopup::updateTextInputLabel @ 0x1003b68c0\n// > SetupPulsePopup::updateCopyColorTextInputLabel @ 0x1003b69b4\n// > SetupPulsePopup::colorSelectClosed @ 0x1003b704c\n// > SetupPulsePopup::colorSelectClosed @ 0x1003b70e4\n// > EditorUI::updateObjectInfoLabel @ 0x1003e7cc0\n// > EditorUI::updateObjectInfoLabel @ 0x1003e7d04\n// > EditorUI::setIDPopupClosed @ 0x1003e9f4c\n// > ColorSelectPopup::updateTextInputLabel @ 0x10041f144\n// > ColorSelectPopup::updateCopyColorTextInputLabel @ 0x10041f3c4\n// > ColorSelectPopup::colorSelectClosed @ 0x100420998\n// > ColorSelectPopup::colorSelectClosed @ 0x100420a38\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\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_1007AFE58[a1 - 1000];\n}", "assembly": "; \n; GJSpecialColorSelect::textForColorIdx from 0x1001af550 to 0x1001af578 (40 bytes)\n; \n; 18 xrefs:\n; > ColorChannelSprite::updateCopyLabel @ 0x10000ce74\n; > CustomizeObjectLayer::updateChannelLabel @ 0x1000502ac\n; > ColorSelectLiveOverlay::updateColorLabel @ 0x1000f64a4\n; > GJSpecialColorSelect::init @ 0x1001af318\n; > SetColorIDPopup::init @ 0x1002dea60\n; > SetColorIDPopup::colorSelectClosed @ 0x1002debc0\n; > LevelEditorLayer::updateObjectLabel @ 0x10035dfd8\n; > SetupPulsePopup::updateTextInputLabel @ 0x1003b68c0\n; > SetupPulsePopup::updateCopyColorTextInputLabel @ 0x1003b69b4\n; > SetupPulsePopup::colorSelectClosed @ 0x1003b704c\n; > SetupPulsePopup::colorSelectClosed @ 0x1003b70e4\n; > EditorUI::updateObjectInfoLabel @ 0x1003e7cc0\n; > EditorUI::updateObjectInfoLabel @ 0x1003e7d04\n; > EditorUI::setIDPopupClosed @ 0x1003e9f4c\n; > ColorSelectPopup::updateTextInputLabel @ 0x10041f144\n; > ColorSelectPopup::updateCopyColorTextInputLabel @ 0x10041f3c4\n; > ColorSelectPopup::colorSelectClosed @ 0x100420998\n; > ColorSelectPopup::colorSelectClosed @ 0x100420a38\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\nSUB             W8, W0, #0x3E8                                         ; +0x0, 0x1001af550\nCMP             W8, #0xE                                               ; +0x4, 0x1001af554\nB.HI            loc_1001AF56C                                          ; +0x8, 0x1001af558\nADRL            X9, off_1007AFE58; \"BG\"                                ; +0xc, 0x1001af55c\nLDR             X0, [X9,W8,UXTW#3]                                     ; +0x14, 0x1001af564\nRET                                                                    ; +0x18, 0x1001af568\nADRL            X0, aNa; \"NA\"                                          ; +0x1c, 0x1001af56c\nRET                                                                    ; +0x24, 0x1001af574", "xrefs": ["ColorChannelSprite::updateCopyLabel @ 0x10000ce74", "CustomizeObjectLayer::updateChannelLabel @ 0x1000502ac", "ColorSelectLiveOverlay::updateColorLabel @ 0x1000f64a4", "GJSpecialColorSelect::init @ 0x1001af318", "SetColorIDPopup::init @ 0x1002dea60", "SetColorIDPopup::colorSelectClosed @ 0x1002debc0", "LevelEditorLayer::updateObjectLabel @ 0x10035dfd8", "SetupPulsePopup::updateTextInputLabel @ 0x1003b68c0", "SetupPulsePopup::updateCopyColorTextInputLabel @ 0x1003b69b4", "SetupPulsePopup::colorSelectClosed @ 0x1003b704c", "SetupPulsePopup::colorSelectClosed @ 0x1003b70e4", "EditorUI::updateObjectInfoLabel @ 0x1003e7cc0", "EditorUI::updateObjectInfoLabel @ 0x1003e7d04", "EditorUI::setIDPopupClosed @ 0x1003e9f4c", "ColorSelectPopup::updateTextInputLabel @ 0x10041f144", "ColorSelectPopup::updateCopyColorTextInputLabel @ 0x10041f3c4", "ColorSelectPopup::colorSelectClosed @ 0x100420998", "ColorSelectPopup::colorSelectClosed @ 0x100420a38"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}