; ; ColorSelectPopup::onToggleTintMode from 0x862800 to 0x862894 (148 bytes) ; ; 4 xrefs: ; > ColorSelectPopup::onDefault @ 0x8634fc ; > @ 0xd8fb8 ; > ColorSelectPopup::init @ 0x865968 ; > @ 0x15467c8 ; ; 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,#-0x20+var_s0]! ; +0x0, 0x862800 MOV X29, SP ; +0x4, 0x862804 STP X19, X20, [SP,#var_s10] ; +0x8, 0x862808 MOV X19, X0 ; +0xc, 0x86280c LDR W1, [X0,#0x470] ; +0x10, 0x862810 LDR X0, [X0,#0x2A8] ; +0x14, 0x862814 CMP W1, #1 ; +0x18, 0x862818 CSET W1, NE ; +0x1c, 0x86281c STR W1, [X19,#0x470] ; +0x20, 0x862820 CBZ X0, loc_862838 ; +0x24, 0x862824 STRB W1, [X0,#0x5CF] ; +0x28, 0x862828 LDP X19, X20, [SP,#var_s10] ; +0x2c, 0x86282c LDP X29, X30, [SP+var_s0],#0x20 ; +0x30, 0x862830 RET ; +0x34, 0x862834 LDR X0, [X19,#0x2B0] ; +0x38, 0x862838 CBZ X0, loc_862884 ; +0x3c, 0x86283c MOV W20, #0 ; +0x40, 0x862840 B loc_862864 ; +0x44, 0x862844 LDR X0, [X19,#0x2B0]; this ; +0x48, 0x862848 BL _ZN7cocos2d7CCArray13objectAtIndexEj; cocos2d::CCArray::objectAtIndex(uint) ; +0x4c, 0x86284c LDR W1, [X19,#0x470] ; +0x50, 0x862850 CMP W1, WZR ; +0x54, 0x862854 CSET W1, NE ; +0x58, 0x862858 STRB W1, [X0,#0x5CF] ; +0x5c, 0x86285c LDR X0, [X19,#0x2B0]; this ; +0x60, 0x862860 BL _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0x64, 0x862864 CMP W20, W0 ; +0x68, 0x862868 MOV W1, W20; unsigned int ; +0x6c, 0x86286c ADD W20, W20, #1 ; +0x70, 0x862870 B.CC loc_862848 ; +0x74, 0x862874 LDP X19, X20, [SP,#var_s10] ; +0x78, 0x862878 LDP X29, X30, [SP+var_s0],#0x20 ; +0x7c, 0x86287c RET ; +0x80, 0x862880 LDR X0, [X19,#0x478] ; +0x84, 0x862884 CBZ X0, loc_86282C ; +0x88, 0x862888 STRB W1, [X0,#0x54] ; +0x8c, 0x86288c B loc_86282C ; +0x90, 0x862890