{"type": "func", "start": 6443199152, "end": 6443199252, "name": "cocos2d::CCTouchDispatcher::ownerLevelFor", "pseudocode": "// \n// cocos2d::CCTouchDispatcher::ownerLevelFor from 0x1800b6ab0 to 0x1800b6b14 (100 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x18014cf68\n// > <???> @ 0x1801c2958\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:22:22 +0000\n// \n\nbool __fastcall cocos2d::CCTouchDispatcher::ownerLevelFor(\n        cocos2d::CCTouchDispatcher *this,\n        struct cocos2d::CCTouchDelegate *a2,\n        int *a3)\n{\n  struct cocos2d::CCNode *v5; // rax\n\n  v5 = (struct cocos2d::CCNode *)_RTDynamicCast(\n                                   a2,\n                                   0,\n                                   &cocos2d::CCTouchDelegate `RTTI Type Descriptor',\n                                   &cocos2d::CCNode `RTTI Type Descriptor',\n                                   0);\n  return v5 && cocos2d::CCTouchDispatcher::ownerLevelOf(this, v5, a3);\n}", "assembly": "; \n; cocos2d::CCTouchDispatcher::ownerLevelFor from 0x1800b6ab0 to 0x1800b6b14 (100 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x18014cf68\n; > <???> @ 0x1801c2958\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:22:22 +0000\n; \nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x1800b6ab0\npush    rdi                                                            ; +0x5, 0x1800b6ab5\nsub     rsp, 30h                                                       ; +0x6, 0x1800b6ab6\nmov     rax, rdx                                                       ; +0xa, 0x1800b6aba\nmov     [rsp+38h+var_18], 0                                            ; +0xd, 0x1800b6abd\nmov     rbx, r8                                                        ; +0x15, 0x1800b6ac5\nlea     r9, ??_R0?AVCCNode@cocos2d@@@8; cocos2d::CCNode `RTTI Type Descriptor' ; +0x18, 0x1800b6ac8\nmov     rdi, rcx                                                       ; +0x1f, 0x1800b6acf\nlea     r8, ??_R0?AVCCTouchDelegate@cocos2d@@@8; cocos2d::CCTouchDelegate `RTTI Type Descriptor' ; +0x22, 0x1800b6ad2\nmov     rcx, rax                                                       ; +0x29, 0x1800b6ad9\nxor     edx, edx                                                       ; +0x2c, 0x1800b6adc\ncall    __RTDynamicCast                                                ; +0x2e, 0x1800b6ade\ntest    rax, rax                                                       ; +0x33, 0x1800b6ae3\njz      short loc_1800B6B07                                            ; +0x36, 0x1800b6ae6\nmov     r8, rbx; int *                                                 ; +0x38, 0x1800b6ae8\nmov     rdx, rax; struct cocos2d::CCNode *                             ; +0x3b, 0x1800b6aeb\nmov     rcx, rdi; this                                                 ; +0x3e, 0x1800b6aee\ncall    ?ownerLevelOf@CCTouchDispatcher@cocos2d@@QEAA_NPEAVCCNode@2@AEAH@Z; cocos2d::CCTouchDispatcher::ownerLevelOf(cocos2d::CCNode *,int &) ; +0x41, 0x1800b6af1\ntest    al, al                                                         ; +0x46, 0x1800b6af6\njz      short loc_1800B6B07                                            ; +0x48, 0x1800b6af8\nmov     al, 1                                                          ; +0x4a, 0x1800b6afa\nmov     rbx, [rsp+38h+arg_0]                                           ; +0x4c, 0x1800b6afc\nadd     rsp, 30h                                                       ; +0x51, 0x1800b6b01\npop     rdi                                                            ; +0x55, 0x1800b6b05\nretn                                                                   ; +0x56, 0x1800b6b06\nmov     rbx, [rsp+38h+arg_0]                                           ; +0x57, 0x1800b6b07\nxor     al, al                                                         ; +0x5c, 0x1800b6b0c\nadd     rsp, 30h                                                       ; +0x5e, 0x1800b6b0e\npop     rdi                                                            ; +0x62, 0x1800b6b12\nretn                                                                   ; +0x63, 0x1800b6b13", "xrefs": ["<???> @ 0x18014cf68", "<???> @ 0x1801c2958"], "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"}