; ; ColorSelectPopup::updateColorValue from 0x4def68 to 0x4defee (134 bytes) ; ; 1 xrefs: ; > ColorSelectPopup::colorValueChanged @ 0x4e1d62 ; ; 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, 0x4def68 MOV R4, R0 ; +0x2, 0x4def6a LDRB.W R3, [R0,#0x324] ; +0x4, 0x4def6c CBNZ R3, locret_4DEFEC ; +0x8, 0x4def70 LDR.W R3, [R0,#0x210] ; +0xa, 0x4def72 CBZ R3, loc_4DEF92 ; +0xe, 0x4def76 LDRB.W R0, [R0,#0x2F8] ; +0x10, 0x4def78 LDRB.W R1, [R4,#0x2F9] ; +0x14, 0x4def7c LDRB.W R2, [R4,#0x2FA] ; +0x18, 0x4def80 STRB.W R0, [R3,#0x4F4] ; +0x1c, 0x4def84 STRB.W R1, [R3,#0x4F5] ; +0x20, 0x4def88 STRB.W R2, [R3,#0x4F6] ; +0x24, 0x4def8c POP {R3-R5,PC} ; +0x28, 0x4def90 LDR.W R2, [R0,#0x214] ; +0x2a, 0x4def92 CBZ R2, loc_4DEFCE ; +0x2e, 0x4def96 MOV R5, R3 ; +0x30, 0x4def98 LDR.W R0, [R4,#0x214]; this ; +0x32, 0x4def9a BL _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0x36, 0x4def9e CMP R5, R0 ; +0x3a, 0x4defa2 BCS locret_4DEFCC ; +0x3c, 0x4defa4 MOV R1, R5; unsigned int ; +0x3e, 0x4defa6 LDR.W R0, [R4,#0x214]; this ; +0x40, 0x4defa8 BL _ZN7cocos2d7CCArray13objectAtIndexEj; cocos2d::CCArray::objectAtIndex(uint) ; +0x44, 0x4defac LDRB.W R1, [R4,#0x2F8] ; +0x48, 0x4defb0 LDRB.W R2, [R4,#0x2F9] ; +0x4c, 0x4defb4 ADDS R5, #1 ; +0x50, 0x4defb8 LDRB.W R3, [R4,#0x2FA] ; +0x52, 0x4defba STRB.W R1, [R0,#0x4F4] ; +0x56, 0x4defbe STRB.W R2, [R0,#0x4F5] ; +0x5a, 0x4defc2 STRB.W R3, [R0,#0x4F6] ; +0x5e, 0x4defc6 B loc_4DEF9A ; +0x62, 0x4defca POP {R3-R5,PC} ; +0x64, 0x4defcc LDR.W R3, [R0,#0x310] ; +0x66, 0x4defce CBZ R3, locret_4DEFEC ; +0x6a, 0x4defd2 LDRB.W R0, [R0,#0x2F8] ; +0x6c, 0x4defd4 LDRB.W R1, [R4,#0x2F9] ; +0x70, 0x4defd8 LDRB.W R2, [R4,#0x2FA] ; +0x74, 0x4defdc STRB.W R0, [R3,#0x44] ; +0x78, 0x4defe0 STRB.W R1, [R3,#0x45] ; +0x7c, 0x4defe4 STRB.W R2, [R3,#0x46] ; +0x80, 0x4defe8 POP {R3-R5,PC} ; +0x84, 0x4defec