; ; ColorSelectPopup::updateColorLabels from 0x4e1bc0 to 0x4e1d0c (332 bytes) ; ; 1 xrefs: ; > ColorSelectPopup::colorValueChanged @ 0x4e1d6e ; ; 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:51:02 +0000 ; PUSH.W {R4-R10,LR} ; +0x0, 0x4e1bc0 SUB SP, SP, #0x20 ; +0x4, 0x4e1bc4 LDR R6, =(__stack_chk_guard_ptr - 0x4E1BD4) ; +0x6, 0x4e1bc6 MOV R5, R0 ; +0x8, 0x4e1bc8 LDRB.W R9, [R0,#0x238] ; +0xa, 0x4e1bca ADD R4, SP, #0x20+var_10 ; +0xe, 0x4e1bce ADD R6, PC; __stack_chk_guard_ptr ; +0x10, 0x4e1bd0 LDR R6, [R6]; __stack_chk_guard ; +0x12, 0x4e1bd2 LDR.W R7, [R0,#0x360] ; +0x14, 0x4e1bd4 LDR R3, [R6] ; +0x18, 0x4e1bd8 STR R3, [SP,#0x20+var_4] ; +0x1a, 0x4e1bda MOVS R3, #1 ; +0x1c, 0x4e1bdc STRB.W R3, [R0,#0x238] ; +0x1e, 0x4e1bde LDR R0, =(aI - 0x4E1BEC); "%i" ; +0x22, 0x4e1be2 LDRB.W R1, [R5,#0x2F8]; char * ; +0x24, 0x4e1be4 ADD R0, PC; "%i" ; +0x28, 0x4e1be8 BL _ZN7cocos2d8CCString16createWithFormatEPKcz; cocos2d::CCString::createWithFormat(char const*,...) ; +0x2a, 0x4e1bea BL _ZNK7cocos2d8CCString10getCStringEv; cocos2d::CCString::getCString(void) ; +0x2e, 0x4e1bee MOVS R3, #0 ; +0x32, 0x4e1bf2 STR R3, [SP,#0x20+var_10] ; +0x34, 0x4e1bf4 STR R3, [SP,#0x20+var_C] ; +0x36, 0x4e1bf6 STR R3, [SP,#0x20+var_8] ; +0x38, 0x4e1bf8 MOV R8, R0 ; +0x3a, 0x4e1bfa BLX strlen ; +0x3c, 0x4e1bfc MOV R1, R8 ; +0x40, 0x4e1c00 MOV R2, R0 ; +0x42, 0x4e1c02 MOV R0, R4 ; +0x44, 0x4e1c04 BL _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEPKcj; std::string::__init(char const*,uint) ; +0x46, 0x4e1c06 MOV R0, R7 ; +0x4a, 0x4e1c0a MOV R1, R4 ; +0x4c, 0x4e1c0c BL _ZN15CCTextInputNode9setStringENSt6__ndk112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEE; CCTextInputNode::setString(std::string) ; +0x4e, 0x4e1c0e MOV R0, R4 ; +0x52, 0x4e1c12 BL _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0x54, 0x4e1c14 LDR R0, =(aI - 0x4E1C22); "%i" ; +0x58, 0x4e1c18 LDRB.W R1, [R5,#0x2F9]; char * ; +0x5a, 0x4e1c1a ADD R0, PC; "%i" ; +0x5e, 0x4e1c1e LDR.W R7, [R5,#0x364] ; +0x60, 0x4e1c20 BL _ZN7cocos2d8CCString16createWithFormatEPKcz; cocos2d::CCString::createWithFormat(char const*,...) ; +0x64, 0x4e1c24 BL _ZNK7cocos2d8CCString10getCStringEv; cocos2d::CCString::getCString(void) ; +0x68, 0x4e1c28 MOVS R3, #0 ; +0x6c, 0x4e1c2c STR R3, [SP,#0x20+var_10] ; +0x6e, 0x4e1c2e STR R3, [SP,#0x20+var_C] ; +0x70, 0x4e1c30 STR R3, [SP,#0x20+var_8] ; +0x72, 0x4e1c32 MOV R8, R0 ; +0x74, 0x4e1c34 BLX strlen ; +0x76, 0x4e1c36 MOV R1, R8 ; +0x7a, 0x4e1c3a MOV R2, R0 ; +0x7c, 0x4e1c3c MOV R0, R4 ; +0x7e, 0x4e1c3e BL _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEPKcj; std::string::__init(char const*,uint) ; +0x80, 0x4e1c40 MOV R0, R7 ; +0x84, 0x4e1c44 MOV R1, R4 ; +0x86, 0x4e1c46 BL _ZN15CCTextInputNode9setStringENSt6__ndk112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEE; CCTextInputNode::setString(std::string) ; +0x88, 0x4e1c48 MOV R0, R4 ; +0x8c, 0x4e1c4c BL _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0x8e, 0x4e1c4e LDR R0, =(aI - 0x4E1C5C); "%i" ; +0x92, 0x4e1c52 LDRB.W R1, [R5,#0x2FA]; char * ; +0x94, 0x4e1c54 ADD R0, PC; "%i" ; +0x98, 0x4e1c58 LDR.W R7, [R5,#0x368] ; +0x9a, 0x4e1c5a BL _ZN7cocos2d8CCString16createWithFormatEPKcz; cocos2d::CCString::createWithFormat(char const*,...) ; +0x9e, 0x4e1c5e BL _ZNK7cocos2d8CCString10getCStringEv; cocos2d::CCString::getCString(void) ; +0xa2, 0x4e1c62 MOVS R3, #0 ; +0xa6, 0x4e1c66 STR R3, [SP,#0x20+var_10] ; +0xa8, 0x4e1c68 STR R3, [SP,#0x20+var_C] ; +0xaa, 0x4e1c6a STR R3, [SP,#0x20+var_8] ; +0xac, 0x4e1c6c MOV R8, R0 ; +0xae, 0x4e1c6e BLX strlen ; +0xb0, 0x4e1c70 MOV R1, R8 ; +0xb4, 0x4e1c74 MOV R2, R0 ; +0xb6, 0x4e1c76 MOV R0, R4 ; +0xb8, 0x4e1c78 BL _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEPKcj; std::string::__init(char const*,uint) ; +0xba, 0x4e1c7a MOV R0, R7 ; +0xbe, 0x4e1c7e MOV R1, R4 ; +0xc0, 0x4e1c80 BL _ZN15CCTextInputNode9setStringENSt6__ndk112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEE; CCTextInputNode::setString(std::string) ; +0xc2, 0x4e1c82 ADD R7, SP, #0x20+var_1C ; +0xc6, 0x4e1c86 MOV R0, R4 ; +0xc8, 0x4e1c88 BL _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0xca, 0x4e1c8a LDR.W R1, [R5,#0x2F8] ; +0xce, 0x4e1c8e MOV R0, R7 ; +0xd2, 0x4e1c92 LDR.W R10, [R5,#0x36C] ; +0xd4, 0x4e1c94 BL _ZN16ColorSelectPopup10colorToHexEN7cocos2d10_ccColor3BE; ColorSelectPopup::colorToHex(cocos2d::_ccColor3B) ; +0xd8, 0x4e1c98 LDRB.W R3, [SP,#0x20+var_1C] ; +0xdc, 0x4e1c9c LSLS R3, R3, #0x1F ; +0xe0, 0x4e1ca0 MOV.W R3, #0 ; +0xe2, 0x4e1ca2 IT PL ; +0xe6, 0x4e1ca6 ADDPL.W R8, SP, #0x20+var_1B ; +0xe8, 0x4e1ca8 STR R3, [SP,#0x20+var_10] ; +0xec, 0x4e1cac IT MI ; +0xee, 0x4e1cae LDRMI.W R8, [SP,#0x20+var_14] ; +0xf0, 0x4e1cb0 STR R3, [SP,#0x20+var_C] ; +0xf4, 0x4e1cb4 STR R3, [SP,#0x20+var_8] ; +0xf6, 0x4e1cb6 MOV R0, R8; char * ; +0xf8, 0x4e1cb8 BLX strlen ; +0xfa, 0x4e1cba MOV R1, R8 ; +0xfe, 0x4e1cbe MOV R2, R0 ; +0x100, 0x4e1cc0 MOV R0, R4 ; +0x102, 0x4e1cc2 BL _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEPKcj; std::string::__init(char const*,uint) ; +0x104, 0x4e1cc4 MOV R0, R10 ; +0x108, 0x4e1cc8 MOV R1, R4 ; +0x10a, 0x4e1cca BL _ZN15CCTextInputNode9setStringENSt6__ndk112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEE; CCTextInputNode::setString(std::string) ; +0x10c, 0x4e1ccc MOV R0, R4 ; +0x110, 0x4e1cd0 BL _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0x112, 0x4e1cd2 MOV R0, R7 ; +0x116, 0x4e1cd6 BL _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0x118, 0x4e1cd8 LDR R2, [SP,#0x20+var_4] ; +0x11c, 0x4e1cdc LDR R3, [R6] ; +0x11e, 0x4e1cde STRB.W R9, [R5,#0x238] ; +0x120, 0x4e1ce0 CMP R2, R3 ; +0x124, 0x4e1ce4 BEQ loc_4E1D06 ; +0x126, 0x4e1ce6 BLX __stack_chk_fail ; +0x128, 0x4e1ce8 B loc_4E1CEE ; +0x12c, 0x4e1cec MOV R0, R4 ; +0x12e, 0x4e1cee BL _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0x130, 0x4e1cf0 BL __cxa_end_cleanup ; +0x134, 0x4e1cf4 B loc_4E1CEE ; +0x138, 0x4e1cf8 MOV R0, R4 ; +0x13a, 0x4e1cfa BL _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0x13c, 0x4e1cfc B loc_4E1D02 ; +0x140, 0x4e1d00 MOV R0, R7 ; +0x142, 0x4e1d02 B loc_4E1CF0 ; +0x144, 0x4e1d04 ADD SP, SP, #0x20 ; ' ' ; +0x146, 0x4e1d06 POP.W {R4-R10,PC} ; +0x148, 0x4e1d08