; ; ColorSelectPopup::updateHSVMode from 0x4df114 to 0x4df1d0 (188 bytes) ; ; 2 xrefs: ; > ColorSelectPopup::onToggleHSVMode @ 0x4dfa9c ; > ColorSelectPopup::init @ 0x4e167c ; ; This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! ; ; 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 11:50:59 +0000 ; PUSH {R4-R6,LR} ; +0x0, 0x4df114 MOV R4, R0 ; +0x2, 0x4df116 MOVS R5, #0 ; +0x4, 0x4df118 LDR.W R0, [R4,#0x344]; this ; +0x6, 0x4df11a BL _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0xa, 0x4df11e CMP R5, R0 ; +0xe, 0x4df122 BCS loc_4DF144 ; +0x10, 0x4df124 MOV R1, R5; unsigned int ; +0x12, 0x4df126 LDR.W R0, [R4,#0x344]; this ; +0x14, 0x4df128 BL _ZN7cocos2d7CCArray13objectAtIndexEj; cocos2d::CCArray::objectAtIndex(uint) ; +0x18, 0x4df12c LDRB.W R1, [R4,#0x35C] ; +0x1c, 0x4df130 ADDS R5, #1 ; +0x20, 0x4df134 EOR.W R1, R1, #1 ; +0x22, 0x4df136 LDR R3, [R0] ; +0x26, 0x4df13a LDR.W R3, [R3,#0xAC] ; +0x28, 0x4df13c BLX R3 ; +0x2c, 0x4df140 B loc_4DF11A ; +0x2e, 0x4df142 MOVS R5, #0 ; +0x30, 0x4df144 LDR.W R0, [R4,#0x348]; this ; +0x32, 0x4df146 BL _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0x36, 0x4df14a CMP R5, R0 ; +0x3a, 0x4df14e BCS loc_4DF16C ; +0x3c, 0x4df150 MOV R1, R5; unsigned int ; +0x3e, 0x4df152 LDR.W R0, [R4,#0x348]; this ; +0x40, 0x4df154 BL _ZN7cocos2d7CCArray13objectAtIndexEj; cocos2d::CCArray::objectAtIndex(uint) ; +0x44, 0x4df158 LDRB.W R1, [R4,#0x35C] ; +0x48, 0x4df15c ADDS R5, #1 ; +0x4c, 0x4df160 LDR R3, [R0] ; +0x4e, 0x4df162 LDR.W R3, [R3,#0xAC] ; +0x50, 0x4df164 BLX R3 ; +0x54, 0x4df168 B loc_4DF146 ; +0x56, 0x4df16a LDR.W R0, [R4,#0x34C] ; +0x58, 0x4df16c LDRB.W R1, [R4,#0x35C] ; +0x5c, 0x4df170 LDR R3, [R0] ; +0x60, 0x4df174 LDR.W R3, [R3,#0x1F4] ; +0x62, 0x4df176 BLX R3 ; +0x66, 0x4df17a LDR.W R0, [R4,#0x360] ; +0x68, 0x4df17c LDRB.W R1, [R4,#0x35C] ; +0x6c, 0x4df180 LDR R3, [R0] ; +0x70, 0x4df184 EOR.W R1, R1, #1 ; +0x72, 0x4df186 LDR.W R3, [R3,#0x1F4] ; +0x76, 0x4df18a BLX R3 ; +0x7a, 0x4df18e LDR.W R0, [R4,#0x364] ; +0x7c, 0x4df190 LDRB.W R1, [R4,#0x35C] ; +0x80, 0x4df194 LDR R3, [R0] ; +0x84, 0x4df198 EOR.W R1, R1, #1 ; +0x86, 0x4df19a LDR.W R3, [R3,#0x1F4] ; +0x8a, 0x4df19e BLX R3 ; +0x8e, 0x4df1a2 LDR.W R0, [R4,#0x368] ; +0x90, 0x4df1a4 LDRB.W R1, [R4,#0x35C] ; +0x94, 0x4df1a8 LDR R3, [R0] ; +0x98, 0x4df1ac EOR.W R1, R1, #1 ; +0x9a, 0x4df1ae LDR.W R3, [R3,#0x1F4] ; +0x9e, 0x4df1b2 BLX R3 ; +0xa2, 0x4df1b6 LDR.W R0, [R4,#0x36C] ; +0xa4, 0x4df1b8 LDRB.W R1, [R4,#0x35C] ; +0xa8, 0x4df1bc POP.W {R4-R6,LR} ; +0xac, 0x4df1c0 EOR.W R1, R1, #1 ; +0xb0, 0x4df1c4 LDR R3, [R0] ; +0xb4, 0x4df1c8 LDR.W R3, [R3,#0x1F4] ; +0xb6, 0x4df1ca BX R3 ; +0xba, 0x4df1ce