{"type": "func", "start": 6443203408, "end": 6443203494, "name": "cocos2d::CCTouchHandler::initWithDelegate", "pseudocode": "// \n// cocos2d::CCTouchHandler::initWithDelegate from 0x1800b7b50 to 0x1800b7ba6 (86 bytes)\n// \n// 8 xrefs:\n// > cocos2d::CCStandardTouchHandler::handlerWithDelegate @ 0x1800b796a\n// > cocos2d::CCStandardTouchHandler::handlerWithDelegate @ 0x1800b7955\n// > cocos2d::CCTouchHandler::handlerWithDelegate @ 0x1800b7ac5\n// > <???> @ 0x18010cc78\n// > <???> @ 0x18010ccd0\n// > <???> @ 0x18010cd28\n// > <???> @ 0x18014cf68\n// > <???> @ 0x1801c2ac0\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\n// Alternative name is '?initWithDelegate@CCStandardTouchHandler@cocos2d@@UEAA_NPEAVCCTouchDelegate@2@H@Z'\nchar __fastcall cocos2d::CCTouchHandler::initWithDelegate(\n        cocos2d::CCTouchHandler *this,\n        struct cocos2d::CCTouchDelegate *a2,\n        int a3)\n{\n  cocos2d::CCObject *v5; // rax\n\n  *((_QWORD *)this + 7) = a2;\n  v5 = (cocos2d::CCObject *)_RTDynamicCast(\n                              a2,\n                              0,\n                              &cocos2d::CCTouchDelegate `RTTI Type Descriptor',\n                              &cocos2d::CCObject `RTTI Type Descriptor',\n                              0);\n  cocos2d::CCObject::retain(v5);\n  *((_DWORD *)this + 16) = a3;\n  *((_DWORD *)this + 17) = 0;\n  return 1;\n}", "assembly": "; \n; cocos2d::CCTouchHandler::initWithDelegate from 0x1800b7b50 to 0x1800b7ba6 (86 bytes)\n; \n; 8 xrefs:\n; > cocos2d::CCStandardTouchHandler::handlerWithDelegate @ 0x1800b796a\n; > cocos2d::CCStandardTouchHandler::handlerWithDelegate @ 0x1800b7955\n; > cocos2d::CCTouchHandler::handlerWithDelegate @ 0x1800b7ac5\n; > <???> @ 0x18010cc78\n; > <???> @ 0x18010ccd0\n; > <???> @ 0x18010cd28\n; > <???> @ 0x18014cf68\n; > <???> @ 0x1801c2ac0\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, 0x1800b7b50\npush    rdi                                                            ; +0x5, 0x1800b7b55\nsub     rsp, 30h                                                       ; +0x6, 0x1800b7b56\nmov     rax, rdx                                                       ; +0xa, 0x1800b7b5a\nmov     [rcx+38h], rdx                                                 ; +0xd, 0x1800b7b5d\nmov     edi, r8d                                                       ; +0x11, 0x1800b7b61\nmov     [rsp+38h+var_18], 0                                            ; +0x14, 0x1800b7b64\nmov     rbx, rcx                                                       ; +0x1c, 0x1800b7b6c\nlea     r9, ??_R0?AVCCObject@cocos2d@@@8; cocos2d::CCObject `RTTI Type Descriptor' ; +0x1f, 0x1800b7b6f\nmov     rcx, rax                                                       ; +0x26, 0x1800b7b76\nlea     r8, ??_R0?AVCCTouchDelegate@cocos2d@@@8; cocos2d::CCTouchDelegate `RTTI Type Descriptor' ; +0x29, 0x1800b7b79\nxor     edx, edx                                                       ; +0x30, 0x1800b7b80\ncall    __RTDynamicCast                                                ; +0x32, 0x1800b7b82\nmov     rcx, rax; this                                                 ; +0x37, 0x1800b7b87\ncall    ?retain@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::retain(void) ; +0x3a, 0x1800b7b8a\nmov     [rbx+40h], edi                                                 ; +0x3f, 0x1800b7b8f\nmov     al, 1                                                          ; +0x42, 0x1800b7b92\nmov     dword ptr [rbx+44h], 0                                         ; +0x44, 0x1800b7b94\nmov     rbx, [rsp+38h+arg_0]                                           ; +0x4b, 0x1800b7b9b\nadd     rsp, 30h                                                       ; +0x50, 0x1800b7ba0\npop     rdi                                                            ; +0x54, 0x1800b7ba4\nretn                                                                   ; +0x55, 0x1800b7ba5", "xrefs": ["cocos2d::CCStandardTouchHandler::handlerWithDelegate @ 0x1800b796a", "cocos2d::CCStandardTouchHandler::handlerWithDelegate @ 0x1800b7955", "cocos2d::CCTouchHandler::handlerWithDelegate @ 0x1800b7ac5", "<???> @ 0x18010cc78", "<???> @ 0x18010ccd0", "<???> @ 0x18010cd28", "<???> @ 0x18014cf68", "<???> @ 0x1801c2ac0"], "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"}