; ; CustomizeObjectLayer::hsvPopupClosed from 0x840958 to 0x840a2c (212 bytes) ; ; 3 xrefs: ; > `non-virtual thunk to'CustomizeObjectLayer::hsvPopupClosed @ 0x840a30 ; > @ 0x851e8 ; > @ 0x118c938 ; ; 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_40]! ; +0x0, 0x840958 MOV X29, SP ; +0x4, 0x84095c STP X19, X20, [SP,#0x40+var_30] ; +0x8, 0x840960 MOV X20, X0 ; +0xc, 0x840964 MOV X0, X1 ; +0x10, 0x840968 LDR X1, [X1] ; +0x14, 0x84096c STP X21, X22, [SP,#0x40+var_20] ; +0x18, 0x840970 STR X23, [SP,#0x40+var_10] ; +0x1c, 0x840974 MOV X22, X2 ; +0x20, 0x840978 LDR X1, [X1,#0x40] ; +0x24, 0x84097c MOV X23, X3 ; +0x28, 0x840980 MOV W21, #2 ; +0x2c, 0x840984 BLR X1 ; +0x30, 0x840988 CMP W0, #1 ; +0x34, 0x84098c LDR X1, [X20,#0x298] ; +0x38, 0x840990 CSINC W21, W21, WZR, NE ; +0x3c, 0x840994 CBZ X1, loc_8409C8 ; +0x40, 0x840998 MOV X0, X1; this ; +0x44, 0x84099c MOV W1, W21; int ; +0x48, 0x8409a0 BL _ZN10GameObject22getRelativeSpriteColorEi; GameObject::getRelativeSpriteColor(int) ; +0x4c, 0x8409a4 CBZ X0, loc_8409B0 ; +0x50, 0x8409a8 STP X22, X23, [X0,#0x10] ; +0x54, 0x8409ac MOV X0, X20; this ; +0x58, 0x8409b0 LDR X23, [SP,#0x40+var_10] ; +0x5c, 0x8409b4 LDP X19, X20, [SP,#0x40+var_30] ; +0x60, 0x8409b8 LDP X21, X22, [SP,#0x40+var_20] ; +0x64, 0x8409bc LDP X29, X30, [SP+0x40+var_40],#0x40 ; +0x68, 0x8409c0 B _ZN20CustomizeObjectLayer16updateHSVButtonsEv; CustomizeObjectLayer::updateHSVButtons(void) ; +0x6c, 0x8409c4 MOV W19, #0 ; +0x70, 0x8409c8 LDR X0, [X20,#0x2A0]; this ; +0x74, 0x8409cc BL _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0x78, 0x8409d0 CMP W19, W0 ; +0x7c, 0x8409d4 MOV W1, W19; unsigned int ; +0x80, 0x8409d8 ADD W19, W19, #1 ; +0x84, 0x8409dc B.CS loc_8409B0 ; +0x88, 0x8409e0 LDR X0, [X20,#0x2A0]; this ; +0x8c, 0x8409e4 BL _ZN7cocos2d7CCArray13objectAtIndexEj; cocos2d::CCArray::objectAtIndex(uint) ; +0x90, 0x8409e8 MOV W1, W21; int ; +0x94, 0x8409ec BL _ZN10GameObject22getRelativeSpriteColorEi; GameObject::getRelativeSpriteColor(int) ; +0x98, 0x8409f0 CBZ X0, loc_8409CC ; +0x9c, 0x8409f4 STP X22, X23, [X0,#0x10] ; +0xa0, 0x8409f8 LDR X0, [X20,#0x2A0]; this ; +0xa4, 0x8409fc BL _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0xa8, 0x840a00 CMP W19, W0 ; +0xac, 0x840a04 MOV W1, W19 ; +0xb0, 0x840a08 ADD W19, W19, #1 ; +0xb4, 0x840a0c B.CC loc_8409E4 ; +0xb8, 0x840a10 MOV X0, X20; this ; +0xbc, 0x840a14 LDR X23, [SP,#0x40+var_10] ; +0xc0, 0x840a18 LDP X19, X20, [SP,#0x40+var_30] ; +0xc4, 0x840a1c LDP X21, X22, [SP,#0x40+var_20] ; +0xc8, 0x840a20 LDP X29, X30, [SP+0x40+var_40],#0x40 ; +0xcc, 0x840a24 B _ZN20CustomizeObjectLayer16updateHSVButtonsEv; CustomizeObjectLayer::updateHSVButtons(void) ; +0xd0, 0x840a28