{"type": "func", "start": 4304369440, "end": 4304369626, "name": "EditorSoundConfigInfoLayer::ccTouchBegan", "pseudocode": "// \n// EditorSoundConfigInfoLayer::ccTouchBegan from 0x1008f7720 to 0x1008f77da (186 bytes)\n// \n// 2 xrefs:\n// > sub_1008F77E0 @ 0x1008f77ec\n// > <???> @ 0x100bb5e18\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:37:58 +0000\n// \n\n__int64 __fastcall EditorSoundConfigInfoLayer::ccTouchBegan(__int64 a1, __int64 a2)\n{\n  float v3[4]; // [rsp+0h] [rbp-50h] BYREF\n  float v4; // [rsp+10h] [rbp-40h] BYREF\n  double v5; // [rsp+18h] [rbp-38h] BYREF\n  __int64 v6; // [rsp+20h] [rbp-30h] BYREF\n\n  if ( *(_QWORD *)(a1 + 1240) )\n  {\n    cocos2d::CCTouch::getLocation((__int64)&v4, a2);\n    cocos2d::CCNode::convertToWorldSpace(&v5, *(_QWORD *)(a1 + 1240), (unsigned int *)&unk_100BE71C8);\n    sub_100278630(&v6, (_QWORD *)(*(_QWORD *)(a1 + 1240) + 424LL));\n    sub_100278270((__int64)v3, *(float *)&v5, *((float *)&v5 + 1), (__m128)(unsigned int)v6, (__m128)HIDWORD(v6));\n    if ( sub_100278940(v3, &v4) )\n      ScrollableContentLayer::handleTouchBegan(*(_QWORD *)(a1 + 1240), a2);\n  }\n  return SetupTriggerPopup::ccTouchBegan();\n}", "assembly": "; \n; EditorSoundConfigInfoLayer::ccTouchBegan from 0x1008f7720 to 0x1008f77da (186 bytes)\n; \n; 2 xrefs:\n; > sub_1008F77E0 @ 0x1008f77ec\n; > <???> @ 0x100bb5e18\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:37:58 +0000\n; \npush    rbp                                                            ; +0x0, 0x1008f7720\nmov     rbp, rsp                                                       ; +0x1, 0x1008f7721\npush    r15                                                            ; +0x4, 0x1008f7724\npush    r14                                                            ; +0x6, 0x1008f7726\npush    r13                                                            ; +0x8, 0x1008f7728\npush    r12                                                            ; +0xa, 0x1008f772a\npush    rbx                                                            ; +0xc, 0x1008f772c\nsub     rsp, 28h                                                       ; +0xd, 0x1008f772d\nmov     rbx, rsi                                                       ; +0x11, 0x1008f7731\nmov     r14, rdi                                                       ; +0x14, 0x1008f7734\ncmp     qword ptr [rdi+4D8h], 0                                        ; +0x17, 0x1008f7737\njz      short loc_1008F77C0                                            ; +0x1f, 0x1008f773f\nmov     r13, rdx                                                       ; +0x21, 0x1008f7741\nlea     r15, [rbp+var_40]                                              ; +0x24, 0x1008f7744\nmov     rdi, r15                                                       ; +0x28, 0x1008f7748\nmov     rsi, rbx                                                       ; +0x2b, 0x1008f774b\ncall    cocos2d__CCTouch__getLocation                                  ; +0x2e, 0x1008f774e\nmov     rsi, [r14+4D8h]                                                ; +0x33, 0x1008f7753\nlea     rdx, unk_100BE71C8                                             ; +0x3a, 0x1008f775a\nlea     rdi, [rbp+var_38]                                              ; +0x41, 0x1008f7761\ncall    cocos2d__CCNode__convertToWorldSpace                           ; +0x45, 0x1008f7765\nmov     esi, 1A8h                                                      ; +0x4a, 0x1008f776a\nadd     rsi, [r14+4D8h]                                                ; +0x4f, 0x1008f776f\nlea     rdi, [rbp+var_30]                                              ; +0x56, 0x1008f7776\ncall    sub_100278630                                                  ; +0x5a, 0x1008f777a\nmovss   xmm0, [rbp+var_38]                                             ; +0x5f, 0x1008f777f\nmovss   xmm1, [rbp+var_34]                                             ; +0x64, 0x1008f7784\nmovss   xmm2, [rbp+var_30]                                             ; +0x69, 0x1008f7789\nmovss   xmm3, [rbp+var_2C]                                             ; +0x6e, 0x1008f778e\nlea     r12, [rbp+var_50]                                              ; +0x73, 0x1008f7793\nmov     rdi, r12                                                       ; +0x77, 0x1008f7797\ncall    sub_100278270                                                  ; +0x7a, 0x1008f779a\nmov     rdi, r12                                                       ; +0x7f, 0x1008f779f\nmov     rsi, r15                                                       ; +0x82, 0x1008f77a2\ncall    sub_100278940                                                  ; +0x85, 0x1008f77a5\ntest    al, al                                                         ; +0x8a, 0x1008f77aa\njz      short loc_1008F77BD                                            ; +0x8c, 0x1008f77ac\nmov     rdi, [r14+4D8h]                                                ; +0x8e, 0x1008f77ae\nmov     rsi, rbx                                                       ; +0x95, 0x1008f77b5\ncall    ScrollableContentLayer__handleTouchBegan                       ; +0x98, 0x1008f77b8\nmov     rdx, r13                                                       ; +0x9d, 0x1008f77bd\nmov     rdi, r14                                                       ; +0xa0, 0x1008f77c0\nmov     rsi, rbx                                                       ; +0xa3, 0x1008f77c3\ncall    SetupTriggerPopup__ccTouchBegan                                ; +0xa6, 0x1008f77c6\nadd     rsp, 28h                                                       ; +0xab, 0x1008f77cb\npop     rbx                                                            ; +0xaf, 0x1008f77cf\npop     r12                                                            ; +0xb0, 0x1008f77d0\npop     r13                                                            ; +0xb2, 0x1008f77d2\npop     r14                                                            ; +0xb4, 0x1008f77d4\npop     r15                                                            ; +0xb6, 0x1008f77d6\npop     rbp                                                            ; +0xb8, 0x1008f77d8\nretn                                                                   ; +0xb9, 0x1008f77d9", "xrefs": ["sub_1008F77E0 @ 0x1008f77ec", "<???> @ 0x100bb5e18"], "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"}