{"type": "func", "start": 4299601936, "end": 4299602171, "name": "CreateParticlePopup::ccTouchBegan", "pseudocode": "// \n// CreateParticlePopup::ccTouchBegan from 0x10046b810 to 0x10046b8fb (235 bytes)\n// \n// 2 xrefs:\n// > sub_10046B900 @ 0x10046b90c\n// > <???> @ 0x100b44470\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 12:30:31 +0000\n// \n\n__int64 __fastcall CreateParticlePopup::ccTouchBegan(__int64 a1, __int64 a2, __int64 a3)\n{\n  unsigned __int64 *v4; // rax\n  float v6[4]; // [rsp+0h] [rbp-50h] BYREF\n  unsigned int v7; // [rsp+10h] [rbp-40h] BYREF\n  __int64 v8; // [rsp+18h] [rbp-38h] BYREF\n  unsigned __int64 v9[6]; // [rsp+20h] [rbp-30h] BYREF\n\n  cocos2d::CCTouch::getLocation((__int64)&v7, a2);\n  cocos2d::CCNode::convertToNodeSpace((double *)v9, *(_QWORD *)(a1 + 792), &v7);\n  sub_100278270((__int64)v6, 0.0, 0.0, (__m128)0x42F00000u, (__m128)0x43340000u);\n  if ( sub_100278940(v6, (float *)v9) )\n  {\n    *(_DWORD *)(a1 + 728) = *(_DWORD *)(a2 + 56);\n    v4 = (unsigned __int64 *)(*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 712) + 192LL))(*(_QWORD *)(a1 + 712));\n    sub_100278370((double *)&v8, v4, v9);\n    sub_100278300((_QWORD *)(a1 + 732), &v8);\n    sub_100278300((_QWORD *)(a1 + 732), &qword_100BE3C30);\n    (*(void (__fastcall **)(__int64, __int64, __int64))(*(_QWORD *)a1 + 904LL))(a1, a2, a3);\n  }\n  return FLAlertLayer::ccTouchBegan(a1);\n}", "assembly": "; \n; CreateParticlePopup::ccTouchBegan from 0x10046b810 to 0x10046b8fb (235 bytes)\n; \n; 2 xrefs:\n; > sub_10046B900 @ 0x10046b90c\n; > <???> @ 0x100b44470\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 12:30:31 +0000\n; \npush    rbp                                                            ; +0x0, 0x10046b810\nmov     rbp, rsp                                                       ; +0x1, 0x10046b811\npush    r15                                                            ; +0x4, 0x10046b814\npush    r14                                                            ; +0x6, 0x10046b816\npush    r13                                                            ; +0x8, 0x10046b818\npush    r12                                                            ; +0xa, 0x10046b81a\npush    rbx                                                            ; +0xc, 0x10046b81c\nsub     rsp, 28h                                                       ; +0xd, 0x10046b81d\nmov     rbx, rdx                                                       ; +0x11, 0x10046b821\nmov     r14, rsi                                                       ; +0x14, 0x10046b824\nmov     r15, rdi                                                       ; +0x17, 0x10046b827\nlea     r12, [rbp+var_40]                                              ; +0x1a, 0x10046b82a\nmov     rdi, r12                                                       ; +0x1e, 0x10046b82e\ncall    cocos2d__CCTouch__getLocation                                  ; +0x21, 0x10046b831\nmov     rsi, [r15+318h]                                                ; +0x26, 0x10046b836\nlea     r13, [rbp+var_30]                                              ; +0x2d, 0x10046b83d\nmov     rdi, r13                                                       ; +0x31, 0x10046b841\nmov     rdx, r12                                                       ; +0x34, 0x10046b844\ncall    cocos2d__CCNode__convertToNodeSpace                            ; +0x37, 0x10046b847\nlea     r12, [rbp+var_50]                                              ; +0x3c, 0x10046b84c\nmovss   xmm2, cs:dword_100A035B0                                       ; +0x40, 0x10046b850\nmovss   xmm3, cs:dword_100A03A84                                       ; +0x48, 0x10046b858\nxorps   xmm0, xmm0                                                     ; +0x50, 0x10046b860\nxorps   xmm1, xmm1                                                     ; +0x53, 0x10046b863\nmov     rdi, r12                                                       ; +0x56, 0x10046b866\ncall    sub_100278270                                                  ; +0x59, 0x10046b869\nmov     rdi, r12                                                       ; +0x5e, 0x10046b86e\nmov     rsi, r13                                                       ; +0x61, 0x10046b871\ncall    sub_100278940                                                  ; +0x64, 0x10046b874\ntest    al, al                                                         ; +0x69, 0x10046b879\njz      short loc_10046B8DE                                            ; +0x6b, 0x10046b87b\nmov     eax, [r14+38h]                                                 ; +0x6d, 0x10046b87d\nmov     [r15+2D8h], eax                                                ; +0x71, 0x10046b881\nmov     rdi, [r15+2C8h]                                                ; +0x78, 0x10046b888\nmov     rax, [rdi]                                                     ; +0x7f, 0x10046b88f\ncall    qword ptr [rax+0C0h]                                           ; +0x82, 0x10046b892\nlea     r12, [rbp+var_38]                                              ; +0x88, 0x10046b898\nlea     rdx, [rbp+var_30]                                              ; +0x8c, 0x10046b89c\nmov     rdi, r12                                                       ; +0x90, 0x10046b8a0\nmov     rsi, rax                                                       ; +0x93, 0x10046b8a3\ncall    sub_100278370                                                  ; +0x96, 0x10046b8a6\nlea     r13, [r15+2DCh]                                                ; +0x9b, 0x10046b8ab\nmov     rdi, r13                                                       ; +0xa2, 0x10046b8b2\nmov     rsi, r12                                                       ; +0xa5, 0x10046b8b5\ncall    sub_100278300                                                  ; +0xa8, 0x10046b8b8\nlea     rsi, qword_100BE3C30                                           ; +0xad, 0x10046b8bd\nmov     rdi, r13                                                       ; +0xb4, 0x10046b8c4\ncall    sub_100278300                                                  ; +0xb7, 0x10046b8c7\nmov     rax, [r15]                                                     ; +0xbc, 0x10046b8cc\nmov     rdi, r15                                                       ; +0xbf, 0x10046b8cf\nmov     rsi, r14                                                       ; +0xc2, 0x10046b8d2\nmov     rdx, rbx                                                       ; +0xc5, 0x10046b8d5\ncall    qword ptr [rax+388h]                                           ; +0xc8, 0x10046b8d8\nmov     rdi, r15                                                       ; +0xce, 0x10046b8de\nmov     rsi, r14                                                       ; +0xd1, 0x10046b8e1\nmov     rdx, rbx                                                       ; +0xd4, 0x10046b8e4\ncall    FLAlertLayer__ccTouchBegan                                     ; +0xd7, 0x10046b8e7\nadd     rsp, 28h                                                       ; +0xdc, 0x10046b8ec\npop     rbx                                                            ; +0xe0, 0x10046b8f0\npop     r12                                                            ; +0xe1, 0x10046b8f1\npop     r13                                                            ; +0xe3, 0x10046b8f3\npop     r14                                                            ; +0xe5, 0x10046b8f5\npop     r15                                                            ; +0xe7, 0x10046b8f7\npop     rbp                                                            ; +0xe9, 0x10046b8f9\nretn                                                                   ; +0xea, 0x10046b8fa", "xrefs": ["sub_10046B900 @ 0x10046b90c", "<???> @ 0x100b44470"], "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"}