; ; EditorUI::editColor from 0x1003edb88 to 0x1003edcac (292 bytes) ; ; 2 xrefs: ; > EditorUI::onEditColor @ 0x1003e4870 ; > EditorUI::checkLiveColorSelect @ 0x1003eda84 ; ; 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 ; SUB SP, SP, #0x50 ; +0x0, 0x1003edb88 STP X22, X21, [SP,#0x40+var_20] ; +0x4, 0x1003edb8c STP X20, X19, [SP,#0x40+var_10] ; +0x8, 0x1003edb90 STP X29, X30, [SP,#0x40+var_s0] ; +0xc, 0x1003edb94 ADD X29, SP, #0x40 ; +0x10, 0x1003edb98 MOV X19, X0 ; +0x14, 0x1003edb9c STP XZR, XZR, [SP,#0x40+var_30] ; +0x18, 0x1003edba0 STR XZR, [SP,#0x40+var_38] ; +0x1c, 0x1003edba4 ADD X1, SP, #0x40+var_28 ; +0x20, 0x1003edba8 ADD X2, SP, #0x40+var_30 ; +0x24, 0x1003edbac ADD X3, SP, #0x40+var_38 ; +0x28, 0x1003edbb0 BL EditorUI__getEditColorTargets ; +0x2c, 0x1003edbb4 LDP X22, X21, [SP,#0x40+var_30] ; +0x30, 0x1003edbb8 LDR X20, [SP,#0x40+var_38] ; +0x34, 0x1003edbbc CMP X21, #0 ; +0x38, 0x1003edbc0 CCMP X22, #0, #0, EQ ; +0x3c, 0x1003edbc4 CCMP X20, #0, #0, EQ ; +0x40, 0x1003edbc8 B.EQ loc_1003EDC38 ; +0x44, 0x1003edbcc LDR X0, [X19,#0x548] ; +0x48, 0x1003edbd0 CBZ X0, loc_1003EDBE4 ; +0x4c, 0x1003edbd4 MOV X1, #0 ; +0x50, 0x1003edbd8 BL ColorSelectLiveOverlay__closeColorSelect ; +0x54, 0x1003edbdc STR XZR, [X19,#0x548] ; +0x58, 0x1003edbe0 LDR X0, [X19,#0x550] ; +0x5c, 0x1003edbe4 CBZ X0, loc_1003EDBF8 ; +0x60, 0x1003edbe8 MOV X1, #0 ; +0x64, 0x1003edbec BL HSVLiveOverlay__closeColorSelect ; +0x68, 0x1003edbf0 STR XZR, [X19,#0x550] ; +0x6c, 0x1003edbf4 STR XZR, [X19,#0x548] ; +0x70, 0x1003edbf8 CBZ X20, loc_1003EDC0C ; +0x74, 0x1003edbfc MOV X0, X20 ; +0x78, 0x1003edc00 BL ColorSelectLiveOverlay__createWithObject ; +0x7c, 0x1003edc04 B loc_1003EDC18 ; +0x80, 0x1003edc08 MOV X0, X21 ; +0x84, 0x1003edc0c MOV X1, X22 ; +0x88, 0x1003edc10 BL ColorSelectLiveOverlay__createWithActions ; +0x8c, 0x1003edc14 STR X0, [X19,#0x548] ; +0x90, 0x1003edc18 ADD X8, X19, #0x1A0 ; +0x94, 0x1003edc1c STR X8, [X0,#0x2C0] ; +0x98, 0x1003edc20 STR X19, [X0,#0x230] ; +0x9c, 0x1003edc24 LDR X8, [X0] ; +0xa0, 0x1003edc28 LDR X8, [X8,#0x508] ; +0xa4, 0x1003edc2c BLR X8 ; +0xa8, 0x1003edc30 CBZ X20, loc_1003EDC4C ; +0xac, 0x1003edc34 LDP X29, X30, [SP,#0x40+var_s0] ; +0xb0, 0x1003edc38 LDP X20, X19, [SP,#0x40+var_10] ; +0xb4, 0x1003edc3c LDP X22, X21, [SP,#0x40+var_20] ; +0xb8, 0x1003edc40 ADD SP, SP, #0x50 ; 'P' ; +0xbc, 0x1003edc44 RET ; +0xc0, 0x1003edc48 LDR X0, [X19,#0x520] ; +0xc4, 0x1003edc4c CBZ X0, loc_1003EDC68 ; +0xc8, 0x1003edc50 LDP X29, X30, [SP,#0x40+var_s0] ; +0xcc, 0x1003edc54 LDP X20, X19, [SP,#0x40+var_10] ; +0xd0, 0x1003edc58 LDP X22, X21, [SP,#0x40+var_20] ; +0xd4, 0x1003edc5c ADD SP, SP, #0x50 ; 'P' ; +0xd8, 0x1003edc60 B GameObject__deselectObject ; +0xdc, 0x1003edc64 LDR X0, [X19,#0x328] ; +0xe0, 0x1003edc68 BL sub_10024A36C ; +0xe4, 0x1003edc6c CBZ W0, loc_1003EDC38 ; +0xe8, 0x1003edc70 LDR X0, [X19,#0x328] ; +0xec, 0x1003edc74 BL sub_10024A36C ; +0xf0, 0x1003edc78 CBZ W0, loc_1003EDC38 ; +0xf4, 0x1003edc7c MOV W20, #0 ; +0xf8, 0x1003edc80 LDR X0, [X19,#0x328] ; +0xfc, 0x1003edc84 MOV X1, X20 ; +0x100, 0x1003edc88 BL sub_10024A388 ; +0x104, 0x1003edc8c BL GameObject__deselectObject ; +0x108, 0x1003edc90 ADD W20, W20, #1 ; +0x10c, 0x1003edc94 LDR X0, [X19,#0x328] ; +0x110, 0x1003edc98 BL sub_10024A36C ; +0x114, 0x1003edc9c CMP W20, W0 ; +0x118, 0x1003edca0 B.CC loc_1003EDC84 ; +0x11c, 0x1003edca4 B loc_1003EDC38 ; +0x120, 0x1003edca8