// // cocos2d::CCTouchDispatcher::registerForcePrio from 0x1800b6c60 to 0x1800b6d21 (193 bytes) // // 4 xrefs: // > @ 0x18014a314 // > @ 0x18014a324 // > @ 0x18014cf68 // > @ 0x1801c2970 // // This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True! // // Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings // Generated at Fri, 27 Nov 2026 11:22:22 +0000 // void __fastcall cocos2d::CCTouchDispatcher::registerForcePrio( cocos2d::CCTouchDispatcher *this, struct cocos2d::CCObject *a2, int a3, int a4) { int v7; // esi struct cocos2d::CCObject *v8; // rax struct cocos2d::CCInteger *v9; // rax __int64 v10; // r14 cocos2d::CCDictionary *v11; // rbx int v12; // ecx struct cocos2d::CCInteger *v13; // rax if ( a2 ) { *((_DWORD *)this + 40) += a3; *((_DWORD *)this + 32) -= a3; v7 = a3; v8 = cocos2d::CCDictionary::objectForKey(*((cocos2d::CCDictionary **)this + 17), *((unsigned int *)a2 + 2)); if ( v8 ) { v7 += *((_DWORD *)v8 + 14); } else { v9 = cocos2d::CCInteger::create(v7); cocos2d::CCDictionary::setObject(*((cocos2d::CCDictionary **)this + 17), v9, *((unsigned int *)a2 + 2)); } if ( a4 ) { v10 = *((unsigned int *)a2 + 2); if ( a4 == 1 ) { v11 = *((cocos2d::CCDictionary **)this + 18); v12 = *((_DWORD *)this + 32); } else { v11 = *((cocos2d::CCDictionary **)this + 19); v12 = v7; } v13 = cocos2d::CCInteger::create(v12); cocos2d::CCDictionary::setObject(v11, v13, v10); } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source