; ; ColorSelectPopup::updateCopyColorTextInputLabel from 0x3da834 to 0x3da8d6 (162 bytes) ; ; 3 xrefs: ; > ColorSelectPopup::init @ 0x3dc3ba ; > ColorSelectPopup::onUpdateCopyColor @ 0x3dc704 ; > ColorSelectPopup::onToggleHSVMode @ 0x3dc71e ; ; 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 {R0-R8,LR} ; +0x0, 0x3da834 MOV R5, R0 ; +0x4, 0x3da838 LDR R6, =(__stack_chk_guard_ptr - 0x3DA844) ; +0x6, 0x3da83a LDR.W R1, [R5,#0x308]; char * ; +0x8, 0x3da83c ADD R6, PC; __stack_chk_guard_ptr ; +0xc, 0x3da840 LDR R6, [R6]; __stack_chk_guard ; +0xe, 0x3da842 LDR R3, [R6] ; +0x10, 0x3da844 STR R3, [SP,#0x10+var_4] ; +0x12, 0x3da846 MOVS R3, #1 ; +0x14, 0x3da848 STRB.W R3, [R0,#0x220] ; +0x16, 0x3da84a LDR R0, =(aI - 0x3DA854); "%i" ; +0x1a, 0x3da84e ADD R0, PC; "%i" ; +0x1c, 0x3da850 BL _ZN7cocos2d8CCString16createWithFormatEPKcz; cocos2d::CCString::createWithFormat(char const*,...) ; +0x1e, 0x3da852 BL _ZNK7cocos2d8CCString10getCStringEv; cocos2d::CCString::getCString(void) ; +0x22, 0x3da856 LDR.W R3, [R5,#0x308] ; +0x26, 0x3da85a CMP.W R3, #0x3E8 ; +0x2a, 0x3da85e MOV R1, R0 ; +0x2e, 0x3da862 BLT loc_3DA86A ; +0x30, 0x3da864 LDR R1, =(a0 - 0x3DA86C); "0" ; +0x32, 0x3da866 ADD R1, PC; "0" ; +0x34, 0x3da868 LDR.W R8, [R5,#0x32C] ; +0x36, 0x3da86a ADD R4, SP, #0x10+var_8 ; +0x3a, 0x3da86e ADD R7, SP, #0x10+var_C ; +0x3c, 0x3da870 MOV R0, R4; int ; +0x3e, 0x3da872 MOV R2, R7 ; +0x40, 0x3da874 BL sub_776584 ; +0x42, 0x3da876 MOV R0, R8 ; +0x46, 0x3da87a MOV R1, R4 ; +0x48, 0x3da87c BL _ZN15CCTextInputNode9setStringESs; CCTextInputNode::setString(std::string) ; +0x4a, 0x3da87e MOV R0, R4 ; +0x4e, 0x3da882 BL sub_774008 ; +0x50, 0x3da884 LDR.W R0, [R5,#0x308]; this ; +0x54, 0x3da888 CMP.W R0, #0x3E8 ; +0x58, 0x3da88c BLT loc_3DA8B2 ; +0x5c, 0x3da890 LDR.W R8, [R5,#0x32C] ; +0x5e, 0x3da892 BL _ZN20GJSpecialColorSelect15textForColorIdxEi; GJSpecialColorSelect::textForColorIdx(int) ; +0x62, 0x3da896 MOV R2, R7 ; +0x66, 0x3da89a MOV R1, R0; char * ; +0x68, 0x3da89c MOV R0, R4; int ; +0x6a, 0x3da89e BL sub_776584 ; +0x6c, 0x3da8a0 MOV R0, R8 ; +0x70, 0x3da8a4 MOV R1, R4 ; +0x72, 0x3da8a6 BL _ZN15CCTextInputNode11updateLabelESs; CCTextInputNode::updateLabel(std::string) ; +0x74, 0x3da8a8 MOV R0, R4 ; +0x78, 0x3da8ac BL sub_774008 ; +0x7a, 0x3da8ae MOVS R3, #0 ; +0x7e, 0x3da8b2 LDR R2, [SP,#0x10+var_4] ; +0x80, 0x3da8b4 STRB.W R3, [R5,#0x220] ; +0x82, 0x3da8b6 LDR R3, [R6] ; +0x86, 0x3da8ba CMP R2, R3 ; +0x88, 0x3da8bc BEQ loc_3DA8D0 ; +0x8a, 0x3da8be BLX __stack_chk_fail ; +0x8c, 0x3da8c0 B loc_3DA8C6 ; +0x90, 0x3da8c4 MOV R0, R4 ; +0x92, 0x3da8c6 BL sub_774008 ; +0x94, 0x3da8c8 BL __cxa_end_cleanup ; +0x98, 0x3da8cc ADD SP, SP, #0x10 ; +0x9c, 0x3da8d0 POP.W {R4-R8,PC} ; +0x9e, 0x3da8d2