; ; ColorSelectPopup::updateTextInputLabel from 0x4df6f4 to 0x4df7b2 (190 bytes) ; ; 2 xrefs: ; > ColorSelectPopup::onUpdateCustomColor @ 0x4df810 ; > ColorSelectPopup::init @ 0x4e0e0a ; ; 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, 0x4df6f4 MOV R5, R0 ; +0x4, 0x4df6f8 LDR R6, =(__stack_chk_guard_ptr - 0x4DF700) ; +0x6, 0x4df6fa ADD R6, PC; __stack_chk_guard_ptr ; +0x8, 0x4df6fc LDR R6, [R6]; __stack_chk_guard ; +0xa, 0x4df6fe LDR R3, [R6] ; +0xc, 0x4df700 STR R3, [SP,#0x10+var_4] ; +0xe, 0x4df702 MOVS R3, #1 ; +0x10, 0x4df704 STRB.W R3, [R0,#0x238] ; +0x12, 0x4df706 LDR R0, =(aI - 0x4DF714); "%i" ; +0x16, 0x4df70a LDR.W R1, [R5,#0x320]; char * ; +0x18, 0x4df70c ADD R0, PC; "%i" ; +0x1c, 0x4df710 BL _ZN7cocos2d8CCString16createWithFormatEPKcz; cocos2d::CCString::createWithFormat(char const*,...) ; +0x1e, 0x4df712 BL _ZNK7cocos2d8CCString10getCStringEv; cocos2d::CCString::getCString(void) ; +0x22, 0x4df716 LDR.W R3, [R5,#0x320] ; +0x26, 0x4df71a CMP.W R3, #0x3E8 ; +0x2a, 0x4df71e MOV R7, R0 ; +0x2e, 0x4df722 BLT loc_4DF72A ; +0x30, 0x4df724 LDR R7, =(a0 - 0x4DF72C); "0" ; +0x32, 0x4df726 ADD R7, PC; "0" ; +0x34, 0x4df728 MOV R0, R7; char * ; +0x36, 0x4df72a MOVS R3, #0 ; +0x38, 0x4df72c STR R3, [SP,#0x10+var_10] ; +0x3a, 0x4df72e MOV R4, SP ; +0x3c, 0x4df730 STR R3, [SP,#0x10+var_C] ; +0x3e, 0x4df732 STR R3, [SP,#0x10+var_8] ; +0x40, 0x4df734 BLX strlen ; +0x42, 0x4df736 LDR.W R8, [R5,#0x314] ; +0x46, 0x4df73a MOV R1, R7 ; +0x4a, 0x4df73e MOV R2, R0 ; +0x4c, 0x4df740 MOV R0, SP ; +0x4e, 0x4df742 BL _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEPKcj; std::string::__init(char const*,uint) ; +0x50, 0x4df744 MOV R0, R8 ; +0x54, 0x4df748 MOV R1, SP ; +0x56, 0x4df74a BL _ZN15CCTextInputNode9setStringENSt6__ndk112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEE; CCTextInputNode::setString(std::string) ; +0x58, 0x4df74c MOV R0, SP ; +0x5c, 0x4df750 BL _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0x5e, 0x4df752 LDR.W R0, [R5,#0x320]; this ; +0x62, 0x4df756 CMP.W R0, #0x3E8 ; +0x66, 0x4df75a BLT loc_4DF78E ; +0x6a, 0x4df75e LDR.W R7, [R5,#0x314] ; +0x6c, 0x4df760 BL _ZN20GJSpecialColorSelect15textForColorIdxEi; GJSpecialColorSelect::textForColorIdx(int) ; +0x70, 0x4df764 MOVS R3, #0 ; +0x74, 0x4df768 STR R3, [SP,#0x10+var_10] ; +0x76, 0x4df76a STR R3, [SP,#0x10+var_C] ; +0x78, 0x4df76c STR R3, [SP,#0x10+var_8] ; +0x7a, 0x4df76e MOV R8, R0 ; +0x7c, 0x4df770 BLX strlen ; +0x7e, 0x4df772 MOV R1, R8 ; +0x82, 0x4df776 MOV R2, R0 ; +0x84, 0x4df778 MOV R0, SP ; +0x86, 0x4df77a BL _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEPKcj; std::string::__init(char const*,uint) ; +0x88, 0x4df77c MOV R0, R7 ; +0x8c, 0x4df780 MOV R1, SP ; +0x8e, 0x4df782 BL _ZN15CCTextInputNode11updateLabelENSt6__ndk112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEE; CCTextInputNode::updateLabel(std::string) ; +0x90, 0x4df784 MOV R0, SP ; +0x94, 0x4df788 BL _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0x96, 0x4df78a MOVS R3, #0 ; +0x9a, 0x4df78e LDR R2, [SP,#0x10+var_4] ; +0x9c, 0x4df790 STRB.W R3, [R5,#0x238] ; +0x9e, 0x4df792 LDR R3, [R6] ; +0xa2, 0x4df796 CMP R2, R3 ; +0xa4, 0x4df798 BEQ loc_4DF7AC ; +0xa6, 0x4df79a BLX __stack_chk_fail ; +0xa8, 0x4df79c B loc_4DF7A2 ; +0xac, 0x4df7a0 MOV R0, R4 ; +0xae, 0x4df7a2 BL _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0xb0, 0x4df7a4 BL __cxa_end_cleanup ; +0xb4, 0x4df7a8 ADD SP, SP, #0x10 ; +0xb8, 0x4df7ac POP.W {R4-R8,PC} ; +0xba, 0x4df7ae