// // sub_1800A1F90 from 0x1800a1f90 to 0x1800a200d (125 bytes) // // 2 xrefs: // > cocos2d::CCTouchDispatcher::addStandardDelegate @ 0x1800b64fd // > cocos2d::CCTouchDispatcher::addTargetedDelegate @ 0x1800b661e // // 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:13 +0000 // __int64 __fastcall sub_1800A1F90(__int64 a1, __int64 a2) { __int64 v3; // r8 unsigned int v4; // ecx __int64 v6; // rdx unsigned int v7; // ecx __int64 v8; // r9 __int64 v9; // r8 __int64 v10; // rcx __int64 result; // rax v3 = 0; v4 = *(_DWORD *)a1; if ( v4 ) { while ( 1 ) { v6 = 8 * v3; if ( *(_QWORD *)(*(_QWORD *)(a1 + 16) + 8 * v3) == a2 ) break; v3 = (unsigned int)(v3 + 1); if ( (unsigned int)v3 >= v4 ) return result; } if ( (_DWORD)v3 != -1 ) { v7 = v4 - 1; *(_DWORD *)a1 = v7; if ( (unsigned int)v3 < v7 ) { v8 = 8LL * (unsigned int)(v3 + 1); v9 = v7 - (unsigned int)v3; do { v10 = *(_QWORD *)(a1 + 16); v6 += 8; v8 += 8; result = *(_QWORD *)(v8 + v10 - 8); *(_QWORD *)(v6 + v10 - 8) = result; --v9; } while ( v9 ); } } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source