{"type": "func", "start": 6443199584, "end": 6443199777, "name": "cocos2d::CCTouchDispatcher::registerForcePrio", "pseudocode": "// \n// cocos2d::CCTouchDispatcher::registerForcePrio from 0x1800b6c60 to 0x1800b6d21 (193 bytes)\n// \n// 4 xrefs:\n// > <???> @ 0x18014a314\n// > <???> @ 0x18014a324\n// > <???> @ 0x18014cf68\n// > <???> @ 0x1801c2970\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\nvoid __fastcall cocos2d::CCTouchDispatcher::registerForcePrio(\n        cocos2d::CCTouchDispatcher *this,\n        struct cocos2d::CCObject *a2,\n        int a3,\n        int a4)\n{\n  int v7; // esi\n  struct cocos2d::CCObject *v8; // rax\n  struct cocos2d::CCInteger *v9; // rax\n  __int64 v10; // r14\n  cocos2d::CCDictionary *v11; // rbx\n  int v12; // ecx\n  struct cocos2d::CCInteger *v13; // rax\n\n  if ( a2 )\n  {\n    *((_DWORD *)this + 40) += a3;\n    *((_DWORD *)this + 32) -= a3;\n    v7 = a3;\n    v8 = cocos2d::CCDictionary::objectForKey(*((cocos2d::CCDictionary **)this + 17), *((unsigned int *)a2 + 2));\n    if ( v8 )\n    {\n      v7 += *((_DWORD *)v8 + 14);\n    }\n    else\n    {\n      v9 = cocos2d::CCInteger::create(v7);\n      cocos2d::CCDictionary::setObject(*((cocos2d::CCDictionary **)this + 17), v9, *((unsigned int *)a2 + 2));\n    }\n    if ( a4 )\n    {\n      v10 = *((unsigned int *)a2 + 2);\n      if ( a4 == 1 )\n      {\n        v11 = *((cocos2d::CCDictionary **)this + 18);\n        v12 = *((_DWORD *)this + 32);\n      }\n      else\n      {\n        v11 = *((cocos2d::CCDictionary **)this + 19);\n        v12 = v7;\n      }\n      v13 = cocos2d::CCInteger::create(v12);\n      cocos2d::CCDictionary::setObject(v11, v13, v10);\n    }\n  }\n}", "assembly": "; \n; cocos2d::CCTouchDispatcher::registerForcePrio from 0x1800b6c60 to 0x1800b6d21 (193 bytes)\n; \n; 4 xrefs:\n; > <???> @ 0x18014a314\n; > <???> @ 0x18014a324\n; > <???> @ 0x18014cf68\n; > <???> @ 0x1801c2970\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; \ntest    rdx, rdx                                                       ; +0x0, 0x1800b6c60\njz      locret_1800B6D20                                               ; +0x3, 0x1800b6c63\nmov     [rsp+arg_8], rbx                                               ; +0x9, 0x1800b6c69\nmov     [rsp+arg_10], rbp                                              ; +0xe, 0x1800b6c6e\nmov     [rsp+arg_18], rsi                                              ; +0x13, 0x1800b6c73\npush    rdi                                                            ; +0x18, 0x1800b6c78\nsub     rsp, 20h                                                       ; +0x19, 0x1800b6c79\nadd     [rcx+0A0h], r8d                                                ; +0x1d, 0x1800b6c7d\nmov     rbx, rdx                                                       ; +0x24, 0x1800b6c84\nsub     [rcx+80h], r8d                                                 ; +0x27, 0x1800b6c87\nmov     rdi, rcx                                                       ; +0x2e, 0x1800b6c8e\nmov     edx, [rdx+8]; __int64                                          ; +0x31, 0x1800b6c91\nmov     ebp, r9d                                                       ; +0x34, 0x1800b6c94\nmov     rcx, [rcx+88h]; this                                           ; +0x37, 0x1800b6c97\nmov     esi, r8d                                                       ; +0x3e, 0x1800b6c9e\ncall    ?objectForKey@CCDictionary@cocos2d@@QEAAPEAVCCObject@2@_J@Z; cocos2d::CCDictionary::objectForKey(__int64) ; +0x41, 0x1800b6ca1\ntest    rax, rax                                                       ; +0x46, 0x1800b6ca6\njz      short loc_1800B6CB0                                            ; +0x49, 0x1800b6ca9\nadd     esi, [rax+38h]                                                 ; +0x4b, 0x1800b6cab\njmp     short loc_1800B6CCA                                            ; +0x4e, 0x1800b6cae\nmov     ecx, esi; int                                                  ; +0x50, 0x1800b6cb0\ncall    ?create@CCInteger@cocos2d@@SAPEAV12@H@Z; cocos2d::CCInteger::create(int) ; +0x52, 0x1800b6cb2\nmov     r8d, [rbx+8]; __int64                                          ; +0x57, 0x1800b6cb7\nmov     rdx, rax; struct cocos2d::CCObject *                           ; +0x5b, 0x1800b6cbb\nmov     rcx, [rdi+88h]; this                                           ; +0x5e, 0x1800b6cbe\ncall    ?setObject@CCDictionary@cocos2d@@QEAAXPEAVCCObject@2@_J@Z; cocos2d::CCDictionary::setObject(cocos2d::CCObject *,__int64) ; +0x65, 0x1800b6cc5\ntest    ebp, ebp                                                       ; +0x6a, 0x1800b6cca\njz      short loc_1800B6D0C                                            ; +0x6c, 0x1800b6ccc\nmov     [rsp+28h+arg_0], r14                                           ; +0x6e, 0x1800b6cce\nmov     r14d, [rbx+8]                                                  ; +0x73, 0x1800b6cd3\ncmp     ebp, 1                                                         ; +0x77, 0x1800b6cd7\njnz     short loc_1800B6CEB                                            ; +0x7a, 0x1800b6cda\nmov     rbx, [rdi+90h]                                                 ; +0x7c, 0x1800b6cdc\nmov     ecx, [rdi+80h]                                                 ; +0x83, 0x1800b6ce3\njmp     short loc_1800B6CF4                                            ; +0x89, 0x1800b6ce9\nmov     rbx, [rdi+98h]                                                 ; +0x8b, 0x1800b6ceb\nmov     ecx, esi; int                                                  ; +0x92, 0x1800b6cf2\ncall    ?create@CCInteger@cocos2d@@SAPEAV12@H@Z; cocos2d::CCInteger::create(int) ; +0x94, 0x1800b6cf4\nmov     r8, r14; __int64                                               ; +0x99, 0x1800b6cf9\nmov     rdx, rax; struct cocos2d::CCObject *                           ; +0x9c, 0x1800b6cfc\nmov     rcx, rbx; this                                                 ; +0x9f, 0x1800b6cff\ncall    ?setObject@CCDictionary@cocos2d@@QEAAXPEAVCCObject@2@_J@Z; cocos2d::CCDictionary::setObject(cocos2d::CCObject *,__int64) ; +0xa2, 0x1800b6d02\nmov     r14, [rsp+28h+arg_0]                                           ; +0xa7, 0x1800b6d07\nmov     rbx, [rsp+28h+arg_8]                                           ; +0xac, 0x1800b6d0c\nmov     rbp, [rsp+28h+arg_10]                                          ; +0xb1, 0x1800b6d11\nmov     rsi, [rsp+28h+arg_18]                                          ; +0xb6, 0x1800b6d16\nadd     rsp, 20h                                                       ; +0xbb, 0x1800b6d1b\npop     rdi                                                            ; +0xbf, 0x1800b6d1f\nretn                                                                   ; +0xc0, 0x1800b6d20", "xrefs": ["<???> @ 0x18014a314", "<???> @ 0x18014a324", "<???> @ 0x18014cf68", "<???> @ 0x1801c2970"], "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"}