; ; ColorSelectPopup::updateHSVMode from 0x3da5e0 to 0x3da69c (188 bytes) ; ; 2 xrefs: ; > ColorSelectPopup::init @ 0x3dc3b4 ; > ColorSelectPopup::onToggleHSVMode @ 0x3dc72e ; ; 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 ; PUSH {R4-R6,LR} ; +0x0, 0x3da5e0 MOV R4, R0 ; +0x2, 0x3da5e2 MOVS R5, #0 ; +0x4, 0x3da5e4 LDR.W R0, [R4,#0x324]; this ; +0x6, 0x3da5e6 BL _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0xa, 0x3da5ea CMP R5, R0 ; +0xe, 0x3da5ee BCS loc_3DA610 ; +0x10, 0x3da5f0 MOV R1, R5; unsigned int ; +0x12, 0x3da5f2 LDR.W R0, [R4,#0x324]; this ; +0x14, 0x3da5f4 BL _ZN7cocos2d7CCArray13objectAtIndexEj; cocos2d::CCArray::objectAtIndex(uint) ; +0x18, 0x3da5f8 LDRB.W R1, [R4,#0x33C] ; +0x1c, 0x3da5fc ADDS R5, #1 ; +0x20, 0x3da600 EOR.W R1, R1, #1 ; +0x22, 0x3da602 LDR R3, [R0] ; +0x26, 0x3da606 LDR.W R3, [R3,#0xA4] ; +0x28, 0x3da608 BLX R3 ; +0x2c, 0x3da60c B loc_3DA5E6 ; +0x2e, 0x3da60e MOVS R5, #0 ; +0x30, 0x3da610 LDR.W R0, [R4,#0x328]; this ; +0x32, 0x3da612 BL _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0x36, 0x3da616 CMP R5, R0 ; +0x3a, 0x3da61a BCS loc_3DA638 ; +0x3c, 0x3da61c MOV R1, R5; unsigned int ; +0x3e, 0x3da61e LDR.W R0, [R4,#0x328]; this ; +0x40, 0x3da620 BL _ZN7cocos2d7CCArray13objectAtIndexEj; cocos2d::CCArray::objectAtIndex(uint) ; +0x44, 0x3da624 LDRB.W R1, [R4,#0x33C] ; +0x48, 0x3da628 ADDS R5, #1 ; +0x4c, 0x3da62c LDR R3, [R0] ; +0x4e, 0x3da62e LDR.W R3, [R3,#0xA4] ; +0x50, 0x3da630 BLX R3 ; +0x54, 0x3da634 B loc_3DA612 ; +0x56, 0x3da636 LDR.W R0, [R4,#0x32C] ; +0x58, 0x3da638 LDRB.W R1, [R4,#0x33C] ; +0x5c, 0x3da63c LDR R3, [R0] ; +0x60, 0x3da640 LDR.W R3, [R3,#0x1EC] ; +0x62, 0x3da642 BLX R3 ; +0x66, 0x3da646 LDR.W R0, [R4,#0x340] ; +0x68, 0x3da648 LDRB.W R1, [R4,#0x33C] ; +0x6c, 0x3da64c LDR R3, [R0] ; +0x70, 0x3da650 EOR.W R1, R1, #1 ; +0x72, 0x3da652 LDR.W R3, [R3,#0x1EC] ; +0x76, 0x3da656 BLX R3 ; +0x7a, 0x3da65a LDR.W R0, [R4,#0x344] ; +0x7c, 0x3da65c LDRB.W R1, [R4,#0x33C] ; +0x80, 0x3da660 LDR R3, [R0] ; +0x84, 0x3da664 EOR.W R1, R1, #1 ; +0x86, 0x3da666 LDR.W R3, [R3,#0x1EC] ; +0x8a, 0x3da66a BLX R3 ; +0x8e, 0x3da66e LDR.W R0, [R4,#0x348] ; +0x90, 0x3da670 LDRB.W R1, [R4,#0x33C] ; +0x94, 0x3da674 LDR R3, [R0] ; +0x98, 0x3da678 EOR.W R1, R1, #1 ; +0x9a, 0x3da67a LDR.W R3, [R3,#0x1EC] ; +0x9e, 0x3da67e BLX R3 ; +0xa2, 0x3da682 LDR.W R0, [R4,#0x34C] ; +0xa4, 0x3da684 LDRB.W R1, [R4,#0x33C] ; +0xa8, 0x3da688 POP.W {R4-R6,LR} ; +0xac, 0x3da68c EOR.W R1, R1, #1 ; +0xb0, 0x3da690 LDR R3, [R0] ; +0xb4, 0x3da694 LDR.W R3, [R3,#0x1EC] ; +0xb6, 0x3da696 BX R3 ; +0xba, 0x3da69a