{"type": "func", "start": 3969096, "end": 3969176, "name": "CCScrollLayerExt::touchInsideClip", "pseudocode": "// \n// CCScrollLayerExt::touchInsideClip from 0x3c9048 to 0x3c9098 (80 bytes)\n// \n// 1 xrefs:\n// > `non-virtual thunk to'CCScrollLayerExt::touchInsideClip @ 0x3c90a0\n// \n// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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:46:36 +0000\n// \n\nint __fastcall CCScrollLayerExt::touchInsideClip(CCScrollLayerExt *this, const cocos2d::CCPoint *a2)\n{\n  _BYTE v5[16]; // [sp+4h] [bp-10h] BYREF\n  _BYTE v6[16]; // [sp+14h] [bp+0h] BYREF\n\n  if ( !*((_BYTE *)this + 368) )\n    return 1;\n  CCScrollLayerExt::scissorRect((CCScrollLayerExt *)v6, (int)this);\n  GameToolbox::worldClipRect(v5, this, v6);\n  return cocos2d::CCRect::containsPoint((cocos2d::CCRect *)v5, a2);\n}", "assembly": "; \n; CCScrollLayerExt::touchInsideClip from 0x3c9048 to 0x3c9098 (80 bytes)\n; \n; 1 xrefs:\n; > `non-virtual thunk to'CCScrollLayerExt::touchInsideClip @ 0x3c90a0\n; \n; This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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:46:36 +0000\n; \nLDR             R3, =(__stack_chk_guard_ptr - 0x3C9052)                ; +0x0, 0x3c9048\nPUSH.W          {R4-R8,LR}                                             ; +0x2, 0x3c904a\nADD             R3, PC; __stack_chk_guard_ptr                          ; +0x6, 0x3c904e\nLDR             R3, [R3]; __stack_chk_guard                            ; +0x8, 0x3c9050\nSUB             SP, SP, #0x28                                          ; +0xa, 0x3c9052\nMOV             R5, R0                                                 ; +0xc, 0x3c9054\nLDR             R2, [R3]                                               ; +0xe, 0x3c9056\nMOV             R8, R1                                                 ; +0x10, 0x3c9058\nMOV             R4, R3                                                 ; +0x12, 0x3c905a\nSTR             R2, [SP,#0x28+var_4]                                   ; +0x14, 0x3c905c\nLDRB.W          R2, [R0,#0x170]                                        ; +0x16, 0x3c905e\nCBZ             R2, loc_3C9084                                         ; +0x1a, 0x3c9062\nADD             R7, SP, #0x14                                          ; +0x1c, 0x3c9064\nADD             R6, SP, #0x28+var_24                                   ; +0x1e, 0x3c9066\nMOV             R1, R5                                                 ; +0x20, 0x3c9068\nMOV             R0, R7; this                                           ; +0x22, 0x3c906a\nBL              _ZN16CCScrollLayerExt11scissorRectEv; CCScrollLayerExt::scissorRect(void) ; +0x24, 0x3c906c\nMOV             R0, R6                                                 ; +0x28, 0x3c9070\nMOV             R1, R5                                                 ; +0x2a, 0x3c9072\nMOV             R2, R7                                                 ; +0x2c, 0x3c9074\nBL              _ZN11GameToolbox13worldClipRectEPN7cocos2d6CCNodeENS0_6CCRectE; GameToolbox::worldClipRect(cocos2d::CCNode *,cocos2d::CCRect) ; +0x2e, 0x3c9076\nMOV             R0, R6; this                                           ; +0x32, 0x3c907a\nMOV             R1, R8; cocos2d::CCPoint *                             ; +0x34, 0x3c907c\nBL              _ZNK7cocos2d6CCRect13containsPointERKNS_7CCPointE; cocos2d::CCRect::containsPoint(cocos2d::CCPoint const&) ; +0x36, 0x3c907e\nB               loc_3C9086                                             ; +0x3a, 0x3c9082\nMOVS            R0, #1                                                 ; +0x3c, 0x3c9084\nLDR             R2, [SP,#0x28+var_4]                                   ; +0x3e, 0x3c9086\nLDR             R3, [R4]                                               ; +0x40, 0x3c9088\nCMP             R2, R3                                                 ; +0x42, 0x3c908a\nBEQ             loc_3C9092                                             ; +0x44, 0x3c908c\nBLX             __stack_chk_fail                                       ; +0x46, 0x3c908e\nADD             SP, SP, #0x28 ; '('                                    ; +0x4a, 0x3c9092\nPOP.W           {R4-R8,PC}                                             ; +0x4c, 0x3c9094", "xrefs": ["`non-virtual thunk to'CCScrollLayerExt::touchInsideClip @ 0x3c90a0"], "is_objc": false, "is_32_bit": true, "is_64_bit": false, "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"}