{"type": "func", "start": 6443184208, "end": 6443184310, "name": "cocos2d::CCTouchDispatcher::registerForcePrio", "pseudocode": "// \n// cocos2d::CCTouchDispatcher::registerForcePrio from 0x1800b3050 to 0x1800b30b6 (102 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x1801438a8\n// > <???> @ 0x1801b8694\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\nvoid __fastcall cocos2d::CCTouchDispatcher::registerForcePrio(\n        cocos2d::CCTouchDispatcher *this,\n        struct cocos2d::CCObject *a2,\n        int a3)\n{\n  struct cocos2d::CCInteger *v6; // rax\n\n  if ( a2 )\n  {\n    this->m_forcePrio += a3;\n    this->m_targetPrio -= a3;\n    if ( !cocos2d::CCDictionary::objectForKey(this->m_pForcePrioDict, a2->m_uID) )\n    {\n      v6 = cocos2d::CCInteger::create(a3);\n      cocos2d::CCDictionary::setObject(this->m_pForcePrioDict, v6, a2->m_uID);\n    }\n  }\n}", "assembly": "; \n; cocos2d::CCTouchDispatcher::registerForcePrio from 0x1800b3050 to 0x1800b30b6 (102 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x1801438a8\n; > <???> @ 0x1801b8694\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\ntest    rdx, rdx                                                       ; +0x0, 0x1800b3050\njz      short locret_1800B30B5                                         ; +0x3, 0x1800b3053\nmov     [rsp+arg_0], rbx                                               ; +0x5, 0x1800b3055\nmov     [rsp+arg_8], rsi                                               ; +0xa, 0x1800b305a\npush    rdi                                                            ; +0xf, 0x1800b305f\nsub     rsp, 20h                                                       ; +0x10, 0x1800b3060\nadd     [rcx+88h], r8d                                                 ; +0x14, 0x1800b3064\nmov     rdi, rdx                                                       ; +0x1b, 0x1800b306b\nsub     [rcx+7Ch], r8d                                                 ; +0x1e, 0x1800b306e\nmov     rbx, rcx                                                       ; +0x22, 0x1800b3072\nmov     edx, [rdx+8]; __int64                                          ; +0x25, 0x1800b3075\nmov     esi, r8d                                                       ; +0x28, 0x1800b3078\nmov     rcx, [rcx+80h]; this                                           ; +0x2b, 0x1800b307b\ncall    ?objectForKey@CCDictionary@cocos2d@@QEAAPEAVCCObject@2@_J@Z; cocos2d::CCDictionary::objectForKey(__int64) ; +0x32, 0x1800b3082\ntest    rax, rax                                                       ; +0x37, 0x1800b3087\njnz     short loc_1800B30A6                                            ; +0x3a, 0x1800b308a\nmov     ecx, esi; int                                                  ; +0x3c, 0x1800b308c\ncall    ?create@CCInteger@cocos2d@@SAPEAV12@H@Z; cocos2d::CCInteger::create(int) ; +0x3e, 0x1800b308e\nmov     r8d, [rdi+8]; __int64                                          ; +0x43, 0x1800b3093\nmov     rdx, rax; struct cocos2d::CCObject *                           ; +0x47, 0x1800b3097\nmov     rcx, [rbx+80h]; this                                           ; +0x4a, 0x1800b309a\ncall    ?setObject@CCDictionary@cocos2d@@QEAAXPEAVCCObject@2@_J@Z; cocos2d::CCDictionary::setObject(cocos2d::CCObject *,__int64) ; +0x51, 0x1800b30a1\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x56, 0x1800b30a6\nmov     rsi, [rsp+28h+arg_8]                                           ; +0x5b, 0x1800b30ab\nadd     rsp, 20h                                                       ; +0x60, 0x1800b30b0\npop     rdi                                                            ; +0x64, 0x1800b30b4\nretn                                                                   ; +0x65, 0x1800b30b5", "xrefs": ["<???> @ 0x1801438a8", "<???> @ 0x1801b8694"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}