// // cocos2d::CCTouchDispatcher::forceRemoveDelegate from 0x1001cdb94 to 0x1001cdc80 (236 bytes) // // 2 xrefs: // > cocos2d::CCTouchDispatcher::removeDelegate @ 0x1001cdcd8 // > cocos2d::CCTouchDispatcher::touches @ 0x1001ce150 // // 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 // __int64 __fastcall cocos2d::CCTouchDispatcher::forceRemoveDelegate(__int64 result, __int64 a2) { __int64 v3; // x19 __int64 v4; // x8 unsigned int *v5; // x9 __int64 v6; // x8 __int64 *v7; // x22 unsigned __int64 v8; // x23 __int64 v9; // x21 __int64 v10; // x8 unsigned int *v11; // x9 __int64 v12; // x8 __int64 *v13; // x22 unsigned __int64 v14; // x23 __int64 v15; // x21 v3 = result; v4 = *(_QWORD *)(result + 72); if ( v4 ) { v5 = *(unsigned int **)(v4 + 56); v6 = *v5; if ( (_DWORD)v6 ) { v7 = *((__int64 **)v5 + 2); v8 = (unsigned __int64)&v7[v6 - 1]; do { v9 = *v7; if ( !*v7 ) break; result = cocos2d::CCTouchHandler::getDelegate(*v7); if ( result == a2 ) { result = sub_1002E765C(*(_QWORD *)(v3 + 72), v9, 1); break; } ++v7; } while ( (unsigned __int64)v7 <= v8 ); } } v10 = *(_QWORD *)(v3 + 64); if ( v10 ) { v11 = *(unsigned int **)(v10 + 56); v12 = *v11; if ( (_DWORD)v12 ) { v13 = *((__int64 **)v11 + 2); v14 = (unsigned __int64)&v13[v12 - 1]; do { v15 = *v13; if ( !*v13 ) break; result = cocos2d::CCTouchHandler::getDelegate(*v13); if ( result == a2 ) return sub_1002E765C(*(_QWORD *)(v3 + 64), v15, 1); ++v13; } while ( (unsigned __int64)v13 <= v14 ); } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source