; ; ColorSelectPopup::updateCopyColor from 0x863118 to 0x8631d4 (188 bytes) ; ; 5 xrefs: ; > ColorSelectPopup::colorSelectClosed @ 0x863a44 ; > ColorSelectPopup::onUpdateCopyColor @ 0x863d98 ; > ColorSelectPopup::onToggleHSVMode @ 0x863ddc ; > ColorSelectPopup::textChanged @ 0x867cf8 ; > @ 0xa5a18 ; ; This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True! ; ; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA ; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings ; Generated at Fri, 27 Nov 2026 12:55:37 +0000 ; STP X29, X30, [SP,#-0x30+var_s0]! ; +0x0, 0x863118 MOV X29, SP ; +0x4, 0x86311c STP X21, X22, [SP,#var_s20] ; +0x8, 0x863120 STP X19, X20, [SP,#var_s10] ; +0xc, 0x863124 MOV X21, X0 ; +0x10, 0x863128 LDR X0, [X0,#0x2A8]; this ; +0x14, 0x86312c CBZ X0, loc_86315C ; +0x18, 0x863130 LDR W19, [X21,#0x498] ; +0x1c, 0x863134 BL _ZN16EffectGameObject19getTargetColorIndexEv; EffectGameObject::getTargetColorIndex(void) ; +0x20, 0x863138 LDR X1, [X21,#0x2A8] ; +0x24, 0x86313c CMP W19, W0 ; +0x28, 0x863140 CSEL W19, W19, WZR, NE ; +0x2c, 0x863144 STR W19, [X1,#0x65C] ; +0x30, 0x863148 LDP X19, X20, [SP,#var_s10] ; +0x34, 0x86314c LDP X21, X22, [SP,#var_s20] ; +0x38, 0x863150 LDP X29, X30, [SP+var_s0],#0x30 ; +0x3c, 0x863154 RET ; +0x40, 0x863158 LDR X0, [X21,#0x2B0] ; +0x44, 0x86315c CBZ X0, loc_8631B4 ; +0x48, 0x863160 MOV W20, #0 ; +0x4c, 0x863164 B loc_863190 ; +0x50, 0x863168 LDR X0, [X21,#0x2B0]; this ; +0x54, 0x86316c BL _ZN7cocos2d7CCArray13objectAtIndexEj; cocos2d::CCArray::objectAtIndex(uint) ; +0x58, 0x863170 LDR W19, [X21,#0x498] ; +0x5c, 0x863174 MOV X22, X0 ; +0x60, 0x863178 BL _ZN16EffectGameObject19getTargetColorIndexEv; EffectGameObject::getTargetColorIndex(void) ; +0x64, 0x86317c CMP W19, W0 ; +0x68, 0x863180 CSEL W19, W19, WZR, NE ; +0x6c, 0x863184 STR W19, [X22,#0x65C] ; +0x70, 0x863188 LDR X0, [X21,#0x2B0]; this ; +0x74, 0x86318c BL _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0x78, 0x863190 CMP W20, W0 ; +0x7c, 0x863194 MOV W1, W20; unsigned int ; +0x80, 0x863198 ADD W20, W20, #1 ; +0x84, 0x86319c B.CC loc_86316C ; +0x88, 0x8631a0 LDP X19, X20, [SP,#var_s10] ; +0x8c, 0x8631a4 LDP X21, X22, [SP,#var_s20] ; +0x90, 0x8631a8 LDP X29, X30, [SP+var_s0],#0x30 ; +0x94, 0x8631ac RET ; +0x98, 0x8631b0 LDR X1, [X21,#0x478] ; +0x9c, 0x8631b4 CBZ X1, loc_86314C ; +0xa0, 0x8631b8 LDR W0, [X21,#0x498] ; +0xa4, 0x8631bc LDR W2, [X1,#0x5C] ; +0xa8, 0x8631c0 CMP W0, W2 ; +0xac, 0x8631c4 CSEL W0, W0, WZR, NE ; +0xb0, 0x8631c8 STR W0, [X1,#0x78] ; +0xb4, 0x8631cc B loc_86314C ; +0xb8, 0x8631d0