; ; CCTextInputNode::onTextFieldDeleteBackward from 0x3e34c4 to 0x3e363a (374 bytes) ; ; 1 xrefs: ; > `non-virtual thunk to'CCTextInputNode::onTextFieldDeleteBackward @ 0x3e3648 ; ; 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:03 +0000 ; PUSH.W {R4-R11,LR} ; +0x0, 0x3e34c4 SUB SP, SP, #0x2C ; +0x4, 0x3e34c8 LDR.W R8, =(__stack_chk_guard_ptr - 0x3E34D6) ; +0x6, 0x3e34ca MOV R5, R0 ; +0xa, 0x3e34ce MOV R9, R1 ; +0xc, 0x3e34d0 ADD R8, PC; __stack_chk_guard_ptr ; +0xe, 0x3e34d2 LDR.W R8, [R8]; __stack_chk_guard ; +0x10, 0x3e34d4 LDR.W R3, [R8] ; +0x14, 0x3e34d8 STR R3, [SP,#0x2C+var_8] ; +0x18, 0x3e34dc LDR R3, =0xBF800000 ; +0x1a, 0x3e34de STR.W R3, [R0,#0x1C8] ; +0x1c, 0x3e34e0 LDR.W R3, [R0,#0x174] ; +0x20, 0x3e34e4 CMP R3, #0 ; +0x24, 0x3e34e8 BLE loc_3E34F8 ; +0x26, 0x3e34ea LDR.W R2, [R0,#0x178] ; +0x28, 0x3e34ec LDR.W R3, [R0,#0x17C] ; +0x2c, 0x3e34f0 CMP R2, R3 ; +0x30, 0x3e34f4 BNE loc_3E350C ; +0x32, 0x3e34f6 MOVS R4, #0 ; +0x34, 0x3e34f8 LDR R2, [SP,#0x2C+var_8] ; +0x36, 0x3e34fa MOV R0, R4 ; +0x38, 0x3e34fc LDR.W R3, [R8] ; +0x3a, 0x3e34fe CMP R2, R3 ; +0x3e, 0x3e3502 BEQ.W loc_3E3634 ; +0x40, 0x3e3504 BLX __stack_chk_fail ; +0x44, 0x3e3508 LDR R3, [R1] ; +0x48, 0x3e350c MOV R0, R1 ; +0x4a, 0x3e350e MOVS R4, #0 ; +0x4c, 0x3e3510 ADD R6, SP, #0x2C+var_20 ; +0x4e, 0x3e3512 LDR.W R3, [R3,#0x270] ; +0x50, 0x3e3514 BLX R3 ; +0x54, 0x3e3518 STR R4, [SP,#0x2C+var_20] ; +0x56, 0x3e351a STR R4, [SP,#0x2C+var_1C] ; +0x58, 0x3e351c STR R4, [SP,#0x2C+var_18] ; +0x5a, 0x3e351e MOV R7, R0 ; +0x5c, 0x3e3520 BLX strlen ; +0x5e, 0x3e3522 MOV R1, R7 ; +0x62, 0x3e3526 MOV R2, R0 ; +0x64, 0x3e3528 MOV R0, R6 ; +0x66, 0x3e352a BL _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEPKcj; std::string::__init(char const*,uint) ; +0x68, 0x3e352c LDR.W R7, [R9,#0x260] ; +0x6c, 0x3e3530 MOV R0, R6 ; +0x70, 0x3e3534 BL sub_3DC602 ; +0x72, 0x3e3536 CMP R7, R4 ; +0x76, 0x3e353a BLT loc_3E3622 ; +0x78, 0x3e353c CMP R7, R0 ; +0x7a, 0x3e353e BGT loc_3E3622 ; +0x7c, 0x3e3540 MOV R1, R7 ; +0x7e, 0x3e3542 MOV R0, R6 ; +0x80, 0x3e3544 BL sub_3DC656 ; +0x82, 0x3e3546 MOV R1, R0; int ; +0x86, 0x3e354a MOV R0, R5; this ; +0x88, 0x3e354c BL _ZN15CCTextInputNode18emoteTokenEndingAtEi; CCTextInputNode::emoteTokenEndingAt(int) ; +0x8a, 0x3e354e CBNZ R0, loc_3E3572 ; +0x8e, 0x3e3552 CBZ R4, loc_3E355A ; +0x90, 0x3e3554 MOVS R4, #0 ; +0x92, 0x3e3556 B loc_3E3608 ; +0x94, 0x3e3558 CMP R7, #0 ; +0x96, 0x3e355a BLE loc_3E3556 ; +0x98, 0x3e355c SUBS R1, R7, #1 ; +0x9a, 0x3e355e MOV R0, R6 ; +0x9c, 0x3e3560 BL sub_3DC656 ; +0x9e, 0x3e3562 MOV R1, R0; int ; +0xa2, 0x3e3566 MOV R0, R5; this ; +0xa4, 0x3e3568 BL _ZN15CCTextInputNode20emoteTokenStartingAtEi; CCTextInputNode::emoteTokenStartingAt(int) ; +0xa6, 0x3e356a CMP R0, #0 ; +0xaa, 0x3e356e BEQ loc_3E3556 ; +0xac, 0x3e3570 LDRB.W R4, [SP,#0x2C+var_20] ; +0xae, 0x3e3572 LDR.W R10, [R0] ; +0xb2, 0x3e3576 ANDS.W R3, R4, #1 ; +0xb6, 0x3e357a LDR R1, [R0,#4] ; +0xba, 0x3e357e ITE EQ ; +0xbc, 0x3e3580 ASREQ R4, R4, #1 ; +0xbe, 0x3e3582 LDRNE R4, [SP,#0x2C+var_1C] ; +0xc0, 0x3e3584 CMP R10, R4 ; +0xc2, 0x3e3586 BLS loc_3E358E ; +0xc4, 0x3e3588 BL sub_3875A0 ; +0xc6, 0x3e358a CBZ R1, loc_3E35D2 ; +0xca, 0x3e358e CBZ R3, loc_3E3596 ; +0xcc, 0x3e3590 LDR R3, [SP,#0x2C+var_18] ; +0xce, 0x3e3592 B loc_3E359A ; +0xd0, 0x3e3594 ADD.W R3, SP, #0x2C+var_20+1 ; +0xd2, 0x3e3596 RSB.W R2, R10, R4 ; +0xd6, 0x3e359a CMP R1, R2 ; +0xda, 0x3e359e IT CS ; +0xdc, 0x3e35a0 MOVCS R1, R2 ; +0xde, 0x3e35a2 SUBS R2, R2, R1 ; +0xe0, 0x3e35a4 MOV R11, R1 ; +0xe2, 0x3e35a6 BEQ loc_3E35BA ; +0xe4, 0x3e35a8 ADD R1, R10 ; +0xe6, 0x3e35aa ADD.W R0, R3, R10 ; +0xe8, 0x3e35ac ADD R1, R3 ; +0xec, 0x3e35b0 STR R3, [SP,#0x2C+var_28] ; +0xee, 0x3e35b2 BL _ZNSt6__ndk111char_traitsIcE4moveEPcPKcj; std::char_traits::move(char *,char const*,uint) ; +0xf0, 0x3e35b4 LDR R3, [SP,#0x2C+var_28] ; +0xf4, 0x3e35b8 LDRB.W R2, [SP,#0x2C+var_20] ; +0xf6, 0x3e35ba RSB.W R4, R11, R4 ; +0xfa, 0x3e35be LSLS R2, R2, #0x1F ; +0xfe, 0x3e35c2 ITEE MI ; +0x100, 0x3e35c4 STRMI R4, [SP,#0x2C+var_1C] ; +0x102, 0x3e35c6 LSLPL R2, R4, #1 ; +0x104, 0x3e35c8 STRBPL.W R2, [SP,#0x2C+var_20] ; +0x106, 0x3e35ca MOVS R2, #0 ; +0x10a, 0x3e35ce STRB R2, [R3,R4] ; +0x10c, 0x3e35d0 ADD R4, SP, #0x2C+var_14 ; +0x10e, 0x3e35d2 MOV R1, R6 ; +0x110, 0x3e35d4 MOV R0, R4 ; +0x112, 0x3e35d6 BL _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEC2ERKS5_; std::string::basic_string(std::string const&) ; +0x114, 0x3e35d8 MOV R0, R5 ; +0x118, 0x3e35dc MOV R1, R4 ; +0x11a, 0x3e35de BL _ZN15CCTextInputNode9setStringENSt6__ndk112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEE; CCTextInputNode::setString(std::string) ; +0x11c, 0x3e35e0 MOV R0, R4 ; +0x120, 0x3e35e4 BL _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0x122, 0x3e35e6 CMP R7, #0 ; +0x126, 0x3e35ea BLT loc_3E35F8 ; +0x128, 0x3e35ec MOV R0, R6 ; +0x12a, 0x3e35ee MOV R1, R10 ; +0x12c, 0x3e35f0 BL sub_3DC19C ; +0x12e, 0x3e35f2 B loc_3E35FC ; +0x132, 0x3e35f6 MOV.W R0, #0xFFFFFFFF ; +0x134, 0x3e35f8 STR.W R0, [R9,#0x260] ; +0x138, 0x3e35fc MOV R0, R5; this ; +0x13c, 0x3e3600 BL _ZN15CCTextInputNode16updateBlinkLabelEv; CCTextInputNode::updateBlinkLabel(void) ; +0x13e, 0x3e3602 MOVS R4, #1 ; +0x142, 0x3e3606 MOV R0, R6 ; +0x144, 0x3e3608 BL _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0x146, 0x3e360a B loc_3E34FA ; +0x14a, 0x3e360e MOV R0, R4 ; +0x14c, 0x3e3610 BL _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0x14e, 0x3e3612 B loc_3E3618 ; +0x152, 0x3e3616 MOV R0, R6 ; +0x154, 0x3e3618 BL _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0x156, 0x3e361a BL __cxa_end_cleanup ; +0x15a, 0x3e361e LDRB.W R1, [SP,#0x2C+var_20] ; +0x15e, 0x3e3622 LSLS R3, R1, #0x1F ; +0x162, 0x3e3626 BPL loc_3E362E ; +0x164, 0x3e3628 LDR R1, [SP,#0x2C+var_1C] ; +0x166, 0x3e362a B loc_3E3630 ; +0x168, 0x3e362c ASRS R1, R1, #1 ; +0x16a, 0x3e362e MOVS R4, #1 ; +0x16c, 0x3e3630 B loc_3E354C ; +0x16e, 0x3e3632 ADD SP, SP, #0x2C ; ',' ; +0x170, 0x3e3634 POP.W {R4-R11,PC} ; +0x172, 0x3e3636