{"type": "func", "start": 4302320688, "end": 4302320730, "name": "GJSpecialColorSelect::textForColorIdx", "pseudocode": "// \n// GJSpecialColorSelect::textForColorIdx from 0x100703430 to 0x10070345a (42 bytes)\n// \n// 24 xrefs:\n// > EditorUI::updateObjectInfoLabel @ 0x10000f036\n// > EditorUI::updateObjectInfoLabel @ 0x10000f076\n// > EditorUI::setIDPopupClosed @ 0x10001031b\n// > LevelEditorLayer::updateObjectLabel @ 0x1000bca1c\n// > CustomizeObjectLayer::onSelectMode @ 0x1001d9a00\n// > CustomizeObjectLayer::onSelectColor @ 0x1001d9f82\n// > CustomizeObjectLayer::onUpdateCustomColor @ 0x1001da050\n// > CustomizeObjectLayer::onNextColorChannel @ 0x1001da6f7\n// > CustomizeObjectLayer::onPaste @ 0x1001da7ce\n// > CustomizeObjectLayer::updateChannelLabel @ 0x1001dab03\n// > CustomizeObjectLayer::colorSetupClosed @ 0x1001dae97\n// > CustomizeObjectLayer::textChanged @ 0x1001db940\n// > SetColorIDPopup::init @ 0x100299671\n// > SetColorIDPopup::colorSelectClosed @ 0x100299817\n// > ColorChannelSprite::updateCopyLabel @ 0x1002c3824\n// > SetupPulsePopup::updateTextInputLabel @ 0x100397a60\n// > sub_100397B40 @ 0x100397c44\n// > SetupPulsePopup::colorSelectClosed @ 0x1003984e9\n// > SetupPulsePopup::colorSelectClosed @ 0x100398584\n// > ColorSelectLiveOverlay::updateColorLabel @ 0x100596edd\n// > ColorSelectPopup::updateTextInputLabel @ 0x100807424\n// > ColorSelectPopup::updateCopyColorTextInputLabel @ 0x1008077b4\n// > ColorSelectPopup::colorSelectClosed @ 0x10080a269\n// > ColorSelectPopup::colorSelectClosed @ 0x10080a304\n// \n// This function is hookable on this platform (idp: pc, 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 12:35:59 +0000\n// \n\nconst std::string::value_type *__fastcall GJSpecialColorSelect::textForColorIdx(int a1)\n{\n  unsigned int v1; // edi\n\n  v1 = a1 - 1000;\n  if ( v1 > 0xE )\n    return \"NA\";\n  else\n    return (char *)dword_100A11CF0 + dword_100A11CF0[v1];\n}", "assembly": "; \n; GJSpecialColorSelect::textForColorIdx from 0x100703430 to 0x10070345a (42 bytes)\n; \n; 24 xrefs:\n; > EditorUI::updateObjectInfoLabel @ 0x10000f036\n; > EditorUI::updateObjectInfoLabel @ 0x10000f076\n; > EditorUI::setIDPopupClosed @ 0x10001031b\n; > LevelEditorLayer::updateObjectLabel @ 0x1000bca1c\n; > CustomizeObjectLayer::onSelectMode @ 0x1001d9a00\n; > CustomizeObjectLayer::onSelectColor @ 0x1001d9f82\n; > CustomizeObjectLayer::onUpdateCustomColor @ 0x1001da050\n; > CustomizeObjectLayer::onNextColorChannel @ 0x1001da6f7\n; > CustomizeObjectLayer::onPaste @ 0x1001da7ce\n; > CustomizeObjectLayer::updateChannelLabel @ 0x1001dab03\n; > CustomizeObjectLayer::colorSetupClosed @ 0x1001dae97\n; > CustomizeObjectLayer::textChanged @ 0x1001db940\n; > SetColorIDPopup::init @ 0x100299671\n; > SetColorIDPopup::colorSelectClosed @ 0x100299817\n; > ColorChannelSprite::updateCopyLabel @ 0x1002c3824\n; > SetupPulsePopup::updateTextInputLabel @ 0x100397a60\n; > sub_100397B40 @ 0x100397c44\n; > SetupPulsePopup::colorSelectClosed @ 0x1003984e9\n; > SetupPulsePopup::colorSelectClosed @ 0x100398584\n; > ColorSelectLiveOverlay::updateColorLabel @ 0x100596edd\n; > ColorSelectPopup::updateTextInputLabel @ 0x100807424\n; > ColorSelectPopup::updateCopyColorTextInputLabel @ 0x1008077b4\n; > ColorSelectPopup::colorSelectClosed @ 0x10080a269\n; > ColorSelectPopup::colorSelectClosed @ 0x10080a304\n; \n; This function is hookable on this platform (idp: pc, 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 12:35:59 +0000\n; \npush    rbp                                                            ; +0x0, 0x100703430\nmov     rbp, rsp                                                       ; +0x1, 0x100703431\nadd     edi, 0FFFFFC18h                                                ; +0x4, 0x100703434\ncmp     edi, 0Eh                                                       ; +0xa, 0x10070343a\nja      short loc_100703451                                            ; +0xd, 0x10070343d\nmov     eax, edi                                                       ; +0xf, 0x10070343f\nlea     rcx, dword_100A11CF0                                           ; +0x11, 0x100703441\nmovsxd  rax, dword ptr [rcx+rax*4]                                     ; +0x18, 0x100703448\nadd     rax, rcx                                                       ; +0x1c, 0x10070344c\npop     rbp                                                            ; +0x1f, 0x10070344f\nretn                                                                   ; +0x20, 0x100703450\nlea     rax, aNa; \"NA\"                                                 ; +0x21, 0x100703451\npop     rbp                                                            ; +0x28, 0x100703458\nretn                                                                   ; +0x29, 0x100703459", "xrefs": ["EditorUI::updateObjectInfoLabel @ 0x10000f036", "EditorUI::updateObjectInfoLabel @ 0x10000f076", "EditorUI::setIDPopupClosed @ 0x10001031b", "LevelEditorLayer::updateObjectLabel @ 0x1000bca1c", "CustomizeObjectLayer::onSelectMode @ 0x1001d9a00", "CustomizeObjectLayer::onSelectColor @ 0x1001d9f82", "CustomizeObjectLayer::onUpdateCustomColor @ 0x1001da050", "CustomizeObjectLayer::onNextColorChannel @ 0x1001da6f7", "CustomizeObjectLayer::onPaste @ 0x1001da7ce", "CustomizeObjectLayer::updateChannelLabel @ 0x1001dab03", "CustomizeObjectLayer::colorSetupClosed @ 0x1001dae97", "CustomizeObjectLayer::textChanged @ 0x1001db940", "SetColorIDPopup::init @ 0x100299671", "SetColorIDPopup::colorSelectClosed @ 0x100299817", "ColorChannelSprite::updateCopyLabel @ 0x1002c3824", "SetupPulsePopup::updateTextInputLabel @ 0x100397a60", "sub_100397B40 @ 0x100397c44", "SetupPulsePopup::colorSelectClosed @ 0x1003984e9", "SetupPulsePopup::colorSelectClosed @ 0x100398584", "ColorSelectLiveOverlay::updateColorLabel @ 0x100596edd", "ColorSelectPopup::updateTextInputLabel @ 0x100807424", "ColorSelectPopup::updateCopyColorTextInputLabel @ 0x1008077b4", "ColorSelectPopup::colorSelectClosed @ 0x10080a269", "ColorSelectPopup::colorSelectClosed @ 0x10080a304"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "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"}