; ; CustomizeObjectLayer::highlightSelected from 0x84166c to 0x8417a0 (308 bytes) ; ; 5 xrefs: ; > CustomizeObjectLayer::onSelectColor @ 0x8417f4 ; > CustomizeObjectLayer::colorSetupClosed @ 0x841874 ; > CustomizeObjectLayer::onNextColorChannel @ 0x84190c ; > CustomizeObjectLayer::updateCurrentSelection @ 0x84198c ; > @ 0x55a88 ; ; 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,#-0x40+var_s0]! ; +0x0, 0x84166c MOV X29, SP ; +0x4, 0x841670 STP X21, X22, [SP,#var_s20] ; +0x8, 0x841674 STP X23, X24, [SP,#var_s30] ; +0xc, 0x841678 ADRP X22, #aGjButton05Png@PAGE; "GJ_button_05.png" ; +0x10, 0x84167c ADRP X23, #aGjButton04Png@PAGE; "GJ_button_04.png" ; +0x14, 0x841680 STP X19, X20, [SP,#var_s10] ; +0x18, 0x841684 MOV X21, X0 ; +0x1c, 0x841688 MOV X24, X1 ; +0x20, 0x84168c MOV W19, #0 ; +0x24, 0x841690 ADD X23, X23, #aGjButton04Png@PAGEOFF; "GJ_button_04.png" ; +0x28, 0x841694 ADD X22, X22, #aGjButton05Png@PAGEOFF; "GJ_button_05.png" ; +0x2c, 0x841698 B loc_8416C8 ; +0x30, 0x84169c LDR X0, [X21,#0x2A8]; this ; +0x34, 0x8416a0 BL _ZN7cocos2d7CCArray13objectAtIndexEj; cocos2d::CCArray::objectAtIndex(uint) ; +0x38, 0x8416a4 LDR X1, [X0] ; +0x3c, 0x8416a8 MOV X20, X0 ; +0x40, 0x8416ac LDR X1, [X1,#0x40] ; +0x44, 0x8416b0 BLR X1 ; +0x48, 0x8416b4 CMP W0, #0x3F0 ; +0x4c, 0x8416b8 CSEL X1, X23, X22, NE; char * ; +0x50, 0x8416bc MOV X0, X20; this ; +0x54, 0x8416c0 BL _ZN12ButtonSprite13updateBGImageEPKc; ButtonSprite::updateBGImage(char const*) ; +0x58, 0x8416c4 LDR X0, [X21,#0x2A8]; this ; +0x5c, 0x8416c8 BL _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0x60, 0x8416cc CMP W19, W0 ; +0x64, 0x8416d0 MOV W1, W19; unsigned int ; +0x68, 0x8416d4 ADD W19, W19, #1 ; +0x6c, 0x8416d8 B.CC loc_8416A0 ; +0x70, 0x8416dc CBZ X24, loc_841798 ; +0x74, 0x8416e0 ADRP X1, #aGjButton02Png@PAGE; "GJ_button_02.png" ; +0x78, 0x8416e4 MOV X0, X24; this ; +0x7c, 0x8416e8 ADD X1, X1, #aGjButton02Png@PAGEOFF; "GJ_button_02.png" ; +0x80, 0x8416ec BL _ZN12ButtonSprite13updateBGImageEPKc; ButtonSprite::updateBGImage(char const*) ; +0x84, 0x8416f0 LDR X1, [X24] ; +0x88, 0x8416f4 MOV X0, X24 ; +0x8c, 0x8416f8 LDR X1, [X1,#0x40] ; +0x90, 0x8416fc BLR X1 ; +0x94, 0x841700 CMP W0, #0x3F0 ; +0x98, 0x841704 CSET W19, EQ ; +0x9c, 0x841708 LDR X2, [X21,#0x350] ; +0xa0, 0x84170c MOV W1, W19 ; +0xa4, 0x841710 MOV X0, X2 ; +0xa8, 0x841714 LDR X2, [X2] ; +0xac, 0x841718 LDR X2, [X2,#0x148] ; +0xb0, 0x84171c BLR X2 ; +0xb4, 0x841720 LDR X2, [X21,#0x358] ; +0xb8, 0x841724 MOV W1, W19 ; +0xbc, 0x841728 MOV X0, X2 ; +0xc0, 0x84172c LDR X2, [X2] ; +0xc4, 0x841730 LDR X2, [X2,#0x148] ; +0xc8, 0x841734 BLR X2 ; +0xcc, 0x841738 LDR X2, [X21,#0x318] ; +0xd0, 0x84173c MOV W1, W19 ; +0xd4, 0x841740 MOV X0, X2 ; +0xd8, 0x841744 LDR X2, [X2] ; +0xdc, 0x841748 LDR X2, [X2,#0x3D8] ; +0xe0, 0x84174c BLR X2 ; +0xe4, 0x841750 LDR X2, [X21,#0x318] ; +0xe8, 0x841754 MOV W1, W19 ; +0xec, 0x841758 MOV X0, X2 ; +0xf0, 0x84175c LDR X2, [X2] ; +0xf4, 0x841760 LDR X2, [X2,#0x148] ; +0xf8, 0x841764 BLR X2 ; +0xfc, 0x841768 LDR X2, [X21,#0x360] ; +0x100, 0x84176c MOV W1, W19 ; +0x104, 0x841770 MOV X0, X2 ; +0x108, 0x841774 LDR X2, [X2] ; +0x10c, 0x841778 LDR X2, [X2,#0x148] ; +0x110, 0x84177c BLR X2 ; +0x114, 0x841780 LDP X19, X20, [SP,#var_s10] ; +0x118, 0x841784 LDP X21, X22, [SP,#var_s20] ; +0x11c, 0x841788 LDP X23, X24, [SP,#var_s30] ; +0x120, 0x84178c LDP X29, X30, [SP+var_s0],#0x40 ; +0x124, 0x841790 RET ; +0x128, 0x841794 MOV W19, #0 ; +0x12c, 0x841798 B loc_84170C ; +0x130, 0x84179c