; ; ColorSelectPopup::updateCustomColorIdx from 0x4df0ca to 0x4df114 (74 bytes) ; ; 3 xrefs: ; > ColorSelectPopup::onUpdateCustomColor @ 0x4df800 ; > ColorSelectPopup::colorSelectClosed @ 0x4df8a0 ; > ColorSelectPopup::textChanged @ 0x4e21b0 ; ; 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 {R3-R5,LR} ; +0x0, 0x4df0ca MOV R5, R0 ; +0x2, 0x4df0cc LDR.W R3, [R0,#0x320] ; +0x4, 0x4df0ce LDR.W R4, [R0,#0x210] ; +0x8, 0x4df0d2 CMP R3, #1 ; +0xc, 0x4df0d6 IT LT ; +0xe, 0x4df0d8 MOVLT R3, #1 ; +0x10, 0x4df0da STR.W R3, [R0,#0x320] ; +0x12, 0x4df0dc CBZ R4, loc_4DF0E8 ; +0x16, 0x4df0e0 STR.W R3, [R4,#0x378] ; +0x18, 0x4df0e2 POP {R3-R5,PC} ; +0x1c, 0x4df0e6 LDR.W R3, [R0,#0x214] ; +0x1e, 0x4df0e8 CBNZ R3, loc_4DF0F0 ; +0x22, 0x4df0ec POP {R3-R5,PC} ; +0x24, 0x4df0ee LDR.W R0, [R5,#0x214]; this ; +0x26, 0x4df0f0 BL _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0x2a, 0x4df0f4 CMP R4, R0 ; +0x2e, 0x4df0f8 BCS locret_4DF112 ; +0x30, 0x4df0fa MOV R1, R4; unsigned int ; +0x32, 0x4df0fc LDR.W R0, [R5,#0x214]; this ; +0x34, 0x4df0fe BL _ZN7cocos2d7CCArray13objectAtIndexEj; cocos2d::CCArray::objectAtIndex(uint) ; +0x38, 0x4df102 LDR.W R3, [R5,#0x320] ; +0x3c, 0x4df106 ADDS R4, #1 ; +0x40, 0x4df10a STR.W R3, [R0,#0x378] ; +0x42, 0x4df10c B loc_4DF0F0 ; +0x46, 0x4df110 POP {R3-R5,PC} ; +0x48, 0x4df112