// // cocos2d::CCTouchDispatcher::registerForcePrio from 0x1001cd5a4 to 0x1001cd668 (196 bytes) // // 9 xrefs: // > sub_10008F760 @ 0x10008f7a8 // > DialogLayer::init @ 0x10008fd88 // > GJShopLayer::init @ 0x1001c8fc0 // > DailyLevelNode::init @ 0x100250b00 // > FLAlertLayer::incrementForcePrio @ 0x10034b698 // > GJCommentListLayer::init @ 0x1003728fc // > GJDropDownLayer::init @ 0x100459274 // > LevelBrowserLayer::init @ 0x10049504c // > LevelBadgePopup::buildCell @ 0x100502a2c // // This function is hookable on this platform (idp: arm, 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:00:21 +0000 // double __fastcall cocos2d::CCTouchDispatcher::registerForcePrio(__int64 a1, __int64 a2, int a3, int a4) { int v5; // w20 __int64 v8; // x0 double result; // d0 __int64 *v10; // x8 _DWORD *v11; // x0 __int64 v12; // x21 _DWORD *v13; // x1 if ( a2 ) { v5 = a3; *(_DWORD *)(a1 + 160) += a3; *(_DWORD *)(a1 + 128) -= a3; v8 = cocos2d::CCDictionary::objectForKey_1(*(_QWORD *)(a1 + 136), *(unsigned int *)(a2 + 8)); if ( v8 ) { v5 += *(_DWORD *)(v8 + 56); if ( !a4 ) return result; } else { v11 = sub_100145068(v5); *(_QWORD *)&result = cocos2d::CCDictionary::setObject_1(*(_QWORD *)(a1 + 136), v11, *(unsigned int *)(a2 + 8)).n128_u64[0]; if ( !a4 ) return result; } if ( a4 == 1 ) { v10 = (__int64 *)(a1 + 144); v5 = *(_DWORD *)(a1 + 128); } else { v10 = (__int64 *)(a1 + 152); } v12 = *v10; v13 = sub_100145068(v5); *(_QWORD *)&result = cocos2d::CCDictionary::setObject_1(v12, v13, *(unsigned int *)(a2 + 8)).n128_u64[0]; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source