{"type": "func", "start": 5374782432, "end": 5374782680, "name": "CreateParticlePopup::ccTouchBegan", "pseudocode": "// \n// CreateParticlePopup::ccTouchBegan from 0x1405cabe0 to 0x1405cacd8 (248 bytes)\n// \n// 4 xrefs:\n// > <???> @ 0x1407f8750\n// > <???> @ 0x1408e0b14\n// > <???> @ 0x1408e0b24\n// > <???> @ 0x14092e490\n// \n// This function is hookable on this platform (idp: pc, 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 11:34:52 +0000\n// \n\nchar __fastcall CreateParticlePopup::ccTouchBegan(__int64 a1, __int64 a2, __int64 a3)\n{\n  __int64 v6; // rcx\n  __int64 v7; // rax\n  _BYTE v9[8]; // [rsp+30h] [rbp-38h] BYREF\n  _BYTE v10[48]; // [rsp+38h] [rbp-30h] BYREF\n  char v11; // [rsp+70h] [rbp+8h] BYREF\n  char v12; // [rsp+88h] [rbp+20h] BYREF\n\n  cocos2d::CCTouch::getLocation(a2, &v12);\n  cocos2d::CCNode::convertToNodeSpace(*(_QWORD *)(a1 + 472), &v11, &v12);\n  cocos2d::CCRect::CCRect((cocos2d::CCRect *)v10, 0.0, 0.0, 120.0, 180.0);\n  if ( cocos2d::CCRect::containsPoint((cocos2d::CCRect *)v10, (const struct cocos2d::CCPoint *)&v11) )\n  {\n    v6 = *(_QWORD *)(a1 + 392);\n    *(_DWORD *)(a1 + 408) = *(_DWORD *)(a2 + 56);\n    v7 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v6 + 200LL))(v6);\n    cocos2d::CCPoint::operator-(v7, v9, &v11);\n    cocos2d::CCPoint::operator=(a1 + 412, v9);\n    cocos2d::CCPoint::operator=(a1 + 412, &unk_14090B968);\n    (*(void (__fastcall **)(__int64, __int64, __int64))(*(_QWORD *)a1 + 16LL))(a1, a2, a3);\n  }\n  return FLAlertLayer::ccTouchBegan(a1, a2, a3);\n}", "assembly": "; \n; CreateParticlePopup::ccTouchBegan from 0x1405cabe0 to 0x1405cacd8 (248 bytes)\n; \n; 4 xrefs:\n; > <???> @ 0x1407f8750\n; > <???> @ 0x1408e0b14\n; > <???> @ 0x1408e0b24\n; > <???> @ 0x14092e490\n; \n; This function is hookable on this platform (idp: pc, 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 11:34:52 +0000\n; \npush    rbp                                                            ; +0x0, 0x1405cabe0\npush    rsi                                                            ; +0x2, 0x1405cabe2\npush    rdi                                                            ; +0x3, 0x1405cabe3\nsub     rsp, 50h                                                       ; +0x4, 0x1405cabe4\nmov     rsi, rdx                                                       ; +0x8, 0x1405cabe8\nmov     rdi, rcx                                                       ; +0xb, 0x1405cabeb\nmov     rcx, rsi                                                       ; +0xe, 0x1405cabee\nlea     rdx, [rsp+68h+arg_18]                                          ; +0x11, 0x1405cabf1\nmov     rbp, r8                                                        ; +0x19, 0x1405cabf9\ncall    cs:?getLocation@CCTouch@cocos2d@@QEBA?AVCCPoint@2@XZ; cocos2d::CCTouch::getLocation(void) ; +0x1c, 0x1405cabfc\nmov     rcx, [rdi+1D8h]                                                ; +0x22, 0x1405cac02\nlea     r8, [rsp+68h+arg_18]                                           ; +0x29, 0x1405cac09\nlea     rdx, [rsp+68h+arg_0]                                           ; +0x31, 0x1405cac11\ncall    cs:?convertToNodeSpace@CCNode@cocos2d@@QEAA?AVCCPoint@2@AEBV32@@Z; cocos2d::CCNode::convertToNodeSpace(cocos2d::CCPoint const &) ; +0x36, 0x1405cac16\nmovss   xmm0, cs:dword_1408358B8                                       ; +0x3c, 0x1405cac1c\nlea     rcx, [rsp+68h+var_30]                                          ; +0x44, 0x1405cac24\nmovss   xmm3, cs:dword_1408357F4                                       ; +0x49, 0x1405cac29\nxorps   xmm2, xmm2                                                     ; +0x51, 0x1405cac31\nxorps   xmm1, xmm1                                                     ; +0x54, 0x1405cac34\nmovss   [rsp+68h+var_48], xmm0                                         ; +0x57, 0x1405cac37\ncall    cs:??0CCRect@cocos2d@@QEAA@MMMM@Z; cocos2d::CCRect::CCRect(float,float,float,float) ; +0x5d, 0x1405cac3d\nlea     rdx, [rsp+68h+arg_0]                                           ; +0x63, 0x1405cac43\nlea     rcx, [rsp+68h+var_30]                                          ; +0x68, 0x1405cac48\ncall    cs:?containsPoint@CCRect@cocos2d@@QEBA_NAEBVCCPoint@2@@Z; cocos2d::CCRect::containsPoint(cocos2d::CCPoint const &) ; +0x6d, 0x1405cac4d\ntest    al, al                                                         ; +0x73, 0x1405cac53\njz      short loc_1405CACC2                                            ; +0x75, 0x1405cac55\nmov     eax, [rsi+38h]                                                 ; +0x77, 0x1405cac57\nmov     rcx, [rdi+188h]                                                ; +0x7a, 0x1405cac5a\nmov     [rdi+198h], eax                                                ; +0x81, 0x1405cac61\nmov     [rsp+68h+arg_8], rbx                                           ; +0x87, 0x1405cac67\nmov     rax, [rcx]                                                     ; +0x8c, 0x1405cac6c\ncall    qword ptr [rax+0C8h]                                           ; +0x8f, 0x1405cac6f\nmov     rcx, rax                                                       ; +0x95, 0x1405cac75\nlea     r8, [rsp+68h+arg_0]                                            ; +0x98, 0x1405cac78\nlea     rdx, [rsp+68h+var_38]                                          ; +0x9d, 0x1405cac7d\ncall    cs:??GCCPoint@cocos2d@@QEBA?AV01@AEBV01@@Z; cocos2d::CCPoint::operator-(cocos2d::CCPoint const &) ; +0xa2, 0x1405cac82\nlea     rdx, [rsp+68h+var_38]                                          ; +0xa8, 0x1405cac88\nlea     rcx, [rdi+19Ch]                                                ; +0xad, 0x1405cac8d\ncall    cs:??4CCPoint@cocos2d@@QEAAAEAV01@AEBV01@@Z; cocos2d::CCPoint::operator=(cocos2d::CCPoint const &) ; +0xb4, 0x1405cac94\nlea     rdx, unk_14090B968                                             ; +0xba, 0x1405cac9a\nlea     rcx, [rdi+19Ch]                                                ; +0xc1, 0x1405caca1\ncall    cs:??4CCPoint@cocos2d@@QEAAAEAV01@AEBV01@@Z; cocos2d::CCPoint::operator=(cocos2d::CCPoint const &) ; +0xc8, 0x1405caca8\nmov     rax, [rdi]                                                     ; +0xce, 0x1405cacae\nmov     r8, rbp                                                        ; +0xd1, 0x1405cacb1\nmov     rdx, rsi                                                       ; +0xd4, 0x1405cacb4\nmov     rcx, rdi                                                       ; +0xd7, 0x1405cacb7\ncall    qword ptr [rax+10h]                                            ; +0xda, 0x1405cacba\nmov     rbx, [rsp+68h+arg_8]                                           ; +0xdd, 0x1405cacbd\nmov     r8, rbp                                                        ; +0xe2, 0x1405cacc2\nmov     rdx, rsi                                                       ; +0xe5, 0x1405cacc5\nmov     rcx, rdi                                                       ; +0xe8, 0x1405cacc8\ncall    FLAlertLayer__ccTouchBegan                                     ; +0xeb, 0x1405caccb\nadd     rsp, 50h                                                       ; +0xf0, 0x1405cacd0\npop     rdi                                                            ; +0xf4, 0x1405cacd4\npop     rsi                                                            ; +0xf5, 0x1405cacd5\npop     rbp                                                            ; +0xf6, 0x1405cacd6\nretn                                                                   ; +0xf7, 0x1405cacd7", "xrefs": ["<???> @ 0x1407f8750", "<???> @ 0x1408e0b14", "<???> @ 0x1408e0b24", "<???> @ 0x14092e490"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "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"}