// // sub_1006686F0 from 0x1006686f0 to 0x10066875b (107 bytes) // // 2 xrefs: // > cocos2d::CCTouchDispatcher::addTargetedDelegate @ 0x1004cbd73 // > cocos2d::CCTouchDispatcher::addStandardDelegate @ 0x1004cbf75 // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // void __fastcall sub_1006686F0(unsigned int *a1, __int64 a2) { __int64 v2; // rcx __int64 v3; // rax unsigned int v4; // ecx v2 = *a1; if ( *a1 ) { v3 = 0; while ( *(_QWORD *)(*((_QWORD *)a1 + 2) + 8 * v3) != a2 ) { if ( v2 == ++v3 ) return; } if ( v3 != 0xFFFFFFFFLL ) { v4 = v2 - 1; *a1 = v4; if ( v4 > (unsigned int)v3 ) { do { *(_QWORD *)(*((_QWORD *)a1 + 2) + 8 * v3) = *(_QWORD *)(*((_QWORD *)a1 + 2) + 8 * v3 + 8); ++v3; } while ( v4 != v3 ); } } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source