; ; CCTextInputNode::refreshLabel from 0x3e197c to 0x3e1ad6 (346 bytes) ; ; 7 xrefs: ; > CCTextInputNode::setMaxLabelScale @ 0x3e1ae4 ; > CCTextInputNode::setMaxLabelWidth @ 0x3e1aec ; > CCTextInputNode::setLabelPlaceholderScale @ 0x3e1af4 ; > CCTextInputNode::setLabelPlaceholderColor @ 0x3e1b06 ; > CCTextInputNode::setLabelNormalColor @ 0x3e1b20 ; > CCTextInputNode::updateLabel @ 0x3e2fde ; > CCTextInputNode::updateLabel @ 0x3e314c ; ; 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:47:02 +0000 ; PUSH.W {R4-R9,LR} ; +0x0, 0x3e197c MOV R4, R0 ; +0x4, 0x3e1980 VPUSH {D8} ; +0x6, 0x3e1982 LDR R6, =(__stack_chk_guard_ptr - 0x3E198C) ; +0xa, 0x3e1986 ADD R6, PC; __stack_chk_guard_ptr ; +0xc, 0x3e1988 LDR R6, [R6]; __stack_chk_guard ; +0xe, 0x3e198a SUB SP, SP, #0x24 ; +0x10, 0x3e198c LDR R3, [R6] ; +0x12, 0x3e198e STR R3, [SP,#0x24+var_8] ; +0x14, 0x3e1990 LDR.W R3, [R0,#0x1AC] ; +0x16, 0x3e1992 CBNZ R3, loc_3E19A2 ; +0x1a, 0x3e1996 LDR.W R3, [R0,#0x1B4] ; +0x1c, 0x3e1998 CMP R3, #0 ; +0x20, 0x3e199c BEQ.W loc_3E1AC0 ; +0x22, 0x3e199e LDR.W R0, [R4,#0x1A0] ; +0x26, 0x3e19a2 MOVS R5, #0 ; +0x2a, 0x3e19a6 ADD.W R8, SP, #0x24+var_20 ; +0x2c, 0x3e19a8 ADD.W R9, SP, #0x24+var_14 ; +0x30, 0x3e19ac LDR R3, [R0] ; +0x34, 0x3e19b0 LDR.W R3, [R3,#0x270] ; +0x36, 0x3e19b2 BLX R3 ; +0x3a, 0x3e19b6 STR R5, [SP,#0x24+var_20] ; +0x3c, 0x3e19b8 STR R5, [SP,#0x24+var_1C] ; +0x3e, 0x3e19ba STR R5, [SP,#0x24+var_18] ; +0x40, 0x3e19bc MOV R7, R0 ; +0x42, 0x3e19be BLX strlen ; +0x44, 0x3e19c0 MOV R1, R7 ; +0x48, 0x3e19c4 MOV R2, R0 ; +0x4a, 0x3e19c6 MOV R0, R8 ; +0x4c, 0x3e19c8 BL _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEPKcj; std::string::__init(char const*,uint) ; +0x4e, 0x3e19ca LDR R1, =(unk_B6B226 - 0x3E19D8) ; +0x52, 0x3e19ce MOV R0, R9 ; +0x54, 0x3e19d0 MOV R2, R5 ; +0x56, 0x3e19d2 ADD R1, PC; unk_B6B226 ; +0x58, 0x3e19d4 STR R5, [SP,#0x24+var_14] ; +0x5a, 0x3e19d6 STR R5, [SP,#0x24+var_10] ; +0x5c, 0x3e19d8 STR R5, [SP,#0x24+var_C] ; +0x5e, 0x3e19da BL _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEPKcj; std::string::__init(char const*,uint) ; +0x60, 0x3e19dc MOV R1, R9 ; +0x64, 0x3e19e0 MOV R0, R8 ; +0x66, 0x3e19e2 BL sub_3DC1CE ; +0x68, 0x3e19e4 MOV R7, R0 ; +0x6c, 0x3e19e8 MOV R0, R9 ; +0x6e, 0x3e19ea BL _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0x70, 0x3e19ec MOV R0, R8 ; +0x74, 0x3e19f0 BL _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0x76, 0x3e19f2 LDR.W R5, [R4,#0x1AC] ; +0x7a, 0x3e19f6 CMP R5, #0 ; +0x7e, 0x3e19fa BEQ loc_3E1A88 ; +0x80, 0x3e19fc LDR R3, [R5] ; +0x82, 0x3e19fe CBZ R7, loc_3E1A1C ; +0x84, 0x3e1a00 VLDR S15, [R4,#0x190] ; +0x86, 0x3e1a02 VCMPE.F32 S15, #0.0 ; +0x8a, 0x3e1a06 VMRS APSR_nzcv, FPSCR ; +0x8e, 0x3e1a0a BLE loc_3E1A1C ; +0x92, 0x3e1a0e LDR R3, [R3,#0x50] ; +0x94, 0x3e1a10 MOV R0, R5 ; +0x96, 0x3e1a12 VMOV R1, S15 ; +0x98, 0x3e1a14 BLX R3 ; +0x9c, 0x3e1a18 B loc_3E1A66 ; +0x9e, 0x3e1a1a LDR.W R8, [R3,#0x50] ; +0xa0, 0x3e1a1c MOV R0, R5 ; +0xa4, 0x3e1a20 LDR.W R3, [R3,#0xA4] ; +0xa6, 0x3e1a22 VLDR S16, [R4,#0x188] ; +0xaa, 0x3e1a26 BLX R3 ; +0xae, 0x3e1a2a VLDR S15, [R4,#0x18C] ; +0xb0, 0x3e1a2c VLDR S14, [R0] ; +0xb4, 0x3e1a30 VDIV.F32 S16, S16, S14 ; +0xb8, 0x3e1a34 VCMPE.F32 S16, S15 ; +0xbc, 0x3e1a38 VMRS APSR_nzcv, FPSCR ; +0xc0, 0x3e1a3c BGT loc_3E1A5C ; +0xc4, 0x3e1a40 LDR.W R5, [R4,#0x1AC] ; +0xc6, 0x3e1a42 VLDR S16, [R4,#0x188] ; +0xca, 0x3e1a46 LDR R3, [R5] ; +0xce, 0x3e1a4a MOV R0, R5 ; +0xd0, 0x3e1a4c LDR.W R3, [R3,#0xA4] ; +0xd2, 0x3e1a4e BLX R3 ; +0xd6, 0x3e1a52 VLDR S15, [R0] ; +0xd8, 0x3e1a54 VDIV.F32 S15, S16, S15 ; +0xdc, 0x3e1a58 MOV R0, R5 ; +0xe0, 0x3e1a5c VMOV R1, S15 ; +0xe2, 0x3e1a5e BLX R8 ; +0xe6, 0x3e1a62 CBZ R7, loc_3E1A76 ; +0xe8, 0x3e1a64 LDR.W R0, [R4,#0x1AC] ; +0xea, 0x3e1a66 ADD.W R1, R4, #0x194 ; +0xee, 0x3e1a6a LDR R3, [R0] ; +0xf2, 0x3e1a6e LDR.W R3, [R3,#0x218] ; +0xf4, 0x3e1a70 B loc_3E1A84 ; +0xf8, 0x3e1a74 LDR.W R0, [R4,#0x1AC] ; +0xfa, 0x3e1a76 ADDW R1, R4, #0x197 ; +0xfe, 0x3e1a7a LDR R3, [R0] ; +0x102, 0x3e1a7e LDR.W R3, [R3,#0x218] ; +0x104, 0x3e1a80 BLX R3 ; +0x108, 0x3e1a84 B loc_3E1AC0 ; +0x10a, 0x3e1a86 LDR.W R0, [R4,#0x1B4] ; +0x10c, 0x3e1a88 CBZ R0, loc_3E1AC0 ; +0x110, 0x3e1a8c CBZ R7, loc_3E1A96 ; +0x112, 0x3e1a8e LDR.W R1, [R4,#0x194] ; +0x114, 0x3e1a90 B loc_3E1AB0 ; +0x118, 0x3e1a94 LDRB.W R1, [R4,#0x198] ; +0x11a, 0x3e1a96 AND.W R7, R7, #0xFF000000 ; +0x11e, 0x3e1a9a LDRB.W R3, [R4,#0x197] ; +0x122, 0x3e1a9e ORR.W R1, R3, R1,LSL#8 ; +0x126, 0x3e1aa2 LDRB.W R3, [R4,#0x199] ; +0x12a, 0x3e1aa6 ORR.W R1, R1, R3,LSL#16 ; +0x12e, 0x3e1aaa ORRS R1, R7 ; +0x132, 0x3e1aae BL _ZN8TextArea14colorAllLabelsEN7cocos2d10_ccColor3BE; TextArea::colorAllLabels(cocos2d::_ccColor3B) ; +0x134, 0x3e1ab0 B loc_3E1AC0 ; +0x138, 0x3e1ab4 MOV R0, R8 ; +0x13a, 0x3e1ab6 BL _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0x13c, 0x3e1ab8 BL __cxa_end_cleanup ; +0x140, 0x3e1abc LDR R2, [SP,#0x24+var_8] ; +0x144, 0x3e1ac0 LDR R3, [R6] ; +0x146, 0x3e1ac2 CMP R2, R3 ; +0x148, 0x3e1ac4 BEQ loc_3E1ACC ; +0x14a, 0x3e1ac6 BLX __stack_chk_fail ; +0x14c, 0x3e1ac8 ADD SP, SP, #0x24 ; '$' ; +0x150, 0x3e1acc VPOP {D8} ; +0x152, 0x3e1ace POP.W {R4-R9,PC} ; +0x156, 0x3e1ad2