{"type": "func", "start": 5368976624, "end": 5368976832, "name": "BoomScrollLayer::touchInsideClip", "pseudocode": "// \n// BoomScrollLayer::touchInsideClip from 0x1400414f0 to 0x1400415c0 (208 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x140706198\n// > <???> @ 0x14090f50c\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:29 +0000\n// \n\nbool __fastcall BoomScrollLayer::touchInsideClip(__int64 a1, const struct cocos2d::CCPoint *a2)\n{\n  const struct 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  if ( !*(_BYTE *)(a1 + 200) )\n    return 1;\n  v5 = (const struct cocos2d::CCRect *)cocos2d::CCRect::CCRect(\n                                         (cocos2d::CCRect *)v10,\n                                         (const struct cocos2d::CCRect *)(a1 + 204));\n  v6 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)(a1 - 408) + 200LL))(a1 - 408);\n  cocos2d::CCPoint::operator+(v6, &v11, v5);\n  v7 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)(a1 - 408) + 504LL))(a1 - 408);\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; BoomScrollLayer::touchInsideClip from 0x1400414f0 to 0x1400415c0 (208 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x140706198\n; > <???> @ 0x14090f50c\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:29 +0000\n; \npush    rbx                                                            ; +0x0, 0x1400414f0\npush    rsi                                                            ; +0x2, 0x1400414f2\nsub     rsp, 48h                                                       ; +0x3, 0x1400414f3\ncmp     byte ptr [rcx+0C8h], 0                                         ; +0x7, 0x1400414f7\nmov     rsi, rdx                                                       ; +0xe, 0x1400414fe\nmov     rbx, rcx                                                       ; +0x11, 0x140041501\njnz     short loc_14004150F                                            ; +0x14, 0x140041504\nmov     al, 1                                                          ; +0x16, 0x140041506\nadd     rsp, 48h                                                       ; +0x18, 0x140041508\npop     rsi                                                            ; +0x1c, 0x14004150c\npop     rbx                                                            ; +0x1d, 0x14004150d\nretn                                                                   ; +0x1e, 0x14004150e\nlea     rdx, [rcx+0CCh]                                                ; +0x1f, 0x14004150f\nmov     [rsp+58h+var_18], rdi                                          ; +0x26, 0x140041516\nlea     rcx, [rsp+58h+var_28]                                          ; +0x2b, 0x14004151b\ncall    cs:??0CCRect@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCRect::CCRect(cocos2d::CCRect const &) ; +0x30, 0x140041520\nmov     rdx, [rbx-198h]                                                ; +0x36, 0x140041526\nlea     rcx, [rbx-198h]                                                ; +0x3d, 0x14004152d\nmov     rdi, rax                                                       ; +0x44, 0x140041534\ncall    qword ptr [rdx+0C8h]                                           ; +0x47, 0x140041537\nmov     r8, rdi                                                        ; +0x4d, 0x14004153d\nlea     rdx, [rsp+58h+arg_0]                                           ; +0x50, 0x140041540\nmov     rcx, rax                                                       ; +0x55, 0x140041545\ncall    cs:??HCCPoint@cocos2d@@QEBA?AV01@AEBV01@@Z; cocos2d::CCPoint::operator+(cocos2d::CCPoint const &) ; +0x58, 0x140041548\nmov     rdx, [rbx-198h]                                                ; +0x5e, 0x14004154e\nlea     rcx, [rbx-198h]                                                ; +0x65, 0x140041555\ncall    qword ptr [rdx+1F8h]                                           ; +0x6c, 0x14004155c\ntest    rax, rax                                                       ; +0x72, 0x140041562\njz      short loc_14004157C                                            ; +0x75, 0x140041565\nlea     r8, [rsp+58h+arg_0]                                            ; +0x77, 0x140041567\nmov     rcx, rax                                                       ; +0x7c, 0x14004156c\nlea     rdx, [rsp+58h+arg_10]                                          ; +0x7f, 0x14004156f\ncall    cs:?convertToWorldSpace@CCNode@cocos2d@@QEAA?AVCCPoint@2@AEBV32@@Z; cocos2d::CCNode::convertToWorldSpace(cocos2d::CCPoint const &) ; +0x84, 0x140041574\njmp     short loc_14004158C                                            ; +0x8a, 0x14004157a\nlea     rdx, [rsp+58h+arg_0]                                           ; +0x8c, 0x14004157c\nlea     rcx, [rsp+58h+arg_18]                                          ; +0x91, 0x140041581\ncall    cs:??0CCPoint@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const &) ; +0x96, 0x140041586\nmov     rdx, rax                                                       ; +0x9c, 0x14004158c\nmov     rcx, rdi                                                       ; +0x9f, 0x14004158f\ncall    cs:??4CCPoint@cocos2d@@QEAAAEAV01@AEBV01@@Z; cocos2d::CCPoint::operator=(cocos2d::CCPoint const &) ; +0xa2, 0x140041592\nmov     rdx, rdi                                                       ; +0xa8, 0x140041598\nlea     rcx, [rsp+58h+var_38]                                          ; +0xab, 0x14004159b\ncall    cs:??0CCRect@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCRect::CCRect(cocos2d::CCRect const &) ; +0xb0, 0x1400415a0\nmov     rdx, rsi                                                       ; +0xb6, 0x1400415a6\nlea     rcx, [rsp+58h+var_38]                                          ; +0xb9, 0x1400415a9\ncall    cs:?containsPoint@CCRect@cocos2d@@QEBA_NAEBVCCPoint@2@@Z; cocos2d::CCRect::containsPoint(cocos2d::CCPoint const &) ; +0xbe, 0x1400415ae\nmov     rdi, [rsp+58h+var_18]                                          ; +0xc4, 0x1400415b4\nadd     rsp, 48h                                                       ; +0xc9, 0x1400415b9\npop     rsi                                                            ; +0xcd, 0x1400415bd\npop     rbx                                                            ; +0xce, 0x1400415be\nretn                                                                   ; +0xcf, 0x1400415bf", "xrefs": ["<???> @ 0x140706198", "<???> @ 0x14090f50c"], "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"}