; ; CCScrollLayerExt::ccTouchBegan from 0x3c84cc to 0x3c85de (274 bytes) ; ; 2 xrefs: ; > `non-virtual thunk to'CCScrollLayerExt::ccTouchBegan @ 0x3c85f4 ; > TableView::ccTouchBegan @ 0x3ca94e ; ; 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:35 +0000 ; LDR R3, =(__stack_chk_guard_ptr - 0x3C84D6) ; +0x0, 0x3c84cc PUSH.W {R4-R10,LR} ; +0x2, 0x3c84ce ADD R3, PC; __stack_chk_guard_ptr ; +0x6, 0x3c84d2 LDR R3, [R3]; __stack_chk_guard ; +0x8, 0x3c84d4 SUB SP, SP, #0x20 ; +0xa, 0x3c84d6 LDRB.W R8, [R0,#0x175] ; +0xc, 0x3c84d8 LDR R2, [R3] ; +0x10, 0x3c84dc MOV R4, R0 ; +0x12, 0x3c84de MOV R6, R1 ; +0x14, 0x3c84e0 MOV R7, R3 ; +0x16, 0x3c84e2 STR R2, [SP,#0x20+var_4] ; +0x18, 0x3c84e4 CMP.W R8, #0 ; +0x1a, 0x3c84e6 BNE loc_3C85C6 ; +0x1e, 0x3c84ea ADD R5, SP, #0x20+var_14 ; +0x20, 0x3c84ec MOV R0, R5; this ; +0x22, 0x3c84ee BL _ZNK7cocos2d7CCTouch11getLocationEv; cocos2d::CCTouch::getLocation(void) ; +0x24, 0x3c84f0 LDR R3, [R4] ; +0x28, 0x3c84f4 MOV R0, R4 ; +0x2a, 0x3c84f6 LDR.W R3, [R3,#0x100] ; +0x2c, 0x3c84f8 BLX R3 ; +0x30, 0x3c84fc MOV R9, R0 ; +0x32, 0x3c84fe CBZ R0, loc_3C8532 ; +0x34, 0x3c8500 LDR R1, =(_ZTIN7cocos2d6CCNodeE_ptr - 0x3C8510) ; +0x36, 0x3c8502 MOV R0, R9; lpsrc ; +0x38, 0x3c8504 LDR R2, =(_ZTIN7cocos2d14CCTouchClipperE_ptr - 0x3C8514) ; +0x3a, 0x3c8506 MOV R3, #0xFFFFFFFE; s2d ; +0x3c, 0x3c8508 ADD R1, PC; _ZTIN7cocos2d6CCNodeE_ptr ; +0x40, 0x3c850c LDR R1, [R1]; lpstype ; +0x42, 0x3c850e ADD R2, PC; _ZTIN7cocos2d14CCTouchClipperE_ptr ; +0x44, 0x3c8510 LDR R2, [R2]; lpdtype ; +0x46, 0x3c8512 BL __dynamic_cast ; +0x48, 0x3c8514 CBZ R0, loc_3C8526 ; +0x4c, 0x3c8518 LDR R3, [R0] ; +0x4e, 0x3c851a MOV R1, R5 ; +0x50, 0x3c851c LDR R3, [R3,#8] ; +0x52, 0x3c851e BLX R3 ; +0x54, 0x3c8520 CMP R0, #0 ; +0x56, 0x3c8522 BEQ loc_3C85CA ; +0x58, 0x3c8524 LDR.W R3, [R9] ; +0x5a, 0x3c8526 MOV R0, R9 ; +0x5e, 0x3c852a LDR.W R3, [R3,#0x100] ; +0x60, 0x3c852c B loc_3C84FC ; +0x64, 0x3c8530 ADD.W R10, SP, #0x20+var_1C ; +0x66, 0x3c8532 MOV R1, R6 ; +0x6a, 0x3c8536 STR.W R6, [R4,#0x140] ; +0x6c, 0x3c8538 ADD.W R6, R4, #0x144 ; +0x70, 0x3c853c MOV R0, R10; this ; +0x74, 0x3c8540 BL _ZNK7cocos2d7CCTouch17getLocationInViewEv; cocos2d::CCTouch::getLocationInView(void) ; +0x76, 0x3c8542 BL _ZN7cocos2d10CCDirector14sharedDirectorEv; cocos2d::CCDirector::sharedDirector(void) ; +0x7a, 0x3c8546 MOV R2, R10 ; +0x7e, 0x3c854a MOV R1, R0; cocos2d::CCPoint * ; +0x80, 0x3c854c MOV R0, R5; this ; +0x82, 0x3c854e BL _ZN7cocos2d10CCDirector11convertToGLERKNS_7CCPointE; cocos2d::CCDirector::convertToGL(cocos2d::CCPoint const&) ; +0x84, 0x3c8550 MOV R1, R5 ; +0x88, 0x3c8554 MOV R0, R6 ; +0x8a, 0x3c8556 BL _ZN7cocos2d7CCPointaSERKS0_; cocos2d::CCPoint::operator=(cocos2d::CCPoint const&) ; +0x8c, 0x3c8558 MOV R1, R0 ; +0x90, 0x3c855c ADD.W R0, R4, #0x14C ; +0x92, 0x3c855e BL _ZN7cocos2d7CCPointaSERKS0_; cocos2d::CCPoint::operator=(cocos2d::CCPoint const&) ; +0x96, 0x3c8562 MOV R2, R6 ; +0x9a, 0x3c8566 MOV R0, R5; this ; +0x9c, 0x3c8568 MOV R1, R4; cocos2d::CCPoint * ; +0x9e, 0x3c856a BL _ZN7cocos2d6CCNode18convertToNodeSpaceERKNS_7CCPointE; cocos2d::CCNode::convertToNodeSpace(cocos2d::CCPoint const&) ; +0xa0, 0x3c856c MOV R1, R5 ; +0xa4, 0x3c8570 MOV R0, R10 ; +0xa6, 0x3c8572 BL _ZN7cocos2d7CCPointaSERKS0_; cocos2d::CCPoint::operator=(cocos2d::CCPoint const&) ; +0xa8, 0x3c8574 MOV R0, R5; this ; +0xac, 0x3c8578 BL _ZN7cocos2d6CCRectC1Ev; cocos2d::CCRect::CCRect(void) ; +0xae, 0x3c857a LDR R1, =(unk_D2A5A4 - 0x3C8586) ; +0xb2, 0x3c857e MOV R0, R5 ; +0xb4, 0x3c8580 ADD R1, PC; unk_D2A5A4 ; +0xb6, 0x3c8582 BL _ZN7cocos2d7CCPointaSERKS0_; cocos2d::CCPoint::operator=(cocos2d::CCPoint const&) ; +0xb8, 0x3c8584 LDR R3, [R4] ; +0xbc, 0x3c8588 MOV R0, R4 ; +0xbe, 0x3c858a LDR.W R3, [R3,#0xA4] ; +0xc0, 0x3c858c BLX R3 ; +0xc4, 0x3c8590 MOV R1, R0 ; +0xc6, 0x3c8592 ADD R0, SP, #0x20+var_C ; +0xc8, 0x3c8594 BL _ZN7cocos2d6CCSizeaSERKS0_; cocos2d::CCSize::operator=(cocos2d::CCSize const&) ; +0xca, 0x3c8596 MOV R0, R5; this ; +0xce, 0x3c859a MOV R1, R10; cocos2d::CCPoint * ; +0xd0, 0x3c859c BL _ZNK7cocos2d6CCRect13containsPointERKNS_7CCPointE; cocos2d::CCRect::containsPoint(cocos2d::CCPoint const&) ; +0xd2, 0x3c859e CBZ R0, loc_3C85CA ; +0xd6, 0x3c85a2 LDR.W R0, [R4,#0x16C]; this ; +0xd8, 0x3c85a4 BL _ZN7cocos2d6CCNode14stopAllActionsEv; cocos2d::CCNode::stopAllActions(void) ; +0xdc, 0x3c85a8 ADD.W R0, R4, #0x154 ; +0xe0, 0x3c85ac MOV R1, R9 ; +0xe4, 0x3c85b0 BL _ZN7cocos2d6CCTime19gettimeofdayCocos2dEPNS_10cc_timevalEPv; cocos2d::CCTime::gettimeofdayCocos2d(cocos2d::cc_timeval *,void *) ; +0xe6, 0x3c85b2 LDRB.W R8, [R4,#0x175] ; +0xea, 0x3c85b6 MOVS R3, #1 ; +0xee, 0x3c85ba STRB.W R3, [R4,#0x15C] ; +0xf0, 0x3c85bc EOR.W R8, R8, R3 ; +0xf4, 0x3c85c0 B loc_3C85CA ; +0xf8, 0x3c85c4 MOV.W R8, #0 ; +0xfa, 0x3c85c6 LDR R2, [SP,#0x20+var_4] ; +0xfe, 0x3c85ca MOV R0, R8 ; +0x100, 0x3c85cc LDR R3, [R7] ; +0x102, 0x3c85ce CMP R2, R3 ; +0x104, 0x3c85d0 BEQ loc_3C85D8 ; +0x106, 0x3c85d2 BLX __stack_chk_fail ; +0x108, 0x3c85d4 ADD SP, SP, #0x20 ; ' ' ; +0x10c, 0x3c85d8 POP.W {R4-R10,PC} ; +0x10e, 0x3c85da