; ; ColorSelectPopup::onPlayerColor2 from 0x10041ece8 to 0x10041ed98 (176 bytes) ; ; 1 xrefs: ; > ColorSelectPopup::init @ 0x10041cf4c ; ; 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, 0x10041ece8 STP X29, X30, [SP,#0x10+var_s0] ; +0x4, 0x10041ecec ADD X29, SP, #0x10 ; +0x8, 0x10041ecf0 MOV X19, X0 ; +0xc, 0x10041ecf4 LDR X0, [X0,#0x3E8] ; +0x10, 0x10041ecf8 MOV W1, #0 ; +0x14, 0x10041ecfc BL CCMenuItemToggler__toggle ; +0x18, 0x10041ed00 LDR W9, [X19,#0x424] ; +0x1c, 0x10041ed04 CMP W9, #2 ; +0x20, 0x10041ed08 CSET W8, NE ; +0x24, 0x10041ed0c LSL W8, W8, #1 ; +0x28, 0x10041ed10 STR W8, [X19,#0x424] ; +0x2c, 0x10041ed14 LDR X10, [X19,#0x290] ; +0x30, 0x10041ed18 CBZ X10, loc_10041ED3C ; +0x34, 0x10041ed1c CMP W9, #2 ; +0x38, 0x10041ed20 CSET W8, NE ; +0x3c, 0x10041ed24 STRB W8, [X10,#0x5CE] ; +0x40, 0x10041ed28 STRB WZR, [X10,#0x5CD] ; +0x44, 0x10041ed2c LDP X29, X30, [SP,#0x10+var_s0] ; +0x48, 0x10041ed30 LDP X20, X19, [SP+0x10+var_10],#0x20 ; +0x4c, 0x10041ed34 RET ; +0x50, 0x10041ed38 LDR X0, [X19,#0x298] ; +0x54, 0x10041ed3c CBZ X0, loc_10041ED88 ; +0x58, 0x10041ed40 BL sub_10024A36C ; +0x5c, 0x10041ed44 CBZ W0, loc_10041ED30 ; +0x60, 0x10041ed48 MOV W20, #0 ; +0x64, 0x10041ed4c LDR X0, [X19,#0x298] ; +0x68, 0x10041ed50 MOV X1, X20 ; +0x6c, 0x10041ed54 BL sub_10024A388 ; +0x70, 0x10041ed58 LDR W8, [X19,#0x424] ; +0x74, 0x10041ed5c CMP W8, #2 ; +0x78, 0x10041ed60 CSET W8, EQ ; +0x7c, 0x10041ed64 STRB W8, [X0,#0x5CE] ; +0x80, 0x10041ed68 STRB WZR, [X0,#0x5CD] ; +0x84, 0x10041ed6c ADD W20, W20, #1 ; +0x88, 0x10041ed70 LDR X0, [X19,#0x298] ; +0x8c, 0x10041ed74 BL sub_10024A36C ; +0x90, 0x10041ed78 CMP W20, W0 ; +0x94, 0x10041ed7c B.CC loc_10041ED50 ; +0x98, 0x10041ed80 B loc_10041ED30 ; +0x9c, 0x10041ed84 LDR X9, [X19,#0x430] ; +0xa0, 0x10041ed88 CBZ X9, loc_10041ED30 ; +0xa4, 0x10041ed8c STR W8, [X9,#0x58] ; +0xa8, 0x10041ed90 B loc_10041ED30 ; +0xac, 0x10041ed94