; ; BoomScrollLayer::ccTouchBegan from 0x3c12e0 to 0x3c1388 (168 bytes) ; ; 1 xrefs: ; > `non-virtual thunk to'BoomScrollLayer::ccTouchBegan @ 0x3c139c ; ; 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:31 +0000 ; LDR R3, =(__stack_chk_guard_ptr - 0x3C12EA) ; +0x0, 0x3c12e0 PUSH.W {R4-R10,LR} ; +0x2, 0x3c12e2 ADD R3, PC; __stack_chk_guard_ptr ; +0x6, 0x3c12e6 LDR R3, [R3]; __stack_chk_guard ; +0x8, 0x3c12e8 SUB SP, SP, #0x18 ; +0xa, 0x3c12ea LDRB.W R9, [R0,#0x1EC] ; +0xc, 0x3c12ec LDR R2, [R3] ; +0x10, 0x3c12f0 MOV R4, R0 ; +0x12, 0x3c12f2 MOV R10, R1 ; +0x14, 0x3c12f4 MOV R6, R3 ; +0x16, 0x3c12f6 STR R2, [SP,#0x18+var_4] ; +0x18, 0x3c12f8 CMP.W R9, #0 ; +0x1a, 0x3c12fa BNE loc_3C1372 ; +0x1e, 0x3c12fe ADD R5, SP, #0x18+var_14 ; +0x20, 0x3c1300 ADD.W R8, SP, #0x18+var_C ; +0x22, 0x3c1302 MOV R0, R5; this ; +0x26, 0x3c1306 BL _ZNK7cocos2d7CCTouch17getLocationInViewEv; cocos2d::CCTouch::getLocationInView(void) ; +0x28, 0x3c1308 BL _ZN7cocos2d10CCDirector14sharedDirectorEv; cocos2d::CCDirector::sharedDirector(void) ; +0x2c, 0x3c130c MOV R2, R5 ; +0x30, 0x3c1310 MOV R1, R0; cocos2d::CCPoint * ; +0x32, 0x3c1312 MOV R0, R8; this ; +0x34, 0x3c1314 BL _ZN7cocos2d10CCDirector11convertToGLERKNS_7CCPointE; cocos2d::CCDirector::convertToGL(cocos2d::CCPoint const&) ; +0x36, 0x3c1316 MOV R0, R5 ; +0x3a, 0x3c131a MOV R1, R8 ; +0x3c, 0x3c131c BL _ZN7cocos2d7CCPointaSERKS0_; cocos2d::CCPoint::operator=(cocos2d::CCPoint const&) ; +0x3e, 0x3c131e MOV R1, R5; cocos2d::CCPoint * ; +0x42, 0x3c1322 ADD.W R0, R4, #0x184; this ; +0x44, 0x3c1324 BL _ZNK7cocos2d6CCRect13containsPointERKNS_7CCPointE; cocos2d::CCRect::containsPoint(cocos2d::CCPoint const&) ; +0x48, 0x3c1328 MOV R5, R0 ; +0x4c, 0x3c132c CBZ R0, loc_3C1374 ; +0x4e, 0x3c132e LDR.W R7, [R4,#0x168] ; +0x50, 0x3c1330 CBNZ R7, loc_3C136E ; +0x54, 0x3c1334 STR.W R10, [R4,#0x168] ; +0x56, 0x3c1336 MOV R0, R7; clock_id ; +0x5a, 0x3c133a MOV R1, R8; tp ; +0x5c, 0x3c133c BLX clock_gettime ; +0x5e, 0x3c133e VLDR S15, [SP,#0x18+var_C] ; +0x62, 0x3c1342 LDR R3, [SP,#0x18+var_14] ; +0x66, 0x3c1346 STR.W R7, [R4,#0x160] ; +0x68, 0x3c1348 VLDR D5, =1.0e9 ; +0x6c, 0x3c134c STR.W R3, [R4,#0x148] ; +0x70, 0x3c1350 VCVT.F64.S32 D6, S15 ; +0x74, 0x3c1354 VLDR S15, [SP,#0x18+var_8] ; +0x78, 0x3c1358 VCVT.F64.S32 D7, S15 ; +0x7c, 0x3c135c VDIV.F64 D7, D7, D5 ; +0x80, 0x3c1360 VADD.F64 D7, D6, D7 ; +0x84, 0x3c1364 VSTR D7, [R4,#0x170] ; +0x88, 0x3c1368 B loc_3C1374 ; +0x8c, 0x3c136c MOV R5, R9 ; +0x8e, 0x3c136e B loc_3C1374 ; +0x90, 0x3c1370 MOVS R5, #0 ; +0x92, 0x3c1372 LDR R2, [SP,#0x18+var_4] ; +0x94, 0x3c1374 MOV R0, R5 ; +0x96, 0x3c1376 LDR R3, [R6] ; +0x98, 0x3c1378 CMP R2, R3 ; +0x9a, 0x3c137a BEQ loc_3C1382 ; +0x9c, 0x3c137c BLX __stack_chk_fail ; +0x9e, 0x3c137e ADD SP, SP, #0x18 ; +0xa2, 0x3c1382 POP.W {R4-R10,PC} ; +0xa4, 0x3c1384