; ; CreateParticlePopup::ccTouchBegan from 0x52f5e8 to 0x52f690 (168 bytes) ; ; 1 xrefs: ; > `non-virtual thunk to'CreateParticlePopup::ccTouchBegan @ 0x52f6a4 ; ; 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, 0x52f5e8 SUB SP, SP, #0x38 ; +0x4, 0x52f5ec LDR R6, =(__stack_chk_guard_ptr - 0x52F5FC) ; +0x6, 0x52f5ee ADD R5, SP, #0x38+var_2C ; +0x8, 0x52f5f0 ADD.W R9, SP, #0x38+var_24 ; +0xa, 0x52f5f2 MOV R4, R0 ; +0xe, 0x52f5f6 ADD R6, PC; __stack_chk_guard_ptr ; +0x10, 0x52f5f8 LDR R6, [R6]; __stack_chk_guard ; +0x12, 0x52f5fa MOV R0, R5; this ; +0x14, 0x52f5fc MOV R7, R1 ; +0x16, 0x52f5fe MOV R8, R2 ; +0x18, 0x52f600 LDR R3, [R6] ; +0x1a, 0x52f602 STR R3, [SP,#0x38+var_4] ; +0x1c, 0x52f604 BL _ZNK7cocos2d7CCTouch11getLocationEv; cocos2d::CCTouch::getLocation(void) ; +0x1e, 0x52f606 MOV R2, R5 ; +0x22, 0x52f60a MOV R0, R9; this ; +0x24, 0x52f60c LDR.W R1, [R4,#0x238]; cocos2d::CCPoint * ; +0x26, 0x52f60e ADD R5, SP, #0x38+var_14 ; +0x2a, 0x52f612 BL _ZN7cocos2d6CCNode18convertToNodeSpaceERKNS_7CCPointE; cocos2d::CCNode::convertToNodeSpace(cocos2d::CCPoint const&) ; +0x2c, 0x52f614 LDR R3, flt_52F690 ; +0x30, 0x52f618 MOVS R1, #0; float ; +0x32, 0x52f61a MOV R0, R5; this ; +0x34, 0x52f61c MOV R2, R1; float ; +0x36, 0x52f61e STR R3, [SP,#0x38+var_38]; float ; +0x38, 0x52f620 LDR R3, flt_52F694; float ; +0x3a, 0x52f622 BL _ZN7cocos2d6CCRectC1Effff; cocos2d::CCRect::CCRect(float,float,float,float) ; +0x3c, 0x52f624 MOV R0, R5; this ; +0x40, 0x52f628 MOV R1, R9; cocos2d::CCPoint * ; +0x42, 0x52f62a BL _ZNK7cocos2d6CCRect13containsPointERKNS_7CCPointE; cocos2d::CCRect::containsPoint(cocos2d::CCPoint const&) ; +0x44, 0x52f62c CBZ R0, loc_52F674 ; +0x48, 0x52f630 LDR R3, [R7,#0x34] ; +0x4a, 0x52f632 ADD.W R10, SP, #0x38+var_1C ; +0x4c, 0x52f634 LDR.W R0, [R4,#0x20C] ; +0x50, 0x52f638 ADD.W R5, R4, #0x218 ; +0x54, 0x52f63c STR.W R3, [R4,#0x214] ; +0x58, 0x52f640 LDR R3, [R0] ; +0x5c, 0x52f644 LDR R3, [R3,#0x60] ; +0x5e, 0x52f646 BLX R3 ; +0x60, 0x52f648 MOV R2, R9 ; +0x62, 0x52f64a MOV R1, R0 ; +0x64, 0x52f64c MOV R0, R10 ; +0x66, 0x52f64e BL _ZNK7cocos2d7CCPointmiERKS0_; cocos2d::CCPoint::operator-(cocos2d::CCPoint const&) ; +0x68, 0x52f650 MOV R1, R10 ; +0x6c, 0x52f654 MOV R0, R5 ; +0x6e, 0x52f656 BL _ZN7cocos2d7CCPointaSERKS0_; cocos2d::CCPoint::operator=(cocos2d::CCPoint const&) ; +0x70, 0x52f658 LDR R1, =(stru_AC7750 - 0x52F664) ; +0x74, 0x52f65c MOV R0, R5 ; +0x76, 0x52f65e ADD R1, PC; stru_AC7750 ; +0x78, 0x52f660 BL _ZN7cocos2d7CCPointaSERKS0_; cocos2d::CCPoint::operator=(cocos2d::CCPoint const&) ; +0x7a, 0x52f662 LDR R3, [R4] ; +0x7e, 0x52f666 MOV R0, R4 ; +0x80, 0x52f668 MOV R1, R7 ; +0x82, 0x52f66a MOV R2, R8 ; +0x84, 0x52f66c LDR.W R3, [R3,#0x1BC] ; +0x86, 0x52f66e BLX R3 ; +0x8a, 0x52f672 MOV R2, R8 ; +0x8c, 0x52f674 MOV R0, R4 ; +0x8e, 0x52f676 MOV R1, R7 ; +0x90, 0x52f678 BL _ZN12FLAlertLayer12ccTouchBeganEPN7cocos2d7CCTouchEPNS0_7CCEventE; FLAlertLayer::ccTouchBegan(cocos2d::CCTouch *,cocos2d::CCEvent *) ; +0x92, 0x52f67a LDR R2, [SP,#0x38+var_4] ; +0x96, 0x52f67e LDR R3, [R6] ; +0x98, 0x52f680 CMP R2, R3 ; +0x9a, 0x52f682 BEQ loc_52F68A ; +0x9c, 0x52f684 BLX __stack_chk_fail ; +0x9e, 0x52f686 ADD SP, SP, #0x38 ; '8' ; +0xa2, 0x52f68a POP.W {R4-R10,PC} ; +0xa4, 0x52f68c