{"type": "func", "start": 5369019424, "end": 5369019618, "name": "CCScrollLayerExt::touchInsideClip", "pseudocode": "// \n// CCScrollLayerExt::touchInsideClip from 0x14004bc20 to 0x14004bce2 (194 bytes)\n// \n// 3 xrefs:\n// > <???> @ 0x14070b118\n// > <???> @ 0x140714ad0\n// > <???> @ 0x14090feb4\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:25:33 +0000\n// \n\nbool __fastcall CCScrollLayerExt::touchInsideClip(__int64 a1, const struct cocos2d::CCPoint *a2)\n{\n  __int64 v2; // rbx\n  cocos2d::CCRect *v5; // rdi\n  __int64 v6; // rax\n  __int64 v7; // rax\n  __int64 v8; // rax\n  _BYTE v9[16]; // [rsp+20h] [rbp-38h] BYREF\n  _BYTE v10[16]; // [rsp+30h] [rbp-28h] BYREF\n  char v11; // [rsp+60h] [rbp+8h] BYREF\n  char v12; // [rsp+70h] [rbp+18h] BYREF\n  char v13; // [rsp+78h] [rbp+20h] BYREF\n\n  v2 = a1 - 408;\n  if ( !*(_BYTE *)(a1 + 80) )\n    return 1;\n  v5 = CCScrollLayerExt::scissorRect(a1 - 408, (cocos2d::CCRect *)v10);\n  v6 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v2 + 200LL))(v2);\n  cocos2d::CCPoint::operator+(v6, &v11, v5);\n  v7 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v2 + 504LL))(v2);\n  if ( v7 )\n    v8 = cocos2d::CCNode::convertToWorldSpace(v7, &v12, &v11);\n  else\n    v8 = cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v13, (const struct cocos2d::CCPoint *)&v11);\n  cocos2d::CCPoint::operator=(v5, v8);\n  cocos2d::CCRect::CCRect((cocos2d::CCRect *)v9, v5);\n  return cocos2d::CCRect::containsPoint((cocos2d::CCRect *)v9, a2);\n}", "assembly": "; \n; CCScrollLayerExt::touchInsideClip from 0x14004bc20 to 0x14004bce2 (194 bytes)\n; \n; 3 xrefs:\n; > <???> @ 0x14070b118\n; > <???> @ 0x140714ad0\n; > <???> @ 0x14090feb4\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:25:33 +0000\n; \npush    rbx                                                            ; +0x0, 0x14004bc20\npush    rsi                                                            ; +0x2, 0x14004bc22\nsub     rsp, 48h                                                       ; +0x3, 0x14004bc23\ncmp     byte ptr [rcx+50h], 0                                          ; +0x7, 0x14004bc27\nlea     rbx, [rcx-198h]                                                ; +0xb, 0x14004bc2b\nmov     rsi, rdx                                                       ; +0x12, 0x14004bc32\njnz     short loc_14004BC40                                            ; +0x15, 0x14004bc35\nmov     al, 1                                                          ; +0x17, 0x14004bc37\nadd     rsp, 48h                                                       ; +0x19, 0x14004bc39\npop     rsi                                                            ; +0x1d, 0x14004bc3d\npop     rbx                                                            ; +0x1e, 0x14004bc3e\nretn                                                                   ; +0x1f, 0x14004bc3f\nlea     rdx, [rsp+58h+var_28]                                          ; +0x20, 0x14004bc40\nmov     [rsp+58h+var_18], rdi                                          ; +0x25, 0x14004bc45\nmov     rcx, rbx                                                       ; +0x2a, 0x14004bc4a\ncall    CCScrollLayerExt__scissorRect                                  ; +0x2d, 0x14004bc4d\nmov     rcx, [rbx]                                                     ; +0x32, 0x14004bc52\nmov     rdi, rax                                                       ; +0x35, 0x14004bc55\nmov     rdx, [rcx+0C8h]                                                ; +0x38, 0x14004bc58\nmov     rcx, rbx                                                       ; +0x3f, 0x14004bc5f\ncall    rdx                                                            ; +0x42, 0x14004bc62\nmov     r8, rdi                                                        ; +0x44, 0x14004bc64\nlea     rdx, [rsp+58h+arg_0]                                           ; +0x47, 0x14004bc67\nmov     rcx, rax                                                       ; +0x4c, 0x14004bc6c\ncall    cs:??HCCPoint@cocos2d@@QEBA?AV01@AEBV01@@Z; cocos2d::CCPoint::operator+(cocos2d::CCPoint const &) ; +0x4f, 0x14004bc6f\nmov     rcx, [rbx]                                                     ; +0x55, 0x14004bc75\nmov     rdx, [rcx+1F8h]                                                ; +0x58, 0x14004bc78\nmov     rcx, rbx                                                       ; +0x5f, 0x14004bc7f\ncall    rdx                                                            ; +0x62, 0x14004bc82\ntest    rax, rax                                                       ; +0x64, 0x14004bc84\njz      short loc_14004BC9E                                            ; +0x67, 0x14004bc87\nlea     r8, [rsp+58h+arg_0]                                            ; +0x69, 0x14004bc89\nmov     rcx, rax                                                       ; +0x6e, 0x14004bc8e\nlea     rdx, [rsp+58h+arg_10]                                          ; +0x71, 0x14004bc91\ncall    cs:?convertToWorldSpace@CCNode@cocos2d@@QEAA?AVCCPoint@2@AEBV32@@Z; cocos2d::CCNode::convertToWorldSpace(cocos2d::CCPoint const &) ; +0x76, 0x14004bc96\njmp     short loc_14004BCAE                                            ; +0x7c, 0x14004bc9c\nlea     rdx, [rsp+58h+arg_0]                                           ; +0x7e, 0x14004bc9e\nlea     rcx, [rsp+58h+arg_18]                                          ; +0x83, 0x14004bca3\ncall    cs:??0CCPoint@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const &) ; +0x88, 0x14004bca8\nmov     rdx, rax                                                       ; +0x8e, 0x14004bcae\nmov     rcx, rdi                                                       ; +0x91, 0x14004bcb1\ncall    cs:??4CCPoint@cocos2d@@QEAAAEAV01@AEBV01@@Z; cocos2d::CCPoint::operator=(cocos2d::CCPoint const &) ; +0x94, 0x14004bcb4\nmov     rdx, rdi                                                       ; +0x9a, 0x14004bcba\nlea     rcx, [rsp+58h+var_38]                                          ; +0x9d, 0x14004bcbd\ncall    cs:??0CCRect@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCRect::CCRect(cocos2d::CCRect const &) ; +0xa2, 0x14004bcc2\nmov     rdx, rsi                                                       ; +0xa8, 0x14004bcc8\nlea     rcx, [rsp+58h+var_38]                                          ; +0xab, 0x14004bccb\ncall    cs:?containsPoint@CCRect@cocos2d@@QEBA_NAEBVCCPoint@2@@Z; cocos2d::CCRect::containsPoint(cocos2d::CCPoint const &) ; +0xb0, 0x14004bcd0\nmov     rdi, [rsp+58h+var_18]                                          ; +0xb6, 0x14004bcd6\nadd     rsp, 48h                                                       ; +0xbb, 0x14004bcdb\npop     rsi                                                            ; +0xbf, 0x14004bcdf\npop     rbx                                                            ; +0xc0, 0x14004bce0\nretn                                                                   ; +0xc1, 0x14004bce1", "xrefs": ["<???> @ 0x14070b118", "<???> @ 0x140714ad0", "<???> @ 0x14090feb4"], "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"}