; ; ColorSelectPopup::updateCustomColorIdx from 0x100420490 to 0x100420508 (120 bytes) ; ; 3 xrefs: ; > ColorSelectPopup::onUpdateCopyColor @ 0x10041f0a8 ; > ColorSelectPopup::textChanged @ 0x1004206ec ; > ColorSelectPopup::colorSelectClosed @ 0x1004209cc ; ; 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 X20, X19, [SP,#-0x10+var_10]! ; +0x0, 0x100420490 STP X29, X30, [SP,#0x10+var_s0] ; +0x4, 0x100420494 ADD X29, SP, #0x10 ; +0x8, 0x100420498 LDR W8, [X0,#0x448] ; +0xc, 0x10042049c CMP W8, #1 ; +0x10, 0x1004204a0 CSINC W8, W8, WZR, GT ; +0x14, 0x1004204a4 STR W8, [X0,#0x448] ; +0x18, 0x1004204a8 LDR X9, [X0,#0x290] ; +0x1c, 0x1004204ac CBZ X9, loc_1004204C4 ; +0x20, 0x1004204b0 STR W8, [X9,#0x400] ; +0x24, 0x1004204b4 LDP X29, X30, [SP,#0x10+var_s0] ; +0x28, 0x1004204b8 LDP X20, X19, [SP+0x10+var_10],#0x20 ; +0x2c, 0x1004204bc RET ; +0x30, 0x1004204c0 MOV X19, X0 ; +0x34, 0x1004204c4 LDR X0, [X0,#0x298] ; +0x38, 0x1004204c8 CBZ X0, loc_1004204B8 ; +0x3c, 0x1004204cc BL sub_10024A36C ; +0x40, 0x1004204d0 CBZ W0, loc_1004204B8 ; +0x44, 0x1004204d4 MOV W20, #0 ; +0x48, 0x1004204d8 LDR X0, [X19,#0x298] ; +0x4c, 0x1004204dc MOV X1, X20 ; +0x50, 0x1004204e0 BL sub_10024A388 ; +0x54, 0x1004204e4 LDR W8, [X19,#0x448] ; +0x58, 0x1004204e8 STR W8, [X0,#0x400] ; +0x5c, 0x1004204ec ADD W20, W20, #1 ; +0x60, 0x1004204f0 LDR X0, [X19,#0x298] ; +0x64, 0x1004204f4 BL sub_10024A36C ; +0x68, 0x1004204f8 CMP W20, W0 ; +0x6c, 0x1004204fc B.CC loc_1004204DC ; +0x70, 0x100420500 B loc_1004204B8 ; +0x74, 0x100420504