// // cocos2d::ccCArrayFullRemoveArray from 0xb21c34 to 0xb21cc4 (144 bytes) // // 1 xrefs: // > @ 0x83e50 // // 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 // __int64 __fastcall cocos2d::ccCArrayFullRemoveArray(unsigned int *a1, int *a2) { __int64 result; // x0 unsigned int v5; // w19 int v6; // w21 int v7; // w0 bool v8; // w0 unsigned int v9; // w1 __int64 v10; // x0 __int64 v11; // x2 result = *a1; if ( (_DWORD)result ) { v5 = 0; v6 = 0; do { while ( 1 ) { v8 = cocos2d::ccCArrayContainsValue(a2, *(_QWORD *)(*((_QWORD *)a1 + 2) + 8LL * v5)); v9 = v5 - v6; if ( !v8 ) break; v7 = *a1; ++v5; ++v6; if ( *a1 <= v5 ) goto LABEL_6; } v10 = *((_QWORD *)a1 + 2); v11 = *(_QWORD *)(v10 + 8LL * v5++); *(_QWORD *)(v10 + 8LL * v9) = v11; v7 = *a1; } while ( *a1 > v5 ); LABEL_6: result = (unsigned int)(v7 - v6); } *a1 = result; return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source