; ; ColorSelectPopup::updateCopyColorTextInputLabel from 0x4df95c to 0x4dfa1a (190 bytes) ; ; 3 xrefs: ; > ColorSelectPopup::onUpdateCopyColor @ 0x4dfa72 ; > ColorSelectPopup::onToggleHSVMode @ 0x4dfa8c ; > ColorSelectPopup::init @ 0x4e1682 ; ; 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.W {R0-R8,LR} ; +0x0, 0x4df95c MOV R5, R0 ; +0x4, 0x4df960 LDR R6, =(__stack_chk_guard_ptr - 0x4DF968) ; +0x6, 0x4df962 ADD R6, PC; __stack_chk_guard_ptr ; +0x8, 0x4df964 LDR R6, [R6]; __stack_chk_guard ; +0xa, 0x4df966 LDR R3, [R6] ; +0xc, 0x4df968 STR R3, [SP,#0x10+var_4] ; +0xe, 0x4df96a MOVS R3, #1 ; +0x10, 0x4df96c STRB.W R3, [R0,#0x238] ; +0x12, 0x4df96e LDR R0, =(aI - 0x4DF97C); "%i" ; +0x16, 0x4df972 LDR.W R1, [R5,#0x328]; char * ; +0x18, 0x4df974 ADD R0, PC; "%i" ; +0x1c, 0x4df978 BL _ZN7cocos2d8CCString16createWithFormatEPKcz; cocos2d::CCString::createWithFormat(char const*,...) ; +0x1e, 0x4df97a BL _ZNK7cocos2d8CCString10getCStringEv; cocos2d::CCString::getCString(void) ; +0x22, 0x4df97e LDR.W R3, [R5,#0x328] ; +0x26, 0x4df982 CMP.W R3, #0x3E8 ; +0x2a, 0x4df986 MOV R7, R0 ; +0x2e, 0x4df98a BLT loc_4DF992 ; +0x30, 0x4df98c LDR R7, =(a0 - 0x4DF994); "0" ; +0x32, 0x4df98e ADD R7, PC; "0" ; +0x34, 0x4df990 MOV R0, R7; char * ; +0x36, 0x4df992 MOVS R3, #0 ; +0x38, 0x4df994 STR R3, [SP,#0x10+var_10] ; +0x3a, 0x4df996 MOV R4, SP ; +0x3c, 0x4df998 STR R3, [SP,#0x10+var_C] ; +0x3e, 0x4df99a STR R3, [SP,#0x10+var_8] ; +0x40, 0x4df99c BLX strlen ; +0x42, 0x4df99e LDR.W R8, [R5,#0x34C] ; +0x46, 0x4df9a2 MOV R1, R7 ; +0x4a, 0x4df9a6 MOV R2, R0 ; +0x4c, 0x4df9a8 MOV R0, SP ; +0x4e, 0x4df9aa BL _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEPKcj; std::string::__init(char const*,uint) ; +0x50, 0x4df9ac MOV R0, R8 ; +0x54, 0x4df9b0 MOV R1, SP ; +0x56, 0x4df9b2 BL _ZN15CCTextInputNode9setStringENSt6__ndk112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEE; CCTextInputNode::setString(std::string) ; +0x58, 0x4df9b4 MOV R0, SP ; +0x5c, 0x4df9b8 BL _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0x5e, 0x4df9ba LDR.W R0, [R5,#0x328]; this ; +0x62, 0x4df9be CMP.W R0, #0x3E8 ; +0x66, 0x4df9c2 BLT loc_4DF9F6 ; +0x6a, 0x4df9c6 LDR.W R7, [R5,#0x34C] ; +0x6c, 0x4df9c8 BL _ZN20GJSpecialColorSelect15textForColorIdxEi; GJSpecialColorSelect::textForColorIdx(int) ; +0x70, 0x4df9cc MOVS R3, #0 ; +0x74, 0x4df9d0 STR R3, [SP,#0x10+var_10] ; +0x76, 0x4df9d2 STR R3, [SP,#0x10+var_C] ; +0x78, 0x4df9d4 STR R3, [SP,#0x10+var_8] ; +0x7a, 0x4df9d6 MOV R8, R0 ; +0x7c, 0x4df9d8 BLX strlen ; +0x7e, 0x4df9da MOV R1, R8 ; +0x82, 0x4df9de MOV R2, R0 ; +0x84, 0x4df9e0 MOV R0, SP ; +0x86, 0x4df9e2 BL _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEPKcj; std::string::__init(char const*,uint) ; +0x88, 0x4df9e4 MOV R0, R7 ; +0x8c, 0x4df9e8 MOV R1, SP ; +0x8e, 0x4df9ea BL _ZN15CCTextInputNode11updateLabelENSt6__ndk112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEE; CCTextInputNode::updateLabel(std::string) ; +0x90, 0x4df9ec MOV R0, SP ; +0x94, 0x4df9f0 BL _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0x96, 0x4df9f2 MOVS R3, #0 ; +0x9a, 0x4df9f6 LDR R2, [SP,#0x10+var_4] ; +0x9c, 0x4df9f8 STRB.W R3, [R5,#0x238] ; +0x9e, 0x4df9fa LDR R3, [R6] ; +0xa2, 0x4df9fe CMP R2, R3 ; +0xa4, 0x4dfa00 BEQ loc_4DFA14 ; +0xa6, 0x4dfa02 BLX __stack_chk_fail ; +0xa8, 0x4dfa04 B loc_4DFA0A ; +0xac, 0x4dfa08 MOV R0, R4 ; +0xae, 0x4dfa0a BL _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0xb0, 0x4dfa0c BL __cxa_end_cleanup ; +0xb4, 0x4dfa10 ADD SP, SP, #0x10 ; +0xb8, 0x4dfa14 POP.W {R4-R8,PC} ; +0xba, 0x4dfa16