{"type": "func", "start": 6904308, "end": 6904456, "name": "CCScrollLayerExt::touchInsideClip", "pseudocode": "// \n// CCScrollLayerExt::touchInsideClip from 0x6959f4 to 0x695a88 (148 bytes)\n// \n// 4 xrefs:\n// > `non-virtual thunk to'CCScrollLayerExt::touchInsideClip @ 0x695a8c\n// > <???> @ 0xf8ef0\n// > <???> @ 0x1418790\n// > <???> @ 0x1418e60\n// \n// This function is hookable on this platform (idp: arm, 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:50:37 +0000\n// \n\n__int64 __fastcall CCScrollLayerExt::touchInsideClip(CCScrollLayerExt *this, const cocos2d::CCPoint *a2)\n{\n  unsigned int v4; // w1\n  _QWORD v6[2]; // [xsp+48h] [xbp+48h] BYREF\n  _BYTE v7[16]; // [xsp+58h] [xbp+58h] BYREF\n\n  v4 = 1;\n  if ( *((_BYTE *)this + 496) )\n  {\n    CCScrollLayerExt::scissorRect(this, (cocos2d::CCRect *)v7);\n    GameToolbox::worldClipRect(v6, this, v7);\n    return (unsigned __int8)cocos2d::CCRect::containsPoint((cocos2d::CCRect *)v6, a2);\n  }\n  return v4;\n}", "assembly": "; \n; CCScrollLayerExt::touchInsideClip from 0x6959f4 to 0x695a88 (148 bytes)\n; \n; 4 xrefs:\n; > `non-virtual thunk to'CCScrollLayerExt::touchInsideClip @ 0x695a8c\n; > <???> @ 0xf8ef0\n; > <???> @ 0x1418790\n; > <???> @ 0x1418e60\n; \n; This function is hookable on this platform (idp: arm, 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:50:37 +0000\n; \nSTP             X29, X30, [SP,#var_70]!                                ; +0x0, 0x6959f4\nMOV             X29, SP                                                ; +0x4, 0x6959f8\nSTP             X19, X20, [SP,#0x70+var_60]                            ; +0x8, 0x6959fc\nADRP            X19, #__stack_chk_guard_ptr@PAGE                       ; +0xc, 0x695a00\nMOV             X20, X0                                                ; +0x10, 0x695a04\nSTP             X21, X22, [SP,#0x70+var_50]                            ; +0x14, 0x695a08\nMOV             X22, X1                                                ; +0x18, 0x695a0c\nMOV             W1, #1                                                 ; +0x1c, 0x695a10\nLDR             X3, [X19,#__stack_chk_guard_ptr@PAGEOFF]; __stack_chk_guard ; +0x20, 0x695a14\nLDRB            W2, [X0,#0x1F0]                                        ; +0x24, 0x695a18\nLDR             X3, [X3]                                               ; +0x28, 0x695a1c\nSTR             X3, [X29,#0x70+var_8]                                  ; +0x2c, 0x695a20\nCBZ             W2, loc_695A5C                                         ; +0x30, 0x695a24\nADD             X1, X29, #0x70+var_18                                  ; +0x34, 0x695a28\nSTR             X1, [X29,#0x70+var_38]                                 ; +0x38, 0x695a2c\nMOV             X8, X1                                                 ; +0x3c, 0x695a30\nADD             X21, X29, #0x70+var_28                                 ; +0x40, 0x695a34\nBL              _ZN16CCScrollLayerExt11scissorRectEv; CCScrollLayerExt::scissorRect(void) ; +0x44, 0x695a38\nLDR             X1, [X29,#0x70+var_38]                                 ; +0x48, 0x695a3c\nMOV             X8, X21                                                ; +0x4c, 0x695a40\nMOV             X0, X20                                                ; +0x50, 0x695a44\nBL              _ZN11GameToolbox13worldClipRectEPN7cocos2d6CCNodeENS0_6CCRectE; GameToolbox::worldClipRect(cocos2d::CCNode *,cocos2d::CCRect) ; +0x54, 0x695a48\nMOV             X1, X22; cocos2d::CCPoint *                            ; +0x58, 0x695a4c\nMOV             X0, X21; this                                          ; +0x5c, 0x695a50\nBL              _ZNK7cocos2d6CCRect13containsPointERKNS_7CCPointE; cocos2d::CCRect::containsPoint(cocos2d::CCPoint const&) ; +0x60, 0x695a54\nUXTB            W1, W0                                                 ; +0x64, 0x695a58\nLDR             X19, [X19,#__stack_chk_guard_ptr@PAGEOFF]; __stack_chk_guard ; +0x68, 0x695a5c\nMOV             W0, W1                                                 ; +0x6c, 0x695a60\nLDR             X2, [X29,#0x70+var_8]                                  ; +0x70, 0x695a64\nLDR             X1, [X19]                                              ; +0x74, 0x695a68\nCMP             X2, X1                                                 ; +0x78, 0x695a6c\nB.NE            loc_695A84                                             ; +0x7c, 0x695a70\nLDP             X19, X20, [SP,#0x70+var_60]                            ; +0x80, 0x695a74\nLDP             X21, X22, [SP,#0x70+var_50]                            ; +0x84, 0x695a78\nLDP             X29, X30, [SP+0x70+var_70],#0x70                       ; +0x88, 0x695a7c\nRET                                                                    ; +0x8c, 0x695a80\nBL              .__stack_chk_fail                                      ; +0x90, 0x695a84", "xrefs": ["`non-virtual thunk to'CCScrollLayerExt::touchInsideClip @ 0x695a8c", "<???> @ 0xf8ef0", "<???> @ 0x1418790", "<???> @ 0x1418e60"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "arm", "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"}