; ; ColorSelectPopup::updateColorLabels from 0x3dc9f8 to 0x3dcaf8 (256 bytes) ; ; 1 xrefs: ; > ColorSelectPopup::colorValueChanged @ 0x3dcb5a ; ; This function is hookable on this platform! ; ; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA ; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings ; PUSH.W {R4-R9,LR} ; +0x0, 0x3dc9f8 SUB SP, SP, #0x14 ; +0x4, 0x3dc9fc LDR R7, =(__stack_chk_guard_ptr - 0x3DCA0C) ; +0x6, 0x3dc9fe MOV R5, R0 ; +0x8, 0x3dca00 LDRB.W R8, [R0,#0x220] ; +0xa, 0x3dca02 ADD R4, SP, #0x14+var_C ; +0xe, 0x3dca06 ADD R7, PC; __stack_chk_guard_ptr ; +0x10, 0x3dca08 LDR R7, [R7]; __stack_chk_guard ; +0x12, 0x3dca0a LDR.W R9, [R0,#0x340] ; +0x14, 0x3dca0c ADD R6, SP, #0x14+var_10 ; +0x18, 0x3dca10 LDR R3, [R7] ; +0x1a, 0x3dca12 STR R3, [SP,#0x14+var_8] ; +0x1c, 0x3dca14 MOVS R3, #1 ; +0x1e, 0x3dca16 STRB.W R3, [R0,#0x220] ; +0x20, 0x3dca18 LDR R0, =(aI - 0x3DCA26); "%i" ; +0x24, 0x3dca1c LDRB.W R1, [R5,#0x2D8]; char * ; +0x26, 0x3dca1e ADD R0, PC; "%i" ; +0x2a, 0x3dca22 BL _ZN7cocos2d8CCString16createWithFormatEPKcz; cocos2d::CCString::createWithFormat(char const*,...) ; +0x2c, 0x3dca24 BL _ZNK7cocos2d8CCString10getCStringEv; cocos2d::CCString::getCString(void) ; +0x30, 0x3dca28 MOV R2, R6 ; +0x34, 0x3dca2c MOV R1, R0; char * ; +0x36, 0x3dca2e MOV R0, R4; int ; +0x38, 0x3dca30 BL sub_776584 ; +0x3a, 0x3dca32 MOV R0, R9 ; +0x3e, 0x3dca36 MOV R1, R4 ; +0x40, 0x3dca38 BL _ZN15CCTextInputNode9setStringESs; CCTextInputNode::setString(std::string) ; +0x42, 0x3dca3a MOV R0, R4 ; +0x46, 0x3dca3e BL sub_774008 ; +0x48, 0x3dca40 LDR R0, =(aI - 0x3DCA4E); "%i" ; +0x4c, 0x3dca44 LDRB.W R1, [R5,#0x2D9]; char * ; +0x4e, 0x3dca46 ADD R0, PC; "%i" ; +0x52, 0x3dca4a LDR.W R9, [R5,#0x344] ; +0x54, 0x3dca4c BL _ZN7cocos2d8CCString16createWithFormatEPKcz; cocos2d::CCString::createWithFormat(char const*,...) ; +0x58, 0x3dca50 BL _ZNK7cocos2d8CCString10getCStringEv; cocos2d::CCString::getCString(void) ; +0x5c, 0x3dca54 MOV R2, R6 ; +0x60, 0x3dca58 MOV R1, R0; char * ; +0x62, 0x3dca5a MOV R0, R4; int ; +0x64, 0x3dca5c BL sub_776584 ; +0x66, 0x3dca5e MOV R0, R9 ; +0x6a, 0x3dca62 MOV R1, R4 ; +0x6c, 0x3dca64 BL _ZN15CCTextInputNode9setStringESs; CCTextInputNode::setString(std::string) ; +0x6e, 0x3dca66 MOV R0, R4 ; +0x72, 0x3dca6a BL sub_774008 ; +0x74, 0x3dca6c LDR R0, =(aI - 0x3DCA7A); "%i" ; +0x78, 0x3dca70 LDRB.W R1, [R5,#0x2DA]; char * ; +0x7a, 0x3dca72 ADD R0, PC; "%i" ; +0x7e, 0x3dca76 LDR.W R9, [R5,#0x348] ; +0x80, 0x3dca78 BL _ZN7cocos2d8CCString16createWithFormatEPKcz; cocos2d::CCString::createWithFormat(char const*,...) ; +0x84, 0x3dca7c BL _ZNK7cocos2d8CCString10getCStringEv; cocos2d::CCString::getCString(void) ; +0x88, 0x3dca80 MOV R2, R6 ; +0x8c, 0x3dca84 MOV R1, R0; char * ; +0x8e, 0x3dca86 MOV R0, R4; int ; +0x90, 0x3dca88 BL sub_776584 ; +0x92, 0x3dca8a MOV R0, R9 ; +0x96, 0x3dca8e MOV R1, R4 ; +0x98, 0x3dca90 BL _ZN15CCTextInputNode9setStringESs; CCTextInputNode::setString(std::string) ; +0x9a, 0x3dca92 MOV R0, R4 ; +0x9e, 0x3dca96 BL sub_774008 ; +0xa0, 0x3dca98 MOV R0, R6 ; +0xa4, 0x3dca9c LDR.W R1, [R5,#0x2D8] ; +0xa6, 0x3dca9e LDR.W R9, [R5,#0x34C] ; +0xaa, 0x3dcaa2 BL _ZN16ColorSelectPopup10colorToHexEN7cocos2d10_ccColor3BE; ColorSelectPopup::colorToHex(cocos2d::_ccColor3B) ; +0xae, 0x3dcaa6 MOV R0, R4; int ; +0xb2, 0x3dcaaa LDR R1, [SP,#0x14+var_10]; char * ; +0xb4, 0x3dcaac MOV R2, SP ; +0xb6, 0x3dcaae BL sub_776584 ; +0xb8, 0x3dcab0 MOV R0, R9 ; +0xbc, 0x3dcab4 MOV R1, R4 ; +0xbe, 0x3dcab6 BL _ZN15CCTextInputNode9setStringESs; CCTextInputNode::setString(std::string) ; +0xc0, 0x3dcab8 MOV R0, R4 ; +0xc4, 0x3dcabc BL sub_774008 ; +0xc6, 0x3dcabe MOV R0, R6 ; +0xca, 0x3dcac2 BL sub_774008 ; +0xcc, 0x3dcac4 LDR R2, [SP,#0x14+var_8] ; +0xd0, 0x3dcac8 LDR R3, [R7] ; +0xd2, 0x3dcaca STRB.W R8, [R5,#0x220] ; +0xd4, 0x3dcacc CMP R2, R3 ; +0xd8, 0x3dcad0 BEQ loc_3DCAF2 ; +0xda, 0x3dcad2 BLX __stack_chk_fail ; +0xdc, 0x3dcad4 B loc_3DCADA ; +0xe0, 0x3dcad8 MOV R0, R4 ; +0xe2, 0x3dcada BL sub_774008 ; +0xe4, 0x3dcadc BL __cxa_end_cleanup ; +0xe8, 0x3dcae0 B loc_3DCADA ; +0xec, 0x3dcae4 MOV R0, R4 ; +0xee, 0x3dcae6 BL sub_774008 ; +0xf0, 0x3dcae8 B loc_3DCAEE ; +0xf4, 0x3dcaec MOV R0, R6 ; +0xf6, 0x3dcaee B loc_3DCADC ; +0xf8, 0x3dcaf0 ADD SP, SP, #0x14 ; +0xfa, 0x3dcaf2 POP.W {R4-R9,PC} ; +0xfc, 0x3dcaf4