; ; ColorSelectPopup::onDefault from 0x10041ea54 to 0x10041ec08 (436 bytes) ; ; 1 xrefs: ; > ColorSelectPopup::init @ 0x10041cce4 ; ; 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, #0x70 ; +0x0, 0x10041ea54 STP X22, X21, [SP,#0x60+var_20] ; +0x4, 0x10041ea58 STP X20, X19, [SP,#0x60+var_10] ; +0x8, 0x10041ea5c STP X29, X30, [SP,#0x60+var_s0] ; +0xc, 0x10041ea60 ADD X29, SP, #0x60 ; +0x10, 0x10041ea64 MOV X19, X0 ; +0x14, 0x10041ea68 BL GameManager__sharedState ; +0x18, 0x10041ea6c LDR X8, [X0,#0x200] ; +0x1c, 0x10041ea70 CBZ X8, loc_10041EBF4 ; +0x20, 0x10041ea74 LDR X8, [X19,#0x290] ; +0x24, 0x10041ea78 CBZ X8, loc_10041EB0C ; +0x28, 0x10041ea7c BL GameManager__sharedState ; +0x2c, 0x10041ea80 LDR X8, [X0,#0x200] ; +0x30, 0x10041ea84 LDR X8, [X8,#0xCD8] ; +0x34, 0x10041ea88 LDR X0, [X8,#0x140] ; +0x38, 0x10041ea8c LDR X8, [X19,#0x290] ; +0x3c, 0x10041ea90 LDR W1, [X8,#0x400] ; +0x40, 0x10041ea94 BL GJEffectManager__getColorAction ; +0x44, 0x10041ea98 CBZ X0, loc_10041EBF4 ; +0x48, 0x10041ea9c MOV X20, X0 ; +0x4c, 0x10041eaa0 LDRH W8, [X0,#0x48] ; +0x50, 0x10041eaa4 LDRB W9, [X0,#0x4A] ; +0x54, 0x10041eaa8 STURB W9, [X29,#var_22] ; +0x58, 0x10041eaac STURH W8, [X29,#var_24] ; +0x5c, 0x10041eab0 LDR X0, [X19,#0x3C0] ; +0x60, 0x10041eab4 LDR X8, [X0] ; +0x64, 0x10041eab8 LDR X8, [X8,#0x540] ; +0x68, 0x10041eabc SUB X1, X29, #-var_24 ; +0x6c, 0x10041eac0 BLR X8 ; +0x70, 0x10041eac4 LDR W8, [X19,#0x428] ; +0x74, 0x10041eac8 LDRB W9, [X20,#0x54] ; +0x78, 0x10041eacc CMP W8, W9 ; +0x7c, 0x10041ead0 B.EQ loc_10041EAE0 ; +0x80, 0x10041ead4 MOV X0, X19 ; +0x84, 0x10041ead8 BL ColorSelectPopup__onToggleTintMode ; +0x88, 0x10041eadc LDR S0, [X20,#0x60] ; +0x8c, 0x10041eae0 STR S0, [X19,#0x42C] ; +0x90, 0x10041eae4 MOV X0, X19 ; +0x94, 0x10041eae8 BL ColorSelectPopup__updateOpacity ; +0x98, 0x10041eaec MOV X0, X19 ; +0x9c, 0x10041eaf0 BL ColorSelectPopup__updateOpacityLabel ; +0xa0, 0x10041eaf4 LDR X0, [X19,#0x3E0] ; +0xa4, 0x10041eaf8 CBZ X0, loc_10041EBF4 ; +0xa8, 0x10041eafc LDR S0, [X19,#0x42C] ; +0xac, 0x10041eb00 BL Slider__setValue ; +0xb0, 0x10041eb04 B loc_10041EBF4 ; +0xb4, 0x10041eb08 LDR X8, [X19,#0x298] ; +0xb8, 0x10041eb0c CBZ X8, loc_10041EBF4 ; +0xbc, 0x10041eb10 LDR X9, [X8,#0x38] ; +0xc0, 0x10041eb14 LDR W8, [X9] ; +0xc4, 0x10041eb18 CBZ W8, loc_10041EB80 ; +0xc8, 0x10041eb1c LDR X20, [X9,#0x10] ; +0xcc, 0x10041eb20 ADD X8, X20, X8,LSL#3 ; +0xd0, 0x10041eb24 SUB X21, X8, #8 ; +0xd4, 0x10041eb28 LDR X22, [X20] ; +0xd8, 0x10041eb2c CBZ X22, loc_10041EB80 ; +0xdc, 0x10041eb30 BL GameManager__sharedState ; +0xe0, 0x10041eb34 LDR X8, [X0,#0x200] ; +0xe4, 0x10041eb38 LDR X8, [X8,#0xCD8] ; +0xe8, 0x10041eb3c LDR X0, [X8,#0x140] ; +0xec, 0x10041eb40 LDR W1, [X22,#0x400] ; +0xf0, 0x10041eb44 BL GJEffectManager__getColorAction ; +0xf4, 0x10041eb48 CBZ X0, loc_10041EB74 ; +0xf8, 0x10041eb4c LDRH W8, [X0,#0x48] ; +0xfc, 0x10041eb50 LDRB W9, [X0,#0x4A] ; +0x100, 0x10041eb54 STRB W9, [X22,#0x5AA] ; +0x104, 0x10041eb58 STRH W8, [X22,#0x5A8] ; +0x108, 0x10041eb5c LDRB W8, [X0,#0x54] ; +0x10c, 0x10041eb60 STRB W8, [X22,#0x5CF] ; +0x110, 0x10041eb64 LDR S0, [X0,#0x60] ; +0x114, 0x10041eb68 STR S0, [X22,#0x5B0] ; +0x118, 0x10041eb6c STR S0, [X19,#0x42C] ; +0x11c, 0x10041eb70 ADD X20, X20, #8 ; +0x120, 0x10041eb74 CMP X20, X21 ; +0x124, 0x10041eb78 B.LS loc_10041EB2C ; +0x128, 0x10041eb7c ADRL X1, aDefaultsLoaded; "Defaults Loaded" ; +0x12c, 0x10041eb80 ADD X0, SP, #0x60+var_40; int ; +0x134, 0x10041eb88 BL sub_100009900 ; +0x138, 0x10041eb8c ADRL X1, asc_100746688; "" ; +0x13c, 0x10041eb90 ADD X0, SP, #0x60+__p; int ; +0x144, 0x10041eb98 BL sub_100009900 ; +0x148, 0x10041eb9c ADRP X8, #dword_10063533C@PAGE ; +0x14c, 0x10041eba0 LDR S1, [X8,#dword_10063533C@PAGEOFF] ; +0x150, 0x10041eba4 ADD X0, SP, #0x60+var_40 ; +0x154, 0x10041eba8 FMOV S0, #0.5 ; +0x158, 0x10041ebac ADD X2, SP, #0x60+__p ; +0x15c, 0x10041ebb0 MOV W1, #0x96 ; +0x160, 0x10041ebb4 BL TextAlertPopup__create ; +0x164, 0x10041ebb8 MOV X1, X0 ; +0x168, 0x10041ebbc LDR X8, [X19] ; +0x16c, 0x10041ebc0 LDR X8, [X8,#0x1C0] ; +0x170, 0x10041ebc4 MOV X0, X19 ; +0x174, 0x10041ebc8 MOV W2, #0x64 ; 'd' ; +0x178, 0x10041ebcc BLR X8 ; +0x17c, 0x10041ebd0 LDRSB W8, [SP,#0x60+var_41] ; +0x180, 0x10041ebd4 TBZ W8, #0x1F, loc_10041EBE4 ; +0x184, 0x10041ebd8 LDR X0, [SP,#0x60+__p]; __p ; +0x188, 0x10041ebdc BL __ZdlPv; operator delete(void *) ; +0x18c, 0x10041ebe0 LDRSB W8, [SP,#0x60+var_29] ; +0x190, 0x10041ebe4 TBZ W8, #0x1F, loc_10041EBF4 ; +0x194, 0x10041ebe8 LDR X0, [SP,#0x60+var_40]; __p ; +0x198, 0x10041ebec BL __ZdlPv; operator delete(void *) ; +0x19c, 0x10041ebf0 LDP X29, X30, [SP,#0x60+var_s0] ; +0x1a0, 0x10041ebf4 LDP X20, X19, [SP,#0x60+var_10] ; +0x1a4, 0x10041ebf8 LDP X22, X21, [SP,#0x60+var_20] ; +0x1a8, 0x10041ebfc ADD SP, SP, #0x70 ; 'p' ; +0x1ac, 0x10041ec00 RET ; +0x1b0, 0x10041ec04