; ; ColorSelectPopup::updateCopyColor from 0x100420858 to 0x10042090c (180 bytes) ; ; 4 xrefs: ; > ColorSelectPopup::onToggleHSVMode @ 0x10041eed8 ; > ColorSelectPopup::onUpdateCustomColor @ 0x10041f210 ; > ColorSelectPopup::textChanged @ 0x100420820 ; > ColorSelectPopup::colorSelectClosed @ 0x100420a6c ; ; This function is hookable on this platform! ; ; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA ; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings ; STP X22, X21, [SP,#-0x10+var_20]! ; +0x0, 0x100420858 STP X20, X19, [SP,#0x20+var_10] ; +0x4, 0x10042085c STP X29, X30, [SP,#0x20+var_s0] ; +0x8, 0x100420860 ADD X29, SP, #0x20 ; +0xc, 0x100420864 MOV X19, X0 ; +0x10, 0x100420868 LDR X0, [X0,#0x290] ; +0x14, 0x10042086c CBZ X0, loc_10042089C ; +0x18, 0x100420870 LDR W20, [X19,#0x450] ; +0x1c, 0x100420874 BL EffectGameObject__getTargetColorIndex ; +0x20, 0x100420878 CMP W0, W20 ; +0x24, 0x10042087c CSEL W8, WZR, W20, EQ ; +0x28, 0x100420880 LDR X9, [X19,#0x290] ; +0x2c, 0x100420884 STR W8, [X9,#0x65C] ; +0x30, 0x100420888 LDP X29, X30, [SP,#0x20+var_s0] ; +0x34, 0x10042088c LDP X20, X19, [SP,#0x20+var_10] ; +0x38, 0x100420890 LDP X22, X21, [SP+0x20+var_20],#0x30 ; +0x3c, 0x100420894 RET ; +0x40, 0x100420898 LDR X0, [X19,#0x298] ; +0x44, 0x10042089c CBZ X0, loc_1004208EC ; +0x48, 0x1004208a0 BL sub_10024A36C ; +0x4c, 0x1004208a4 CBZ W0, loc_10042088C ; +0x50, 0x1004208a8 MOV W20, #0 ; +0x54, 0x1004208ac LDR X0, [X19,#0x298] ; +0x58, 0x1004208b0 MOV X1, X20 ; +0x5c, 0x1004208b4 BL sub_10024A388 ; +0x60, 0x1004208b8 MOV X21, X0 ; +0x64, 0x1004208bc LDR W22, [X19,#0x450] ; +0x68, 0x1004208c0 BL EffectGameObject__getTargetColorIndex ; +0x6c, 0x1004208c4 CMP W0, W22 ; +0x70, 0x1004208c8 CSEL W8, WZR, W22, EQ ; +0x74, 0x1004208cc STR W8, [X21,#0x65C] ; +0x78, 0x1004208d0 ADD W20, W20, #1 ; +0x7c, 0x1004208d4 LDR X0, [X19,#0x298] ; +0x80, 0x1004208d8 BL sub_10024A36C ; +0x84, 0x1004208dc CMP W20, W0 ; +0x88, 0x1004208e0 B.CC loc_1004208B0 ; +0x8c, 0x1004208e4 B loc_10042088C ; +0x90, 0x1004208e8 LDR X8, [X19,#0x430] ; +0x94, 0x1004208ec CBZ X8, loc_10042088C ; +0x98, 0x1004208f0 LDR W9, [X19,#0x450] ; +0x9c, 0x1004208f4 LDR W10, [X8,#0x5C] ; +0xa0, 0x1004208f8 CMP W10, W9 ; +0xa4, 0x1004208fc CSEL W9, WZR, W9, EQ ; +0xa8, 0x100420900 STR W9, [X8,#0x78] ; +0xac, 0x100420904 B loc_10042088C ; +0xb0, 0x100420908