; ; CCTextInputNode::scrollWheel from 0x3e388c to 0x3e3af6 (618 bytes) ; ; 1 xrefs: ; > `non-virtual thunk to'CCTextInputNode::scrollWheel @ 0x3e3b0c ; ; 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, 0x3e388c MOV R4, R0 ; +0x4, 0x3e3890 VPUSH {D8} ; +0x6, 0x3e3892 LDR R6, =(__stack_chk_guard_ptr - 0x3E389C) ; +0xa, 0x3e3896 ADD R6, PC; __stack_chk_guard_ptr ; +0xc, 0x3e3898 LDR R6, [R6]; __stack_chk_guard ; +0xe, 0x3e389a VMOV S17, R1 ; +0x10, 0x3e389c SUB SP, SP, #0x64; float ; +0x14, 0x3e38a0 LDR R3, [R6] ; +0x16, 0x3e38a2 STR R3, [SP,#0x64+var_8] ; +0x18, 0x3e38a4 LDR.W R3, [R0,#0x1F8] ; +0x1a, 0x3e38a6 SUBS R2, R3, #1 ; +0x1e, 0x3e38aa CMP R2, #2 ; +0x20, 0x3e38ac BLS loc_3E390E ; +0x22, 0x3e38ae CMP R3, #5 ; +0x24, 0x3e38b0 BNE loc_3E390A ; +0x26, 0x3e38b2 ADD R5, SP, #0x64+var_44 ; +0x28, 0x3e38b4 MOV R1, R4 ; +0x2a, 0x3e38b6 MOV R0, R5; this ; +0x2c, 0x3e38b8 BL _ZN15CCTextInputNode9getStringEv; CCTextInputNode::getString(void) ; +0x2e, 0x3e38ba LDRB.W R3, [SP,#0x64+var_44] ; +0x32, 0x3e38be ANDS.W R0, R3, #1 ; +0x36, 0x3e38c2 ITE EQ ; +0x3a, 0x3e38c6 ASREQ R2, R3, #1 ; +0x3c, 0x3e38c8 LDRNE R2, [SP,#0x64+var_40] ; +0x3e, 0x3e38ca CBZ R2, loc_3E3904 ; +0x40, 0x3e38cc LDR.W LR, [SP,#0x64+var_40] ; +0x42, 0x3e38ce ASRS R3, R3, #1 ; +0x46, 0x3e38d2 LDR R7, [SP,#0x64+var_3C] ; +0x48, 0x3e38d4 MOVS R2, #0 ; +0x4a, 0x3e38d6 CBZ R0, loc_3E38E2 ; +0x4c, 0x3e38d8 CMP R2, LR ; +0x4e, 0x3e38da BCS loc_3E38FC ; +0x50, 0x3e38dc MOV R1, R7 ; +0x52, 0x3e38de B loc_3E38EA ; +0x54, 0x3e38e0 CMP R2, R3 ; +0x56, 0x3e38e2 BCS loc_3E38FC ; +0x58, 0x3e38e4 ADD.W R1, SP, #0x64+var_44+1 ; +0x5a, 0x3e38e6 LDRB R1, [R1,R2] ; +0x5e, 0x3e38ea CBNZ R2, loc_3E38F2 ; +0x60, 0x3e38ec CMP R1, #0x2D ; '-' ; +0x62, 0x3e38ee BEQ loc_3E38F8 ; +0x64, 0x3e38f0 SUBS R1, #0x30 ; '0' ; +0x66, 0x3e38f2 CMP R1, #9 ; +0x68, 0x3e38f4 BHI loc_3E3904 ; +0x6a, 0x3e38f6 ADDS R2, #1 ; +0x6c, 0x3e38f8 B loc_3E38D8 ; +0x6e, 0x3e38fa MOV R0, R5 ; +0x70, 0x3e38fc BL _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0x72, 0x3e38fe B loc_3E390E ; +0x76, 0x3e3902 MOV R0, R5 ; +0x78, 0x3e3904 BL _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0x7a, 0x3e3906 MOVS R7, #0 ; +0x7e, 0x3e390a B loc_3E3AD4 ; +0x80, 0x3e390c MOV R0, R4; this ; +0x82, 0x3e390e BL _ZN15CCTextInputNode15isVisibleInTreeEv; CCTextInputNode::isVisibleInTree(void) ; +0x84, 0x3e3910 CMP R0, #0 ; +0x88, 0x3e3914 BEQ loc_3E390A ; +0x8a, 0x3e3916 LDR R3, [R4] ; +0x8c, 0x3e3918 MOV R0, R4 ; +0x8e, 0x3e391a LDR.W R3, [R3,#0x1F0] ; +0x90, 0x3e391c BLX R3 ; +0x94, 0x3e3920 CMP R0, #0 ; +0x96, 0x3e3922 BEQ loc_3E390A ; +0x98, 0x3e3924 BL _ZN7cocos2d9CCEGLView16sharedOpenGLViewEv; cocos2d::CCEGLView::sharedOpenGLView(void) ; +0x9a, 0x3e3926 MOV R7, R0 ; +0x9e, 0x3e392a CMP R0, #0 ; +0xa0, 0x3e392c BEQ loc_3E390A ; +0xa2, 0x3e392e BL _ZN7cocos2d10CCDirector14sharedDirectorEv; cocos2d::CCDirector::sharedDirector(void) ; +0xa4, 0x3e3930 LDR R3, [R7] ; +0xa8, 0x3e3934 ADD R5, SP, #0x64+var_38 ; +0xaa, 0x3e3936 ADD.W R8, SP, #0x64+var_5C ; +0xac, 0x3e3938 MOV R1, R7 ; +0xb0, 0x3e393c ADD R7, SP, #0x64+var_54 ; +0xb2, 0x3e393e LDR R3, [R3,#0x5C] ; +0xb4, 0x3e3940 MOV R9, R0 ; +0xb6, 0x3e3942 MOV R0, R5 ; +0xb8, 0x3e3944 BLX R3 ; +0xba, 0x3e3946 MOV R0, R8; this ; +0xbc, 0x3e3948 MOV R1, R9; cocos2d::CCPoint * ; +0xbe, 0x3e394a MOV R2, R5 ; +0xc0, 0x3e394c BL _ZN7cocos2d10CCDirector11convertToGLERKNS_7CCPointE; cocos2d::CCDirector::convertToGL(cocos2d::CCPoint const&) ; +0xc2, 0x3e394e MOV R2, R8 ; +0xc6, 0x3e3952 MOV R0, R7; this ; +0xc8, 0x3e3954 MOV R1, R4; cocos2d::CCPoint * ; +0xca, 0x3e3956 BL _ZN7cocos2d6CCNode18convertToNodeSpaceERKNS_7CCPointE; cocos2d::CCNode::convertToNodeSpace(cocos2d::CCPoint const&) ; +0xcc, 0x3e3958 LDR R3, [R4] ; +0xd0, 0x3e395c MOV R0, R4 ; +0xd2, 0x3e395e LDR.W R3, [R3,#0xA4] ; +0xd4, 0x3e3960 BLX R3 ; +0xd8, 0x3e3964 MOV R1, R0; cocos2d::CCSize * ; +0xda, 0x3e3966 ADD R0, SP, #0x64+var_4C; this ; +0xdc, 0x3e3968 BL _ZN7cocos2d6CCSizeC1ERKS0_; cocos2d::CCSize::CCSize(cocos2d::CCSize const&) ; +0xde, 0x3e396a VMOV.F32 S15, #0.5 ; +0xe2, 0x3e396e VLDR S14, [SP,#0x64+var_48] ; +0xe6, 0x3e3972 MOV R0, R5; this ; +0xea, 0x3e3976 LDR R3, [SP,#0x64+var_4C]; float ; +0xec, 0x3e3978 VLDR S13, [SP,#0x64+var_4C] ; +0xee, 0x3e397a VSTR S14, [SP,#0x64+var_64] ; +0xf2, 0x3e397e VNMUL.F32 S13, S13, S15 ; +0xf6, 0x3e3982 VNMUL.F32 S15, S14, S15 ; +0xfa, 0x3e3986 VMOV R1, S13; float ; +0xfe, 0x3e398a VMOV R2, S15; float ; +0x102, 0x3e398e BL _ZN7cocos2d6CCRectC1Effff; cocos2d::CCRect::CCRect(float,float,float,float) ; +0x106, 0x3e3992 MOV R1, R7; cocos2d::CCPoint * ; +0x10a, 0x3e3996 MOV R0, R5; this ; +0x10c, 0x3e3998 BL _ZNK7cocos2d6CCRect13containsPointERKNS_7CCPointE; cocos2d::CCRect::containsPoint(cocos2d::CCPoint const&) ; +0x10e, 0x3e399a MOV R7, R0 ; +0x112, 0x3e399e CMP R0, #0 ; +0x114, 0x3e39a0 BEQ loc_3E390A ; +0x116, 0x3e39a2 MOV R0, R4; this ; +0x118, 0x3e39a4 BL _ZN15CCTextInputNode16isCoveredByPopupEv; CCTextInputNode::isCoveredByPopup(void) ; +0x11a, 0x3e39a6 CMP R0, #0 ; +0x11e, 0x3e39aa BNE loc_3E390A ; +0x120, 0x3e39ac BL _ZN7cocos2d10CCDirector14sharedDirectorEv; cocos2d::CCDirector::sharedDirector(void) ; +0x122, 0x3e39ae LDR R3, [R0] ; +0x126, 0x3e39b2 LDR R3, [R3,#0x60] ; +0x128, 0x3e39b4 BLX R3 ; +0x12a, 0x3e39b6 LDRB.W R3, [R0,#0x58] ; +0x12c, 0x3e39b8 CBNZ R3, loc_3E39E4 ; +0x130, 0x3e39bc BL _ZN7cocos2d10CCDirector14sharedDirectorEv; cocos2d::CCDirector::sharedDirector(void) ; +0x132, 0x3e39be LDR R3, [R0] ; +0x136, 0x3e39c2 LDR R3, [R3,#0x60] ; +0x138, 0x3e39c4 BLX R3 ; +0x13a, 0x3e39c6 LDRB.W R3, [R0,#0x59] ; +0x13c, 0x3e39c8 CBZ R3, loc_3E39EA ; +0x140, 0x3e39cc VMOV.F32 S15, #1.0 ; +0x142, 0x3e39ce LDR.W R3, [R4,#0x1F8] ; +0x146, 0x3e39d2 VLDR S16, =0.1 ; +0x14a, 0x3e39d6 CMP R3, #1 ; +0x14e, 0x3e39da IT NE ; +0x150, 0x3e39dc VMOVNE.F32 S16, S15 ; +0x152, 0x3e39de B loc_3E39EE ; +0x156, 0x3e39e2 VMOV.F32 S16, #10.0 ; +0x158, 0x3e39e4 B loc_3E39EE ; +0x15c, 0x3e39e8 VMOV.F32 S16, #1.0 ; +0x15e, 0x3e39ea ADD R5, SP, #0x64+var_44 ; +0x162, 0x3e39ee MOV R1, R4 ; +0x164, 0x3e39f0 MOV R0, R5; this ; +0x166, 0x3e39f2 VCMPE.F32 S17, #0.0 ; +0x168, 0x3e39f4 VMRS APSR_nzcv, FPSCR ; +0x16c, 0x3e39f8 IT PL ; +0x170, 0x3e39fc VNEGPL.F32 S16, S16 ; +0x172, 0x3e39fe BL _ZN15CCTextInputNode9getStringEv; CCTextInputNode::getString(void) ; +0x176, 0x3e3a02 LDRB.W R3, [SP,#0x64+var_44] ; +0x17a, 0x3e3a06 LSLS R3, R3, #0x1F ; +0x17e, 0x3e3a0a ITE PL ; +0x180, 0x3e3a0c ADDPL.W R0, SP, #0x64+var_44+1 ; +0x182, 0x3e3a0e LDRMI R0, [SP,#0x64+var_3C]; char * ; +0x186, 0x3e3a12 BLX atof ; +0x188, 0x3e3a14 VMOV D7, R0, R1 ; +0x18c, 0x3e3a18 MOV R0, R5 ; +0x190, 0x3e3a1c VCVT.F32.F64 S15, D7 ; +0x192, 0x3e3a1e VADD.F32 S16, S15, S16 ; +0x196, 0x3e3a22 BL _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0x19a, 0x3e3a26 LDRB.W R3, [R4,#0x1D4] ; +0x19e, 0x3e3a2a CBZ R3, loc_3E3A68 ; +0x1a2, 0x3e3a2e VLDR S15, [R4,#0x1D8] ; +0x1a4, 0x3e3a30 VLDR S14, [R4,#0x1DC] ; +0x1a8, 0x3e3a34 VCMPE.F32 S16, S15 ; +0x1ac, 0x3e3a38 VMRS APSR_nzcv, FPSCR ; +0x1b0, 0x3e3a3c ITE PL ; +0x1b4, 0x3e3a40 VMOVPL.F32 S13, S16 ; +0x1b6, 0x3e3a42 VMOVMI.F32 S13, S15 ; +0x1ba, 0x3e3a46 VCMPE.F32 S13, S14 ; +0x1be, 0x3e3a4a VMRS APSR_nzcv, FPSCR ; +0x1c2, 0x3e3a4e BGT loc_3E3A64 ; +0x1c6, 0x3e3a52 VCMP.F32 S16, S15 ; +0x1c8, 0x3e3a54 VMRS APSR_nzcv, FPSCR ; +0x1cc, 0x3e3a58 IT MI ; +0x1d0, 0x3e3a5c VMOVMI.F32 S16, S15 ; +0x1d2, 0x3e3a5e B loc_3E3A68 ; +0x1d6, 0x3e3a62 VMOV.F32 S16, S14 ; +0x1d8, 0x3e3a64 LDR.W R2, [R4,#0x1F8] ; +0x1dc, 0x3e3a68 ADD.W R8, SP, #0x64+var_28 ; +0x1e0, 0x3e3a6c CMP R2, #1 ; +0x1e4, 0x3e3a70 BNE loc_3E3A8E ; +0x1e6, 0x3e3a72 VCVT.F64.F32 D7, S16 ; +0x1e8, 0x3e3a74 LDR R2, =(aF_1 - 0x3E3A82); "%.*f" ; +0x1ec, 0x3e3a78 MOV R0, R8 ; +0x1ee, 0x3e3a7a MOVS R1, #0x20 ; ' ' ; +0x1f0, 0x3e3a7c ADD R2, PC; "%.*f" ; +0x1f2, 0x3e3a7e LDR.W R3, [R4,#0x1FC] ; +0x1f4, 0x3e3a80 VSTR D7, [SP,#0x64+var_64] ; +0x1f8, 0x3e3a84 BL sub_993B88 ; +0x1fc, 0x3e3a88 B loc_3E3AAE ; +0x200, 0x3e3a8c VCVT.S32.F32 S15, S16 ; +0x202, 0x3e3a8e CMP R2, #3 ; +0x206, 0x3e3a92 VMOV R3, S15 ; +0x208, 0x3e3a94 BEQ loc_3E3A9E ; +0x20c, 0x3e3a98 CMP R2, #5 ; +0x20e, 0x3e3a9a BNE loc_3E3AA2 ; +0x210, 0x3e3a9c BIC.W R3, R3, R3,ASR#31 ; +0x212, 0x3e3a9e LDR R2, =(aD_0 - 0x3E3AAC); "%d" ; +0x216, 0x3e3aa2 MOV R0, R8 ; +0x218, 0x3e3aa4 MOVS R1, #0x20 ; ' ' ; +0x21a, 0x3e3aa6 ADD R2, PC; "%d" ; +0x21c, 0x3e3aa8 BL sub_993B88 ; +0x21e, 0x3e3aaa MOV R0, R8; char * ; +0x222, 0x3e3aae MOVS R3, #0 ; +0x224, 0x3e3ab0 STR R3, [SP,#0x64+var_44] ; +0x226, 0x3e3ab2 STR R3, [SP,#0x64+var_40] ; +0x228, 0x3e3ab4 STR R3, [SP,#0x64+var_3C] ; +0x22a, 0x3e3ab6 BLX strlen ; +0x22c, 0x3e3ab8 MOV R1, R8 ; +0x230, 0x3e3abc MOV R2, R0 ; +0x232, 0x3e3abe MOV R0, R5 ; +0x234, 0x3e3ac0 BL _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEPKcj; std::string::__init(char const*,uint) ; +0x236, 0x3e3ac2 MOV R0, R4 ; +0x23a, 0x3e3ac6 MOV R1, R5 ; +0x23c, 0x3e3ac8 BL _ZN15CCTextInputNode9setStringENSt6__ndk112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEE; CCTextInputNode::setString(std::string) ; +0x23e, 0x3e3aca MOV R0, R5 ; +0x242, 0x3e3ace BL _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0x244, 0x3e3ad0 LDR R2, [SP,#0x64+var_8] ; +0x248, 0x3e3ad4 MOV R0, R7 ; +0x24a, 0x3e3ad6 LDR R3, [R6] ; +0x24c, 0x3e3ad8 CMP R2, R3 ; +0x24e, 0x3e3ada BEQ loc_3E3AEC ; +0x250, 0x3e3adc BLX __stack_chk_fail ; +0x252, 0x3e3ade MOV R0, R5 ; +0x256, 0x3e3ae2 BL _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0x258, 0x3e3ae4 BL __cxa_end_cleanup ; +0x25c, 0x3e3ae8 ADD SP, SP, #0x64 ; 'd' ; +0x260, 0x3e3aec VPOP {D8} ; +0x262, 0x3e3aee POP.W {R4-R9,PC} ; +0x266, 0x3e3af2