; ; CCTextInputNode::onTextFieldAttachWithIME from 0x3e364c to 0x3e3806 (442 bytes) ; ; 1 xrefs: ; > `non-virtual thunk to'CCTextInputNode::onTextFieldAttachWithIME @ 0x3e3824 ; ; 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-R9,LR} ; +0x0, 0x3e364c MOV R4, R0 ; +0x4, 0x3e3650 VPUSH {D8} ; +0x6, 0x3e3652 LDR R3, =(__stack_chk_guard_ptr - 0x3E365C) ; +0xa, 0x3e3656 ADD R3, PC; __stack_chk_guard_ptr ; +0xc, 0x3e3658 LDR R3, [R3]; __stack_chk_guard ; +0xe, 0x3e365a LDR.W R0, [R0,#0x19C] ; +0x10, 0x3e365c SUB SP, SP, #0x44 ; +0x14, 0x3e3660 LDR R2, [R3] ; +0x16, 0x3e3662 MOV R8, R3 ; +0x18, 0x3e3664 STR R2, [SP,#0x44+var_8] ; +0x1a, 0x3e3666 CBZ R0, loc_3E3674 ; +0x1c, 0x3e3668 LDR R3, [R0] ; +0x1e, 0x3e366a MOVS R1, #1 ; +0x20, 0x3e366c LDR.W R3, [R3,#0xAC] ; +0x22, 0x3e366e BLX R3 ; +0x26, 0x3e3672 LDR R3, =(_ZN15CCTextInputNode13s_activeInputE_ptr - 0x3E3682) ; +0x28, 0x3e3674 MOVS R0, #(dword_0+1); this ; +0x2a, 0x3e3676 MOVS R6, #0 ; +0x2c, 0x3e3678 STRB.W R0, [R4,#0x158] ; +0x2e, 0x3e367a ADD R3, PC; _ZN15CCTextInputNode13s_activeInputE_ptr ; +0x32, 0x3e367e LDR R3, [R3]; CCTextInputNode::s_activeInput ... ; +0x34, 0x3e3680 STRB.W R6, [R4,#0x1E4] ; +0x36, 0x3e3682 ADD R5, SP, #0x44+var_24 ; +0x3a, 0x3e3686 STR R4, [R3]; CCTextInputNode::s_activeInput ; +0x3c, 0x3e3688 BL _ZN15PlatformToolbox16setKeyboardStateEb; PlatformToolbox::setKeyboardState(bool) ; +0x3e, 0x3e368a LDRB.W R3, [R4,#0x144] ; +0x42, 0x3e368e CBZ R3, loc_3E36D2 ; +0x46, 0x3e3692 LDR.W R0, [R4,#0x1A0] ; +0x48, 0x3e3694 LDR R3, [R0] ; +0x4c, 0x3e3698 LDR.W R3, [R3,#0x270] ; +0x4e, 0x3e369a BLX R3 ; +0x52, 0x3e369e BLX atof ; +0x54, 0x3e36a0 VMOV D7, R0, R1 ; +0x58, 0x3e36a4 VCMP.F64 D7, #0.0 ; +0x5c, 0x3e36a8 VMRS APSR_nzcv, FPSCR ; +0x60, 0x3e36ac BNE loc_3E36D2 ; +0x64, 0x3e36b0 LDR R1, =(unk_B6B226 - 0x3E36BE) ; +0x66, 0x3e36b2 MOV R0, R5 ; +0x68, 0x3e36b4 MOV R2, R6 ; +0x6a, 0x3e36b6 STR R6, [SP,#0x44+var_24] ; +0x6c, 0x3e36b8 ADD R1, PC; unk_B6B226 ; +0x6e, 0x3e36ba STR R6, [SP,#0x44+var_20] ; +0x70, 0x3e36bc STR R6, [SP,#0x44+var_1C] ; +0x72, 0x3e36be BL _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEPKcj; std::string::__init(char const*,uint) ; +0x74, 0x3e36c0 MOV R0, R4 ; +0x78, 0x3e36c4 MOV R1, R5 ; +0x7a, 0x3e36c6 BL _ZN15CCTextInputNode9setStringENSt6__ndk112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEE; CCTextInputNode::setString(std::string) ; +0x7c, 0x3e36c8 MOV R0, R5 ; +0x80, 0x3e36cc BL _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0x82, 0x3e36ce LDR.W R0, [R4,#0x1A0] ; +0x86, 0x3e36d2 MOVS R6, #0 ; +0x8a, 0x3e36d6 ADD R7, SP, #0x44+var_30 ; +0x8c, 0x3e36d8 LDR R3, [R0] ; +0x8e, 0x3e36da LDR.W R3, [R3,#0x270] ; +0x90, 0x3e36dc BLX R3 ; +0x94, 0x3e36e0 STR R6, [SP,#0x44+var_30] ; +0x96, 0x3e36e2 STR R6, [SP,#0x44+var_2C] ; +0x98, 0x3e36e4 STR R6, [SP,#0x44+var_28] ; +0x9a, 0x3e36e6 MOV R9, R0 ; +0x9c, 0x3e36e8 BLX strlen ; +0x9e, 0x3e36ea MOV R1, R9 ; +0xa2, 0x3e36ee MOV R2, R0 ; +0xa4, 0x3e36f0 MOV R0, R7 ; +0xa6, 0x3e36f2 BL _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEPKcj; std::string::__init(char const*,uint) ; +0xa8, 0x3e36f4 LDR R1, =(unk_B6B226 - 0x3E3702) ; +0xac, 0x3e36f8 MOV R0, R5 ; +0xae, 0x3e36fa MOV R2, R6 ; +0xb0, 0x3e36fc ADD R1, PC; unk_B6B226 ; +0xb2, 0x3e36fe STR R6, [SP,#0x44+var_24] ; +0xb4, 0x3e3700 STR R6, [SP,#0x44+var_20] ; +0xb6, 0x3e3702 STR R6, [SP,#0x44+var_1C] ; +0xb8, 0x3e3704 BL _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEPKcj; std::string::__init(char const*,uint) ; +0xba, 0x3e3706 MOV R1, R5 ; +0xbe, 0x3e370a MOV R0, R7 ; +0xc0, 0x3e370c BL sub_3DC1CE ; +0xc2, 0x3e370e MOV R6, R0 ; +0xc6, 0x3e3712 MOV R0, R5 ; +0xc8, 0x3e3714 BL _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0xca, 0x3e3716 MOV R0, R7 ; +0xce, 0x3e371a BL _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0xd0, 0x3e371c CBZ R6, loc_3E3762 ; +0xd4, 0x3e3720 LDR.W R0, [R4,#0x1AC] ; +0xd6, 0x3e3722 CBZ R0, loc_3E3736 ; +0xda, 0x3e3726 LDR R3, [R0] ; +0xdc, 0x3e3728 LDR R1, =(asc_B7533B - 0x3E3734); " " ; +0xde, 0x3e372a LDR.W R3, [R3,#0x1D0] ; +0xe0, 0x3e372c ADD R1, PC; " " ; +0xe4, 0x3e3730 BLX R3 ; +0xe6, 0x3e3732 B loc_3E375C ; +0xe8, 0x3e3734 LDR.W R6, [R4,#0x1B4] ; +0xea, 0x3e3736 CBZ R6, loc_3E375C ; +0xee, 0x3e373a LDR R1, =(asc_B7533B - 0x3E3748); " " ; +0xf0, 0x3e373c MOVS R2, #1 ; +0xf2, 0x3e373e STR R0, [SP,#0x44+var_24] ; +0xf4, 0x3e3740 STR R0, [SP,#0x44+var_20] ; +0xf6, 0x3e3742 ADD R1, PC; " " ; +0xf8, 0x3e3744 STR R0, [SP,#0x44+var_1C] ; +0xfa, 0x3e3746 MOV R0, R5 ; +0xfc, 0x3e3748 BL _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEPKcj; std::string::__init(char const*,uint) ; +0xfe, 0x3e374a MOV R0, R6 ; +0x102, 0x3e374e MOV R1, R5 ; +0x104, 0x3e3750 BL _ZN8TextArea9setStringENSt6__ndk112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEE; TextArea::setString(std::string) ; +0x106, 0x3e3752 MOV R0, R5 ; +0x10a, 0x3e3756 BL _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0x10c, 0x3e3758 MOV R0, R4; this ; +0x110, 0x3e375c BL _ZN15CCTextInputNode16updateBlinkLabelEv; CCTextInputNode::updateBlinkLabel(void) ; +0x112, 0x3e375e LDR.W R0, [R4,#0x1A4] ; +0x116, 0x3e3762 CBZ R0, loc_3E3770 ; +0x11a, 0x3e3766 LDR R3, [R0] ; +0x11c, 0x3e3768 MOV R1, R4 ; +0x11e, 0x3e376a LDR R3, [R3,#4] ; +0x120, 0x3e376c BLX R3 ; +0x122, 0x3e376e LDRB.W R3, [R4,#0x1B2] ; +0x124, 0x3e3770 CBZ R3, loc_3E37DC ; +0x128, 0x3e3774 BL _ZN7cocos2d10CCDirector14sharedDirectorEv; cocos2d::CCDirector::sharedDirector(void) ; +0x12a, 0x3e3776 ADD R6, SP, #0x44+var_38 ; +0x12e, 0x3e377a ADD R5, SP, #0x44+var_18 ; +0x130, 0x3e377c MOV R1, R0 ; +0x132, 0x3e377e ADD R0, SP, #0x44+var_40; this ; +0x134, 0x3e3780 BL _ZN7cocos2d10CCDirector10getWinSizeEv; cocos2d::CCDirector::getWinSize(void) ; +0x136, 0x3e3782 LDR.W R0, [R4,#0x1A0] ; +0x13a, 0x3e3786 LDR R3, [R0] ; +0x13e, 0x3e378a LDR.W R3, [R3,#0x98] ; +0x140, 0x3e378c BLX R3 ; +0x144, 0x3e3790 MOV R1, R0; cocos2d::CCPoint * ; +0x146, 0x3e3792 MOV R0, R6; this ; +0x148, 0x3e3794 BL _ZN7cocos2d7CCPointC1ERKS0_; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const&) ; +0x14a, 0x3e3796 MOV R0, R5 ; +0x14e, 0x3e379a MOV R1, R4 ; +0x150, 0x3e379c MOV R2, R6 ; +0x152, 0x3e379e BL sub_3DC220 ; +0x154, 0x3e37a0 VMOV.F32 S14, #4.0 ; +0x158, 0x3e37a4 VLDR S15, [SP,#0x44+var_14] ; +0x15c, 0x3e37a8 MOV R0, R5; this ; +0x160, 0x3e37ac VLDR S16, [SP,#0x44+var_3C] ; +0x162, 0x3e37ae VSUB.F32 S15, S15, S14 ; +0x166, 0x3e37b2 VSTR S15, [SP,#0x44+var_14] ; +0x16a, 0x3e37b6 BL _ZNK7cocos2d6CCRect7getMinYEv; cocos2d::CCRect::getMinY(void) ; +0x16e, 0x3e37ba VMOV S15, R0 ; +0x172, 0x3e37be LDR.W R0, [R4,#0x1A4] ; +0x176, 0x3e37c2 CBZ R0, loc_3E37DC ; +0x17a, 0x3e37c6 VMOV.F32 S14, #0.5 ; +0x17c, 0x3e37c8 LDR R3, [R0] ; +0x180, 0x3e37cc MOV R1, R4 ; +0x182, 0x3e37ce LDR R3, [R3,#0xC] ; +0x184, 0x3e37d0 VNMLS.F32 S15, S16, S14 ; +0x186, 0x3e37d2 VMOV R2, S15 ; +0x18a, 0x3e37d6 BLX R3 ; +0x18e, 0x3e37da LDR R2, [SP,#0x44+var_8] ; +0x190, 0x3e37dc MOVS R0, #0 ; +0x192, 0x3e37de LDR.W R3, [R8] ; +0x194, 0x3e37e0 CMP R2, R3 ; +0x198, 0x3e37e4 BEQ loc_3E37FC ; +0x19a, 0x3e37e6 BLX __stack_chk_fail ; +0x19c, 0x3e37e8 MOV R0, R7 ; +0x1a0, 0x3e37ec BL _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0x1a2, 0x3e37ee BL __cxa_end_cleanup ; +0x1a6, 0x3e37f2 MOV R0, R5 ; +0x1aa, 0x3e37f6 B loc_3E37EE ; +0x1ac, 0x3e37f8 B loc_3E37F6 ; +0x1ae, 0x3e37fa ADD SP, SP, #0x44 ; 'D' ; +0x1b0, 0x3e37fc VPOP {D8} ; +0x1b2, 0x3e37fe POP.W {R4-R9,PC} ; +0x1b6, 0x3e3802