{"type": "func", "start": 10226344, "end": 10226652, "name": "CreateParticlePopup::ccTouchBegan", "pseudocode": "// \n// CreateParticlePopup::ccTouchBegan from 0x9c0aa8 to 0x9c0bdc (308 bytes)\n// \n// 3 xrefs:\n// > `non-virtual thunk to'CreateParticlePopup::ccTouchBegan @ 0x9c0be8\n// > <???> @ 0x676e0\n// > <???> @ 0x11c8940\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\nbool CreateParticlePopup::ccTouchBegan(CreateParticlePopup *a1, cocos2d::CCTouch *a2, cocos2d::CCEvent *a3)\n{\n  cocos2d::CCParticleSystemQuad *m_particle; // x1\n  __int64 v7; // x0\n  float v8; // s0\n  float v9; // s1\n  float v10; // s0\n  float v11; // s1\n  cocos2d::CCPoint v13; // [xsp+60h] [xbp+60h] BYREF\n  cocos2d::CCPoint v14; // [xsp+68h] [xbp+68h] BYREF\n  __int64 v15; // [xsp+70h] [xbp+70h] BYREF\n  cocos2d::CCRect v16; // [xsp+78h] [xbp+78h] BYREF\n\n  cocos2d::CCTouch::getLocation(a2);\n  cocos2d::CCNode::convertToNodeSpace(a1->m_previewLayer, &v13);\n  cocos2d::CCRect::CCRect(&v16, 0.0, 0.0, 120.0, 180.0);\n  if ( (unsigned __int8)cocos2d::CCRect::containsPoint(&v16, &v14) )\n  {\n    m_particle = a1->m_particle;\n    a1->m_touchID = a2->m_nId;\n    v7 = (__int64)m_particle->getPosition(m_particle);\n    cocos2d::CCPoint::operator-(&v15, v7, &v14);\n    cocos2d::CCPoint::operator=(&a1->m_touchDelta, v8, v9);\n    cocos2d::CCPoint::operator=(&a1->m_touchDelta, v10, v11);\n    a1->ccTouchMoved(a1, a2, a3);\n  }\n  return FLAlertLayer::ccTouchBegan(a1, a2, a3);\n}", "assembly": "; \n; CreateParticlePopup::ccTouchBegan from 0x9c0aa8 to 0x9c0bdc (308 bytes)\n; \n; 3 xrefs:\n; > `non-virtual thunk to'CreateParticlePopup::ccTouchBegan @ 0x9c0be8\n; > <???> @ 0x676e0\n; > <???> @ 0x11c8940\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\nSTP             X29, X30, [SP,#var_90]!                                ; +0x0, 0x9c0aa8\nMOV             X29, SP                                                ; +0x4, 0x9c0aac\nSTP             X19, X20, [SP,#0x90+var_80]                            ; +0x8, 0x9c0ab0\nADRP            X19, #__stack_chk_guard_ptr@PAGE                       ; +0xc, 0x9c0ab4\nSTR             X25, [SP,#0x90+var_50]                                 ; +0x10, 0x9c0ab8\nSTP             X21, X22, [SP,#0x90+var_70]                            ; +0x14, 0x9c0abc\nSTP             X23, X24, [SP,#0x90+var_60]                            ; +0x18, 0x9c0ac0\nLDR             X3, [X19,#__stack_chk_guard_ptr@PAGEOFF]; __stack_chk_guard ; +0x1c, 0x9c0ac4\nMOV             X22, X1                                                ; +0x20, 0x9c0ac8\nMOV             X24, X2                                                ; +0x24, 0x9c0acc\nADD             X1, X29, #0x90+var_30                                  ; +0x28, 0x9c0ad0\nMOV             X8, X1                                                 ; +0x2c, 0x9c0ad4\nMOV             X21, X0                                                ; +0x30, 0x9c0ad8\nLDR             X2, [X3]                                               ; +0x34, 0x9c0adc\nMOV             X0, X22; this                                          ; +0x38, 0x9c0ae0\nSTR             X2, [X29,#0x90+var_8]                                  ; +0x3c, 0x9c0ae4\nADD             X23, X29, #0x90+var_28                                 ; +0x40, 0x9c0ae8\nSTR             X1, [X29,#0x90+var_38]                                 ; +0x44, 0x9c0aec\nADD             X20, X29, #0x90+var_18                                 ; +0x48, 0x9c0af0\nBL              _ZNK7cocos2d7CCTouch11getLocationEv; cocos2d::CCTouch::getLocation(void) ; +0x4c, 0x9c0af4\nLDR             X1, [X29,#0x90+var_38]; cocos2d::CCPoint *             ; +0x50, 0x9c0af8\nMOV             X8, X23                                                ; +0x54, 0x9c0afc\nLDR             X0, [X21,#0x300]; this                                 ; +0x58, 0x9c0b00\nBL              _ZN7cocos2d6CCNode18convertToNodeSpaceERKNS_7CCPointE; cocos2d::CCNode::convertToNodeSpace(cocos2d::CCPoint const&) ; +0x5c, 0x9c0b04\nFMOV            S0, WZR; float                                         ; +0x60, 0x9c0b08\nMOV             X0, X20; this                                          ; +0x64, 0x9c0b0c\nLDR             S2, flt_9C0BDC; float                                  ; +0x68, 0x9c0b10\nLDR             S3, flt_9C0BE0; float                                  ; +0x6c, 0x9c0b14\nFMOV            S1, S0; float                                          ; +0x70, 0x9c0b18\nBL              _ZN7cocos2d6CCRectC2Effff; cocos2d::CCRect::CCRect(float,float,float,float) ; +0x74, 0x9c0b1c\nMOV             X0, X20; this                                          ; +0x78, 0x9c0b20\nMOV             X1, X23; cocos2d::CCPoint *                            ; +0x7c, 0x9c0b24\nBL              _ZNK7cocos2d6CCRect13containsPointERKNS_7CCPointE; cocos2d::CCRect::containsPoint(cocos2d::CCPoint const&) ; +0x80, 0x9c0b28\nUXTB            W0, W0                                                 ; +0x84, 0x9c0b2c\nCBZ             W0, loc_9C0B9C                                         ; +0x88, 0x9c0b30\nLDR             X1, [X21,#0x2B0]                                       ; +0x8c, 0x9c0b34\nADD             X25, X29, #0x90+var_20                                 ; +0x90, 0x9c0b38\nLDR             W0, [X22,#0x38]                                        ; +0x94, 0x9c0b3c\nADD             X20, X21, #0x2C4                                       ; +0x98, 0x9c0b40\nSTR             W0, [X21,#0x2C0]                                       ; +0x9c, 0x9c0b44\nMOV             X0, X1                                                 ; +0xa0, 0x9c0b48\nLDR             X1, [X1]                                               ; +0xa4, 0x9c0b4c\nLDR             X1, [X1,#0xC0]                                         ; +0xa8, 0x9c0b50\nBLR             X1                                                     ; +0xac, 0x9c0b54\nMOV             X8, X25                                                ; +0xb0, 0x9c0b58\nMOV             X1, X23                                                ; +0xb4, 0x9c0b5c\nBL              _ZNK7cocos2d7CCPointmiERKS0_; cocos2d::CCPoint::operator-(cocos2d::CCPoint const&) ; +0xb8, 0x9c0b60\nMOV             X1, X25                                                ; +0xbc, 0x9c0b64\nMOV             X0, X20                                                ; +0xc0, 0x9c0b68\nBL              _ZN7cocos2d7CCPointaSERKS0_; cocos2d::CCPoint::operator=(cocos2d::CCPoint const&) ; +0xc4, 0x9c0b6c\nADRP            X1, #qword_1243D50@PAGE                                ; +0xc8, 0x9c0b70\nMOV             X0, X20                                                ; +0xcc, 0x9c0b74\nADD             X1, X1, #qword_1243D50@PAGEOFF                         ; +0xd0, 0x9c0b78\nADD             X1, X1, #8                                             ; +0xd4, 0x9c0b7c\nBL              _ZN7cocos2d7CCPointaSERKS0_; cocos2d::CCPoint::operator=(cocos2d::CCPoint const&) ; +0xd8, 0x9c0b80\nLDR             X3, [X21]                                              ; +0xdc, 0x9c0b84\nMOV             X0, X21                                                ; +0xe0, 0x9c0b88\nMOV             X1, X22                                                ; +0xe4, 0x9c0b8c\nMOV             X2, X24                                                ; +0xe8, 0x9c0b90\nLDR             X3, [X3,#0x378]                                        ; +0xec, 0x9c0b94\nBLR             X3                                                     ; +0xf0, 0x9c0b98\nMOV             X1, X22                                                ; +0xf4, 0x9c0b9c\nMOV             X2, X24                                                ; +0xf8, 0x9c0ba0\nMOV             X0, X21                                                ; +0xfc, 0x9c0ba4\nBL              _ZN12FLAlertLayer12ccTouchBeganEPN7cocos2d7CCTouchEPNS0_7CCEventE; FLAlertLayer::ccTouchBegan(cocos2d::CCTouch *,cocos2d::CCEvent *) ; +0x100, 0x9c0ba8\nLDR             X19, [X19,#__stack_chk_guard_ptr@PAGEOFF]; __stack_chk_guard ; +0x104, 0x9c0bac\nLDR             X2, [X29,#0x90+var_8]                                  ; +0x108, 0x9c0bb0\nLDR             X1, [X19]                                              ; +0x10c, 0x9c0bb4\nCMP             X2, X1                                                 ; +0x110, 0x9c0bb8\nB.NE            loc_9C0BD8                                             ; +0x114, 0x9c0bbc\nLDP             X19, X20, [SP,#0x90+var_80]                            ; +0x118, 0x9c0bc0\nLDP             X21, X22, [SP,#0x90+var_70]                            ; +0x11c, 0x9c0bc4\nLDP             X23, X24, [SP,#0x90+var_60]                            ; +0x120, 0x9c0bc8\nLDR             X25, [SP,#0x90+var_50]                                 ; +0x124, 0x9c0bcc\nLDP             X29, X30, [SP+0x90+var_90],#0x90                       ; +0x128, 0x9c0bd0\nRET                                                                    ; +0x12c, 0x9c0bd4\nBL              .__stack_chk_fail                                      ; +0x130, 0x9c0bd8", "xrefs": ["`non-virtual thunk to'CreateParticlePopup::ccTouchBegan @ 0x9c0be8", "<???> @ 0x676e0", "<???> @ 0x11c8940"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}