; ; CCTextInputNode::ccTouchBegan from 0x2fb4e8 to 0x2fb606 (286 bytes) ; ; 1 xrefs: ; > `non-virtual thunk to'CCTextInputNode::ccTouchBegan @ 0x2fb610 ; ; This function is hookable on this platform! ; ; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA ; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings ; PUSH.W {R4-R10,LR} ; +0x0, 0x2fb4e8 SUB SP, SP, #0x40 ; +0x4, 0x2fb4ec LDR R7, =(__stack_chk_guard_ptr - 0x2FB4FA) ; +0x6, 0x2fb4ee ADD R6, SP, #0x40+var_3C ; +0x8, 0x2fb4f0 MOV R4, R0 ; +0xa, 0x2fb4f2 ADD R5, SP, #0x40+var_14 ; +0xc, 0x2fb4f4 ADD R7, PC; __stack_chk_guard_ptr ; +0xe, 0x2fb4f6 LDR R7, [R7]; __stack_chk_guard ; +0x10, 0x2fb4f8 MOV R0, R6; this ; +0x12, 0x2fb4fa ADD.W R8, SP, #0x40+var_24 ; +0x14, 0x2fb4fc ADD.W R9, SP, #0x40+var_34 ; +0x18, 0x2fb500 LDR R3, [R7] ; +0x1c, 0x2fb504 STR R3, [SP,#0x40+var_4] ; +0x1e, 0x2fb506 BL _ZNK7cocos2d7CCTouch17getLocationInViewEv; cocos2d::CCTouch::getLocationInView(void) ; +0x20, 0x2fb508 BL _ZN7cocos2d10CCDirector14sharedDirectorEv; cocos2d::CCDirector::sharedDirector(void) ; +0x24, 0x2fb50c MOV R2, R6 ; +0x28, 0x2fb510 MOV R1, R0; cocos2d::CCPoint * ; +0x2a, 0x2fb512 MOV R0, R5; this ; +0x2c, 0x2fb514 BL _ZN7cocos2d10CCDirector11convertToGLERKNS_7CCPointE; cocos2d::CCDirector::convertToGL(cocos2d::CCPoint const&) ; +0x2e, 0x2fb516 MOV R1, R5 ; +0x32, 0x2fb51a MOV R0, R6 ; +0x34, 0x2fb51c BL _ZN7cocos2d7CCPointaSERKS0_; cocos2d::CCPoint::operator=(cocos2d::CCPoint const&) ; +0x36, 0x2fb51e MOV R2, R6 ; +0x3a, 0x2fb522 MOV R0, R5; this ; +0x3c, 0x2fb524 MOV R1, R4; cocos2d::CCPoint * ; +0x3e, 0x2fb526 BL _ZN7cocos2d6CCNode19convertToWorldSpaceERKNS_7CCPointE; cocos2d::CCNode::convertToWorldSpace(cocos2d::CCPoint const&) ; +0x40, 0x2fb528 MOV R1, R5 ; +0x44, 0x2fb52c MOV R0, R6 ; +0x46, 0x2fb52e BL _ZN7cocos2d7CCPointaSERKS0_; cocos2d::CCPoint::operator=(cocos2d::CCPoint const&) ; +0x48, 0x2fb530 MOV R2, R6 ; +0x4c, 0x2fb534 MOV R0, R5; this ; +0x4e, 0x2fb536 MOV R1, R4; cocos2d::CCPoint * ; +0x50, 0x2fb538 BL _ZN7cocos2d6CCNode18convertToNodeSpaceERKNS_7CCPointE; cocos2d::CCNode::convertToNodeSpace(cocos2d::CCPoint const&) ; +0x52, 0x2fb53a MOV R1, R5 ; +0x56, 0x2fb53e MOV R0, R6 ; +0x58, 0x2fb540 BL _ZN7cocos2d7CCPointaSERKS0_; cocos2d::CCPoint::operator=(cocos2d::CCPoint const&) ; +0x5a, 0x2fb542 LDR.W R0, [R4,#0x17C] ; +0x5e, 0x2fb546 LDR R3, [R0] ; +0x62, 0x2fb54a LDR.W R3, [R3,#0x90] ; +0x64, 0x2fb54c BLX R3 ; +0x68, 0x2fb550 MOV R1, R0; cocos2d::CCPoint * ; +0x6a, 0x2fb552 MOV R0, R5; this ; +0x6c, 0x2fb554 BL _ZN7cocos2d7CCPointC1ERKS0_; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const&) ; +0x6e, 0x2fb556 MOV R0, R8 ; +0x72, 0x2fb55a MOV R1, R4 ; +0x74, 0x2fb55c MOV R2, R5 ; +0x76, 0x2fb55e BL sub_2F62CC ; +0x78, 0x2fb560 LDR R3, [R4] ; +0x7c, 0x2fb564 MOV R0, R4 ; +0x7e, 0x2fb566 LDR.W R3, [R3,#0xF8] ; +0x80, 0x2fb568 BLX R3 ; +0x84, 0x2fb56c CBZ R0, loc_2FB58A ; +0x86, 0x2fb56e LDR R3, [R4] ; +0x88, 0x2fb570 MOV R0, R4 ; +0x8a, 0x2fb572 LDR.W R3, [R3,#0xF8] ; +0x8c, 0x2fb574 BLX R3 ; +0x90, 0x2fb578 LDR R3, [R0] ; +0x92, 0x2fb57a LDR R3, [R3,#0x60] ; +0x94, 0x2fb57c BLX R3 ; +0x96, 0x2fb57e MOV R1, R0; cocos2d::CCPoint * ; +0x98, 0x2fb580 MOV R0, R9; this ; +0x9a, 0x2fb582 BL _ZN7cocos2d7CCPointC1ERKS0_; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const&) ; +0x9c, 0x2fb584 B loc_2FB594 ; +0xa0, 0x2fb588 MOVS R1, #0; float ; +0xa2, 0x2fb58a MOV R0, R9; this ; +0xa4, 0x2fb58c MOV R2, R1; float ; +0xa6, 0x2fb58e BL _ZN7cocos2d7CCPointC1Eff; cocos2d::CCPoint::CCPoint(float,float) ; +0xa8, 0x2fb590 MOV R2, R9 ; +0xac, 0x2fb594 MOV R0, R5 ; +0xae, 0x2fb596 MOV R1, R8 ; +0xb0, 0x2fb598 BL _ZNK7cocos2d7CCPointplERKS0_; cocos2d::CCPoint::operator+(cocos2d::CCPoint const&) ; +0xb2, 0x2fb59a MOV R1, R5 ; +0xb6, 0x2fb59e MOV R0, R8 ; +0xb8, 0x2fb5a0 BL _ZN7cocos2d7CCPointaSERKS0_; cocos2d::CCPoint::operator=(cocos2d::CCPoint const&) ; +0xba, 0x2fb5a2 MOV R0, R8; this ; +0xbe, 0x2fb5a6 MOV R1, R6; cocos2d::CCPoint * ; +0xc0, 0x2fb5a8 BL _ZNK7cocos2d6CCRect13containsPointERKNS_7CCPointE; cocos2d::CCRect::containsPoint(cocos2d::CCPoint const&) ; +0xc2, 0x2fb5aa MOV R9, R0 ; +0xc6, 0x2fb5ae CBZ R0, loc_2FB5FA ; +0xc8, 0x2fb5b0 LDR.W R0, [R4,#0x180] ; +0xca, 0x2fb5b2 CBZ R0, loc_2FB5C2 ; +0xce, 0x2fb5b6 LDR R3, [R0] ; +0xd0, 0x2fb5b8 MOV R1, R4 ; +0xd2, 0x2fb5ba LDR R3, [R3,#0x14] ; +0xd4, 0x2fb5bc BLX R3 ; +0xd6, 0x2fb5be CBZ R0, loc_2FB5FA ; +0xd8, 0x2fb5c0 LDR R3, [R4] ; +0xda, 0x2fb5c2 ADD.W R10, SP, #0x40+var_2C ; +0xdc, 0x2fb5c4 MOV R0, R4 ; +0xe0, 0x2fb5c8 MOVS R1, #1 ; +0xe2, 0x2fb5ca LDR.W R3, [R3,#0x23C] ; +0xe4, 0x2fb5cc BLX R3 ; +0xe8, 0x2fb5d0 MOV R1, R6; cocos2d::CCPoint * ; +0xea, 0x2fb5d2 MOV R0, R10; this ; +0xec, 0x2fb5d4 BL _ZN7cocos2d7CCPointC1ERKS0_; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const&) ; +0xee, 0x2fb5d6 MOV R1, R8; cocos2d::CCRect * ; +0xf2, 0x2fb5da MOV R0, R5; this ; +0xf4, 0x2fb5dc BL _ZN7cocos2d6CCRectC1ERKS0_; cocos2d::CCRect::CCRect(cocos2d::CCRect const&) ; +0xf6, 0x2fb5de MOV R0, R4 ; +0xfa, 0x2fb5e2 MOV R1, R10 ; +0xfc, 0x2fb5e4 MOV R2, R5 ; +0xfe, 0x2fb5e6 BL _ZN15CCTextInputNode20updateCursorPositionEN7cocos2d7CCPointENS0_6CCRectE; CCTextInputNode::updateCursorPosition(cocos2d::CCPoint,cocos2d::CCRect) ; +0x100, 0x2fb5e8 LDR R2, [SP,#0x40+var_4] ; +0x104, 0x2fb5ec MOV R0, R9 ; +0x106, 0x2fb5ee LDR R3, [R7] ; +0x108, 0x2fb5f0 CMP R2, R3 ; +0x10a, 0x2fb5f2 BEQ loc_2FB600 ; +0x10c, 0x2fb5f4 BLX __stack_chk_fail ; +0x10e, 0x2fb5f6 MOV.W R9, #0 ; +0x112, 0x2fb5fa B loc_2FB5EC ; +0x116, 0x2fb5fe ADD SP, SP, #0x40 ; '@' ; +0x118, 0x2fb600 POP.W {R4-R10,PC} ; +0x11a, 0x2fb602