; ; CustomizeObjectLayer::onUpdateCustomColor from 0x8415dc to 0x84166c (144 bytes) ; ; 4 xrefs: ; > @ 0x43170 ; > CustomizeObjectLayer::init @ 0x842d68 ; > CustomizeObjectLayer::init @ 0x842e34 ; > @ 0x122a1e8 ; ; 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 X29, X30, [SP,#var_20]! ; +0x0, 0x8415dc MOV W2, #1 ; +0x4, 0x8415e0 MOV X29, SP ; +0x8, 0x8415e4 STR X19, [SP,#0x20+var_10] ; +0xc, 0x8415e8 MOV X19, X0 ; +0x10, 0x8415ec MOV X0, X1 ; +0x14, 0x8415f0 LDR X1, [X1] ; +0x18, 0x8415f4 STRB W2, [X19,#0x382] ; +0x1c, 0x8415f8 LDR X1, [X1,#0x40] ; +0x20, 0x8415fc BLR X1 ; +0x24, 0x841600 CMP W0, #1 ; +0x28, 0x841604 LDR W1, [X19,#0x2D4] ; +0x2c, 0x841608 B.EQ loc_841664 ; +0x30, 0x84160c SUB W1, W1, #1 ; +0x34, 0x841610 CMP W1, #0xA ; +0x38, 0x841614 MOV W0, #0xA ; +0x3c, 0x841618 CSEL W1, W1, W0, GE ; +0x40, 0x84161c MOV W2, #0x3E7 ; +0x44, 0x841620 CMP W1, #0x3E7 ; +0x48, 0x841624 MOV X0, X19; this ; +0x4c, 0x841628 CSEL W1, W1, W2, LE ; +0x50, 0x84162c STR W1, [X19,#0x2D4] ; +0x54, 0x841630 BL _ZN20CustomizeObjectLayer23updateCustomColorLabelsEv; CustomizeObjectLayer::updateCustomColorLabels(void) ; +0x58, 0x841634 LDR W1, [X19,#0x2D4]; int ; +0x5c, 0x841638 MOV X0, X19; this ; +0x60, 0x84163c BL _ZN20CustomizeObjectLayer14updateSelectedEi; CustomizeObjectLayer::updateSelected(int) ; +0x64, 0x841640 STRB WZR, [X19,#0x382] ; +0x68, 0x841644 MOV X0, X19; this ; +0x6c, 0x841648 BL _ZN20CustomizeObjectLayer17updateColorSpriteEv; CustomizeObjectLayer::updateColorSprite(void) ; +0x70, 0x84164c MOV X0, X19; this ; +0x74, 0x841650 LDR W1, [X19,#0x2D4]; GJSpecialColorSelect * ; +0x78, 0x841654 LDR X19, [SP,#0x20+var_10] ; +0x7c, 0x841658 LDP X29, X30, [SP+0x20+var_20],#0x20 ; +0x80, 0x84165c B _ZN20CustomizeObjectLayer18updateChannelLabelEi; CustomizeObjectLayer::updateChannelLabel(int) ; +0x84, 0x841660 ADD W1, W1, #1 ; +0x88, 0x841664 B loc_841614 ; +0x8c, 0x841668