{"type": "func", "start": 6442494416, "end": 6442494599, "name": "cocos2d::extension::CCControlSlider::isTouchInside", "pseudocode": "// \n// cocos2d::extension::CCControlSlider::isTouchInside from 0x18000a9d0 to 0x18000aa87 (183 bytes)\n// \n// 3 xrefs:\n// > <???> @ 0x180025f00\n// > <???> @ 0x18002fdf8\n// > <???> @ 0x180049b88\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\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 + 488LL))(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) + 304LL))(*((_QWORD *)this + 62));\n  v6 = *((_QWORD *)this + 62);\n  v10 = v10 + *v5;\n  v7 = (float *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v6 + 304LL))(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 0x18000a9d0 to 0x18000aa87 (183 bytes)\n; \n; 3 xrefs:\n; > <???> @ 0x180025f00\n; > <???> @ 0x18002fdf8\n; > <???> @ 0x180049b88\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\npush    rbx                                                            ; +0x0, 0x18000a9d0\nsub     rsp, 30h                                                       ; +0x2, 0x18000a9d2\nmov     rax, rdx                                                       ; +0x6, 0x18000a9d6\nmov     rbx, rcx                                                       ; +0x9, 0x18000a9d9\nmov     rcx, rax                                                       ; +0xc, 0x18000a9dc\nlea     rdx, [rsp+38h+arg_0]                                           ; +0xf, 0x18000a9df\ncall    cs:?getLocation@CCTouch@cocos2d@@QEBA?AVCCPoint@2@XZ; cocos2d::CCTouch::getLocation(void) ; +0x14, 0x18000a9e4\nmov     rax, [rbx]                                                     ; +0x1a, 0x18000a9ea\nmov     rcx, rbx                                                       ; +0x1d, 0x18000a9ed\ncall    qword ptr [rax+1E8h]                                           ; +0x20, 0x18000a9f0\nmov     rcx, rax                                                       ; +0x26, 0x18000a9f6\nlea     r8, [rsp+38h+arg_0]                                            ; +0x29, 0x18000a9f9\nlea     rdx, [rsp+38h+arg_10]                                          ; +0x2e, 0x18000a9fe\ncall    cs:?convertToNodeSpace@CCNode@cocos2d@@QEAA?AVCCPoint@2@AEBV32@@Z; cocos2d::CCNode::convertToNodeSpace(cocos2d::CCPoint const &) ; +0x33, 0x18000aa03\nmov     rdx, rax                                                       ; +0x39, 0x18000aa09\nlea     rcx, [rsp+38h+arg_0]                                           ; +0x3c, 0x18000aa0c\ncall    cs:??4CCPoint@cocos2d@@QEAAAEAV01@AEBV01@@Z; cocos2d::CCPoint::operator=(cocos2d::CCPoint const &) ; +0x41, 0x18000aa11\nlea     rdx, [rsp+38h+var_18]                                          ; +0x47, 0x18000aa17\nmov     rcx, rbx                                                       ; +0x4c, 0x18000aa1c\ncall    cs:?boundingBox@CCNode@cocos2d@@QEAA?AVCCRect@2@XZ; cocos2d::CCNode::boundingBox(void) ; +0x4f, 0x18000aa1f\nmov     rcx, [rbx+1F0h]                                                ; +0x55, 0x18000aa25\nmov     rax, [rcx]                                                     ; +0x5c, 0x18000aa2c\ncall    qword ptr [rax+130h]                                           ; +0x5f, 0x18000aa2f\nmovss   xmm0, [rsp+38h+var_10]                                         ; +0x65, 0x18000aa35\nmov     rcx, [rbx+1F0h]                                                ; +0x6b, 0x18000aa3b\naddss   xmm0, dword ptr [rax]                                          ; +0x72, 0x18000aa42\nmovss   [rsp+38h+var_10], xmm0                                         ; +0x76, 0x18000aa46\nmov     rax, [rcx]                                                     ; +0x7c, 0x18000aa4c\ncall    qword ptr [rax+130h]                                           ; +0x7f, 0x18000aa4f\nmovss   xmm0, [rsp+38h+var_18]                                         ; +0x85, 0x18000aa55\nlea     rdx, [rsp+38h+arg_0]                                           ; +0x8b, 0x18000aa5b\nlea     rcx, [rsp+38h+var_18]                                          ; +0x90, 0x18000aa60\nmovss   xmm1, dword ptr [rax]                                          ; +0x95, 0x18000aa65\nmulss   xmm1, cs:dword_180029510                                       ; +0x99, 0x18000aa69\nsubss   xmm0, xmm1                                                     ; +0xa1, 0x18000aa71\nmovss   [rsp+38h+var_18], xmm0                                         ; +0xa5, 0x18000aa75\ncall    cs:?containsPoint@CCRect@cocos2d@@QEBA_NAEBVCCPoint@2@@Z; cocos2d::CCRect::containsPoint(cocos2d::CCPoint const &) ; +0xab, 0x18000aa7b\nadd     rsp, 30h                                                       ; +0xb1, 0x18000aa81\npop     rbx                                                            ; +0xb5, 0x18000aa85\nretn                                                                   ; +0xb6, 0x18000aa86", "xrefs": ["<???> @ 0x180025f00", "<???> @ 0x18002fdf8", "<???> @ 0x180049b88"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}