; ; CustomSFXRowMenu::ccTouchBegan from 0x6a5e20 to 0x6a5ece (174 bytes) ; ; 1 xrefs: ; > `non-virtual thunk to'CustomSFXRowMenu::ccTouchBegan @ 0x6a5ee0 ; ; 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:56:30 +0000 ; PUSH.W {R4-R11,LR} ; +0x0, 0x6a5e20 SUB SP, SP, #0x2C ; +0x4, 0x6a5e24 LDR R6, =(__stack_chk_guard_ptr - 0x6A5E32) ; +0x6, 0x6a5e26 MOV R8, R0 ; +0x8, 0x6a5e28 MOV R7, R1 ; +0xa, 0x6a5e2a MOV R9, R2 ; +0xc, 0x6a5e2c ADD R6, PC; __stack_chk_guard_ptr ; +0xe, 0x6a5e2e LDR R6, [R6]; __stack_chk_guard ; +0x10, 0x6a5e30 LDR R3, [R6] ; +0x12, 0x6a5e32 STR R3, [SP,#0x2C+var_8] ; +0x14, 0x6a5e34 LDR R3, [R0] ; +0x16, 0x6a5e36 LDR.W R3, [R3,#0x100] ; +0x18, 0x6a5e38 BLX R3 ; +0x1c, 0x6a5e3c MOV R5, R0 ; +0x1e, 0x6a5e3e CMP R0, #0 ; +0x20, 0x6a5e40 BEQ loc_6A5EB2 ; +0x22, 0x6a5e42 LDR R1, =(_ZTIN7cocos2d6CCNodeE_ptr - 0x6A5E50) ; +0x24, 0x6a5e44 MOV R0, R5; lpsrc ; +0x26, 0x6a5e46 LDR R2, =(_ZTI16CCScrollLayerExt_ptr - 0x6A5E54) ; +0x28, 0x6a5e48 MOVS R3, #0; s2d ; +0x2a, 0x6a5e4a ADD R1, PC; _ZTIN7cocos2d6CCNodeE_ptr ; +0x2c, 0x6a5e4c LDR R1, [R1]; lpstype ; +0x2e, 0x6a5e4e ADD R2, PC; _ZTI16CCScrollLayerExt_ptr ; +0x30, 0x6a5e50 LDR R2, [R2]; lpdtype ; +0x32, 0x6a5e52 BL __dynamic_cast ; +0x34, 0x6a5e54 MOV R4, R0 ; +0x38, 0x6a5e58 CBZ R0, loc_6A5EA8 ; +0x3a, 0x6a5e5a ADD R5, SP, #0x2C+var_18 ; +0x3c, 0x6a5e5c ADD.W R10, SP, #0x2C+var_20 ; +0x3e, 0x6a5e5e MOV R1, R7 ; +0x42, 0x6a5e62 MOV R0, R5; this ; +0x44, 0x6a5e64 BL _ZNK7cocos2d7CCTouch11getLocationEv; cocos2d::CCTouch::getLocation(void) ; +0x46, 0x6a5e66 MOV R1, R4; cocos2d::CCPoint * ; +0x4a, 0x6a5e6a MOV R2, R5 ; +0x4c, 0x6a5e6c MOV R0, R10; this ; +0x4e, 0x6a5e6e BL _ZN7cocos2d6CCNode18convertToNodeSpaceERKNS_7CCPointE; cocos2d::CCNode::convertToNodeSpace(cocos2d::CCPoint const&) ; +0x50, 0x6a5e70 LDR R3, [R4] ; +0x54, 0x6a5e74 MOV R0, R4 ; +0x56, 0x6a5e76 LDR.W R3, [R3,#0xA4] ; +0x58, 0x6a5e78 BLX R3 ; +0x5c, 0x6a5e7c LDR R3, [R4] ; +0x5e, 0x6a5e7e LDR.W R3, [R3,#0xA4] ; +0x60, 0x6a5e80 LDR.W R11, [R0] ; +0x64, 0x6a5e84 MOV R0, R4 ; +0x68, 0x6a5e88 BLX R3 ; +0x6a, 0x6a5e8a MOVS R1, #0; float ; +0x6c, 0x6a5e8c MOV R2, R1; float ; +0x6e, 0x6a5e8e LDR R3, [R0,#4] ; +0x70, 0x6a5e90 MOV R0, R5; this ; +0x72, 0x6a5e92 STR R3, [SP,#0x2C+var_2C]; float ; +0x74, 0x6a5e94 MOV R3, R11; float ; +0x76, 0x6a5e96 BL _ZN7cocos2d6CCRectC1Effff; cocos2d::CCRect::CCRect(float,float,float,float) ; +0x78, 0x6a5e98 MOV R0, R5; this ; +0x7c, 0x6a5e9c MOV R1, R10; cocos2d::CCPoint * ; +0x7e, 0x6a5e9e BL _ZNK7cocos2d6CCRect13containsPointERKNS_7CCPointE; cocos2d::CCRect::containsPoint(cocos2d::CCPoint const&) ; +0x80, 0x6a5ea0 CBNZ R0, loc_6A5EB2 ; +0x84, 0x6a5ea4 B loc_6A5EBC ; +0x86, 0x6a5ea6 LDR R3, [R5] ; +0x88, 0x6a5ea8 MOV R0, R5 ; +0x8a, 0x6a5eaa LDR.W R3, [R3,#0x100] ; +0x8c, 0x6a5eac B loc_6A5E3C ; +0x90, 0x6a5eb0 MOV R0, R8 ; +0x92, 0x6a5eb2 MOV R1, R7 ; +0x94, 0x6a5eb4 MOV R2, R9 ; +0x96, 0x6a5eb6 BL _ZN7cocos2d6CCMenu12ccTouchBeganEPNS_7CCTouchEPNS_7CCEventE; cocos2d::CCMenu::ccTouchBegan(cocos2d::CCTouch *,cocos2d::CCEvent *) ; +0x98, 0x6a5eb8 LDR R2, [SP,#0x2C+var_8] ; +0x9c, 0x6a5ebc LDR R3, [R6] ; +0x9e, 0x6a5ebe CMP R2, R3 ; +0xa0, 0x6a5ec0 BEQ loc_6A5EC8 ; +0xa2, 0x6a5ec2 BLX __stack_chk_fail ; +0xa4, 0x6a5ec4 ADD SP, SP, #0x2C ; ',' ; +0xa8, 0x6a5ec8 POP.W {R4-R11,PC} ; +0xaa, 0x6a5eca