{"type": "func", "start": 11520144, "end": 11520452, "name": "CreateParticlePopup::ccTouchBegan", "pseudocode": "// \n// CreateParticlePopup::ccTouchBegan from 0xafc890 to 0xafc9c4 (308 bytes)\n// \n// 3 xrefs:\n// > `non-virtual thunk to'CreateParticlePopup::ccTouchBegan @ 0xafc9d0\n// > <???> @ 0x8c548\n// > <???> @ 0x14b0160\n// \n// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 13:01:18 +0000\n// \n\n__int64 __fastcall CreateParticlePopup::ccTouchBegan(__int64 a1, cocos2d::CCTouch *this, __int64 a3)\n{\n  __int64 v6; // x1\n  __int64 v7; // x0\n  long double v8; // q0\n  long double v9; // q0\n  __int64 v11; // [xsp+60h] [xbp+60h] BYREF\n  __int64 v12; // [xsp+68h] [xbp+68h] BYREF\n  __int64 v13; // [xsp+70h] [xbp+70h] BYREF\n  _BYTE v14[16]; // [xsp+78h] [xbp+78h] BYREF\n\n  cocos2d::CCTouch::getLocation(&v11, this);\n  cocos2d::CCNode::convertToNodeSpace(&v12, *(cocos2d::CCNode **)(a1 + 792), (const cocos2d::CCPoint *)&v11);\n  cocos2d::CCRect::CCRect((cocos2d::CCRect *)v14, 0.0, 0.0, 120.0, 180.0);\n  if ( (unsigned __int8)cocos2d::CCRect::containsPoint((cocos2d::CCRect *)v14, (const cocos2d::CCPoint *)&v12) )\n  {\n    v6 = *(_QWORD *)(a1 + 712);\n    *(_DWORD *)(a1 + 728) = *((_DWORD *)this + 14);\n    v7 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v6 + 192LL))(v6);\n    cocos2d::CCPoint::operator-(&v13, v7, &v12, v8);\n    cocos2d::CCPoint::operator=(a1 + 732, &v13);\n    *(__n128 *)&v9 = cocos2d::CCPoint::operator=(a1 + 732, &unk_155E048);\n    (*(void (__fastcall **)(__int64, cocos2d::CCTouch *, __int64, long double))(*(_QWORD *)a1 + 904LL))(\n      a1,\n      this,\n      a3,\n      v9);\n  }\n  return FLAlertLayer::ccTouchBegan(a1, (__int64)this, a3);\n}", "assembly": "; \n; CreateParticlePopup::ccTouchBegan from 0xafc890 to 0xafc9c4 (308 bytes)\n; \n; 3 xrefs:\n; > `non-virtual thunk to'CreateParticlePopup::ccTouchBegan @ 0xafc9d0\n; > <???> @ 0x8c548\n; > <???> @ 0x14b0160\n; \n; This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 13:01:18 +0000\n; \nSTP             X29, X30, [SP,#var_90]!                                ; +0x0, 0xafc890\nMOV             X29, SP                                                ; +0x4, 0xafc894\nSTP             X19, X20, [SP,#0x90+var_80]                            ; +0x8, 0xafc898\nADRP            X19, #__stack_chk_guard_ptr@PAGE                       ; +0xc, 0xafc89c\nSTR             X25, [SP,#0x90+var_50]                                 ; +0x10, 0xafc8a0\nSTP             X21, X22, [SP,#0x90+var_70]                            ; +0x14, 0xafc8a4\nSTP             X23, X24, [SP,#0x90+var_60]                            ; +0x18, 0xafc8a8\nLDR             X3, [X19,#__stack_chk_guard_ptr@PAGEOFF]; __stack_chk_guard ; +0x1c, 0xafc8ac\nMOV             X22, X1                                                ; +0x20, 0xafc8b0\nMOV             X24, X2                                                ; +0x24, 0xafc8b4\nADD             X1, X29, #0x90+var_30                                  ; +0x28, 0xafc8b8\nMOV             X8, X1                                                 ; +0x2c, 0xafc8bc\nMOV             X21, X0                                                ; +0x30, 0xafc8c0\nLDR             X2, [X3]                                               ; +0x34, 0xafc8c4\nMOV             X0, X22; this                                          ; +0x38, 0xafc8c8\nSTR             X2, [X29,#0x90+var_8]                                  ; +0x3c, 0xafc8cc\nADD             X23, X29, #0x90+var_28                                 ; +0x40, 0xafc8d0\nSTR             X1, [X29,#0x90+var_38]                                 ; +0x44, 0xafc8d4\nADD             X20, X29, #0x90+var_18                                 ; +0x48, 0xafc8d8\nBL              _ZNK7cocos2d7CCTouch11getLocationEv; cocos2d::CCTouch::getLocation(void) ; +0x4c, 0xafc8dc\nLDR             X1, [X29,#0x90+var_38]; cocos2d::CCPoint *             ; +0x50, 0xafc8e0\nMOV             X8, X23                                                ; +0x54, 0xafc8e4\nLDR             X0, [X21,#0x318]; this                                 ; +0x58, 0xafc8e8\nBL              _ZN7cocos2d6CCNode18convertToNodeSpaceERKNS_7CCPointE; cocos2d::CCNode::convertToNodeSpace(cocos2d::CCPoint const&) ; +0x5c, 0xafc8ec\nFMOV            S0, WZR; float                                         ; +0x60, 0xafc8f0\nMOV             X0, X20; this                                          ; +0x64, 0xafc8f4\nLDR             S2, flt_AFC9C4; float                                  ; +0x68, 0xafc8f8\nLDR             S3, flt_AFC9C8; float                                  ; +0x6c, 0xafc8fc\nFMOV            S1, S0; float                                          ; +0x70, 0xafc900\nBL              _ZN7cocos2d6CCRectC2Effff; cocos2d::CCRect::CCRect(float,float,float,float) ; +0x74, 0xafc904\nMOV             X0, X20; this                                          ; +0x78, 0xafc908\nMOV             X1, X23; cocos2d::CCPoint *                            ; +0x7c, 0xafc90c\nBL              _ZNK7cocos2d6CCRect13containsPointERKNS_7CCPointE; cocos2d::CCRect::containsPoint(cocos2d::CCPoint const&) ; +0x80, 0xafc910\nUXTB            W0, W0                                                 ; +0x84, 0xafc914\nCBZ             W0, loc_AFC984                                         ; +0x88, 0xafc918\nLDR             X1, [X21,#0x2C8]                                       ; +0x8c, 0xafc91c\nADD             X25, X29, #0x90+var_20                                 ; +0x90, 0xafc920\nLDR             W0, [X22,#0x38]                                        ; +0x94, 0xafc924\nADD             X20, X21, #0x2DC                                       ; +0x98, 0xafc928\nSTR             W0, [X21,#0x2D8]                                       ; +0x9c, 0xafc92c\nMOV             X0, X1                                                 ; +0xa0, 0xafc930\nLDR             X1, [X1]                                               ; +0xa4, 0xafc934\nLDR             X1, [X1,#0xC0]                                         ; +0xa8, 0xafc938\nBLR             X1                                                     ; +0xac, 0xafc93c\nMOV             X8, X25                                                ; +0xb0, 0xafc940\nMOV             X1, X23                                                ; +0xb4, 0xafc944\nBL              _ZNK7cocos2d7CCPointmiERKS0_; cocos2d::CCPoint::operator-(cocos2d::CCPoint const&) ; +0xb8, 0xafc948\nMOV             X1, X25                                                ; +0xbc, 0xafc94c\nMOV             X0, X20                                                ; +0xc0, 0xafc950\nBL              _ZN7cocos2d7CCPointaSERKS0_; cocos2d::CCPoint::operator=(cocos2d::CCPoint const&) ; +0xc4, 0xafc954\nADRP            X1, #qword_155E040@PAGE                                ; +0xc8, 0xafc958\nMOV             X0, X20                                                ; +0xcc, 0xafc95c\nADD             X1, X1, #qword_155E040@PAGEOFF                         ; +0xd0, 0xafc960\nADD             X1, X1, #8                                             ; +0xd4, 0xafc964\nBL              _ZN7cocos2d7CCPointaSERKS0_; cocos2d::CCPoint::operator=(cocos2d::CCPoint const&) ; +0xd8, 0xafc968\nLDR             X3, [X21]                                              ; +0xdc, 0xafc96c\nMOV             X0, X21                                                ; +0xe0, 0xafc970\nMOV             X1, X22                                                ; +0xe4, 0xafc974\nMOV             X2, X24                                                ; +0xe8, 0xafc978\nLDR             X3, [X3,#0x388]                                        ; +0xec, 0xafc97c\nBLR             X3                                                     ; +0xf0, 0xafc980\nMOV             X1, X22                                                ; +0xf4, 0xafc984\nMOV             X2, X24                                                ; +0xf8, 0xafc988\nMOV             X0, X21                                                ; +0xfc, 0xafc98c\nBL              _ZN12FLAlertLayer12ccTouchBeganEPN7cocos2d7CCTouchEPNS0_7CCEventE; FLAlertLayer::ccTouchBegan(cocos2d::CCTouch *,cocos2d::CCEvent *) ; +0x100, 0xafc990\nLDR             X19, [X19,#__stack_chk_guard_ptr@PAGEOFF]; __stack_chk_guard ; +0x104, 0xafc994\nLDR             X2, [X29,#0x90+var_8]                                  ; +0x108, 0xafc998\nLDR             X1, [X19]                                              ; +0x10c, 0xafc99c\nCMP             X2, X1                                                 ; +0x110, 0xafc9a0\nB.NE            loc_AFC9C0                                             ; +0x114, 0xafc9a4\nLDP             X19, X20, [SP,#0x90+var_80]                            ; +0x118, 0xafc9a8\nLDP             X21, X22, [SP,#0x90+var_70]                            ; +0x11c, 0xafc9ac\nLDP             X23, X24, [SP,#0x90+var_60]                            ; +0x120, 0xafc9b0\nLDR             X25, [SP,#0x90+var_50]                                 ; +0x124, 0xafc9b4\nLDP             X29, X30, [SP+0x90+var_90],#0x90                       ; +0x128, 0xafc9b8\nRET                                                                    ; +0x12c, 0xafc9bc\nBL              .__stack_chk_fail                                      ; +0x130, 0xafc9c0", "xrefs": ["`non-virtual thunk to'CreateParticlePopup::ccTouchBegan @ 0xafc9d0", "<???> @ 0x8c548", "<???> @ 0x14b0160"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "arm", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}