{"type": "func", "start": 6442493008, "end": 6442493191, "name": "cocos2d::extension::CCControlSlider::isTouchInside", "pseudocode": "// \n// cocos2d::extension::CCControlSlider::isTouchInside from 0x18000a450 to 0x18000a507 (183 bytes)\n// \n// 3 xrefs:\n// > <???> @ 0x1800284e8\n// > <???> @ 0x180032408\n// > <???> @ 0x18004ba68\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:15:37 +0000\n// \n\nbool __fastcall cocos2d::extension::CCControlSlider::isTouchInside(\n        cocos2d::extension::CCControlSlider *this,\n        struct cocos2d::CCTouch *a2)\n{\n  __int64 v3; // rax\n  __int64 v4; // rax\n  float *v5; // rax\n  __int64 v6; // rcx\n  float *v7; // rax\n  float v9; // [rsp+20h] [rbp-18h] BYREF\n  float v10; // [rsp+28h] [rbp-10h]\n  char v11; // [rsp+40h] [rbp+8h] BYREF\n  char v12; // [rsp+50h] [rbp+18h] BYREF\n\n  cocos2d::CCTouch::getLocation(a2);\n  v3 = (*(__int64 (__fastcall **)(cocos2d::extension::CCControlSlider *))(*(_QWORD *)this + 504LL))(this);\n  v4 = cocos2d::CCNode::convertToNodeSpace(v3, &v12, &v11);\n  cocos2d::CCPoint::operator=(&v11, v4);\n  cocos2d::CCNode::boundingBox(this, &v9);\n  v5 = (float *)(*(__int64 (__fastcall **)(_QWORD))(**((_QWORD **)this + 62) + 320LL))(*((_QWORD *)this + 62));\n  v6 = *((_QWORD *)this + 62);\n  v10 = v10 + *v5;\n  v7 = (float *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v6 + 320LL))(v6);\n  v9 = v9 - (float)(*v7 * 0.5);\n  return cocos2d::CCRect::containsPoint((cocos2d::CCRect *)&v9, (const struct cocos2d::CCPoint *)&v11);\n}", "assembly": "; \n; cocos2d::extension::CCControlSlider::isTouchInside from 0x18000a450 to 0x18000a507 (183 bytes)\n; \n; 3 xrefs:\n; > <???> @ 0x1800284e8\n; > <???> @ 0x180032408\n; > <???> @ 0x18004ba68\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:15:37 +0000\n; \npush    rbx                                                            ; +0x0, 0x18000a450\nsub     rsp, 30h                                                       ; +0x2, 0x18000a452\nmov     rax, rdx                                                       ; +0x6, 0x18000a456\nmov     rbx, rcx                                                       ; +0x9, 0x18000a459\nmov     rcx, rax                                                       ; +0xc, 0x18000a45c\nlea     rdx, [rsp+38h+arg_0]                                           ; +0xf, 0x18000a45f\ncall    cs:?getLocation@CCTouch@cocos2d@@QEBA?AVCCPoint@2@XZ; cocos2d::CCTouch::getLocation(void) ; +0x14, 0x18000a464\nmov     rax, [rbx]                                                     ; +0x1a, 0x18000a46a\nmov     rcx, rbx                                                       ; +0x1d, 0x18000a46d\ncall    qword ptr [rax+1F8h]                                           ; +0x20, 0x18000a470\nmov     rcx, rax                                                       ; +0x26, 0x18000a476\nlea     r8, [rsp+38h+arg_0]                                            ; +0x29, 0x18000a479\nlea     rdx, [rsp+38h+arg_10]                                          ; +0x2e, 0x18000a47e\ncall    cs:?convertToNodeSpace@CCNode@cocos2d@@QEAA?AVCCPoint@2@AEBV32@@Z; cocos2d::CCNode::convertToNodeSpace(cocos2d::CCPoint const &) ; +0x33, 0x18000a483\nmov     rdx, rax                                                       ; +0x39, 0x18000a489\nlea     rcx, [rsp+38h+arg_0]                                           ; +0x3c, 0x18000a48c\ncall    cs:??4CCPoint@cocos2d@@QEAAAEAV01@AEBV01@@Z; cocos2d::CCPoint::operator=(cocos2d::CCPoint const &) ; +0x41, 0x18000a491\nlea     rdx, [rsp+38h+var_18]                                          ; +0x47, 0x18000a497\nmov     rcx, rbx                                                       ; +0x4c, 0x18000a49c\ncall    cs:?boundingBox@CCNode@cocos2d@@QEAA?AVCCRect@2@XZ; cocos2d::CCNode::boundingBox(void) ; +0x4f, 0x18000a49f\nmov     rcx, [rbx+1F0h]                                                ; +0x55, 0x18000a4a5\nmov     rax, [rcx]                                                     ; +0x5c, 0x18000a4ac\ncall    qword ptr [rax+140h]                                           ; +0x5f, 0x18000a4af\nmovss   xmm0, [rsp+38h+var_10]                                         ; +0x65, 0x18000a4b5\nmov     rcx, [rbx+1F0h]                                                ; +0x6b, 0x18000a4bb\naddss   xmm0, dword ptr [rax]                                          ; +0x72, 0x18000a4c2\nmovss   [rsp+38h+var_10], xmm0                                         ; +0x76, 0x18000a4c6\nmov     rax, [rcx]                                                     ; +0x7c, 0x18000a4cc\ncall    qword ptr [rax+140h]                                           ; +0x7f, 0x18000a4cf\nmovss   xmm0, [rsp+38h+var_18]                                         ; +0x85, 0x18000a4d5\nlea     rdx, [rsp+38h+arg_0]                                           ; +0x8b, 0x18000a4db\nlea     rcx, [rsp+38h+var_18]                                          ; +0x90, 0x18000a4e0\nmovss   xmm1, dword ptr [rax]                                          ; +0x95, 0x18000a4e5\nmulss   xmm1, cs:dword_18002BBD8                                       ; +0x99, 0x18000a4e9\nsubss   xmm0, xmm1                                                     ; +0xa1, 0x18000a4f1\nmovss   [rsp+38h+var_18], xmm0                                         ; +0xa5, 0x18000a4f5\ncall    cs:?containsPoint@CCRect@cocos2d@@QEBA_NAEBVCCPoint@2@@Z; cocos2d::CCRect::containsPoint(cocos2d::CCPoint const &) ; +0xab, 0x18000a4fb\nadd     rsp, 30h                                                       ; +0xb1, 0x18000a501\npop     rbx                                                            ; +0xb5, 0x18000a505\nretn                                                                   ; +0xb6, 0x18000a506", "xrefs": ["<???> @ 0x1800284e8", "<???> @ 0x180032408", "<???> @ 0x18004ba68"], "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"}