; ; CCTextInputNode::canCopyText from 0x3dcee0 to 0x3dcf2a (74 bytes) ; ; 2 xrefs: ; > CCTextInputMenu::init @ 0x3dbbbc ; > CCTextInputNode::copyText @ 0x3dcf7e ; ; 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:46:48 +0000 ; PUSH {R0-R6,LR} ; +0x0, 0x3dcee0 MOV R1, R0 ; +0x2, 0x3dcee2 LDR R3, =(__stack_chk_guard_ptr - 0x3DCEEA) ; +0x4, 0x3dcee4 ADD R3, PC; __stack_chk_guard_ptr ; +0x6, 0x3dcee6 LDR R3, [R3]; __stack_chk_guard ; +0x8, 0x3dcee8 LDR R2, [R3] ; +0xa, 0x3dceea MOV R5, R3 ; +0xc, 0x3dceec STR R2, [SP,#0x10+var_4] ; +0xe, 0x3dceee LDRB.W R2, [R0,#0x1B1] ; +0x10, 0x3dcef0 CBNZ R2, loc_3DCF16 ; +0x14, 0x3dcef4 MOV R0, SP; this ; +0x16, 0x3dcef6 BL _ZN15CCTextInputNode9getStringEv; CCTextInputNode::getString(void) ; +0x18, 0x3dcef8 LDRB.W R4, [SP,#0x10+var_10] ; +0x1c, 0x3dcefc MOV R0, SP ; +0x20, 0x3dcf00 LSLS R3, R4, #0x1F ; +0x22, 0x3dcf02 ITE PL ; +0x24, 0x3dcf04 ASRPL R4, R4, #1 ; +0x26, 0x3dcf06 LDRMI R4, [SP,#0x10+var_C] ; +0x28, 0x3dcf08 ADDS R4, #0 ; +0x2a, 0x3dcf0a IT NE ; +0x2c, 0x3dcf0c MOVNE R4, #1 ; +0x2e, 0x3dcf0e BL _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0x30, 0x3dcf10 B loc_3DCF18 ; +0x34, 0x3dcf14 MOVS R4, #0 ; +0x36, 0x3dcf16 LDR R2, [SP,#0x10+var_4] ; +0x38, 0x3dcf18 MOV R0, R4 ; +0x3a, 0x3dcf1a LDR R3, [R5] ; +0x3c, 0x3dcf1c CMP R2, R3 ; +0x3e, 0x3dcf1e BEQ loc_3DCF26 ; +0x40, 0x3dcf20 BLX __stack_chk_fail ; +0x42, 0x3dcf22 ADD SP, SP, #0x10 ; +0x46, 0x3dcf26 POP {R4-R6,PC} ; +0x48, 0x3dcf28