// // cocos2d::ccArrayFullRemoveArray from 0xb21810 to 0xb218b4 (164 bytes) // // 1 xrefs: // > @ 0x611b8 // // 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::ccArrayFullRemoveArray(unsigned int *a1, int *a2) { __int64 result; // x0 unsigned int v5; // w19 int v6; // w21 cocos2d::CCObject *v7; // x0 int v8; // w0 bool v9; // w0 unsigned int v10; // w1 __int64 v11; // x0 __int64 v12; // x2 result = *a1; if ( (_DWORD)result ) { v5 = 0; v6 = 0; do { while ( 1 ) { v9 = cocos2d::ccArrayContainsObject(a2, *(_QWORD *)(*((_QWORD *)a1 + 2) + 8LL * v5)); v10 = v5 - v6; if ( v9 ) break; v11 = *((_QWORD *)a1 + 2); v12 = *(_QWORD *)(v11 + 8LL * v5++); *(_QWORD *)(v11 + 8LL * v10) = v12; v8 = *a1; if ( *a1 <= v5 ) goto LABEL_8; } ++v6; v7 = *(cocos2d::CCObject **)(*((_QWORD *)a1 + 2) + 8LL * v5); if ( v7 ) cocos2d::CCObject::release(v7); v8 = *a1; ++v5; } while ( *a1 > v5 ); LABEL_8: result = (unsigned int)(v8 - v6); } *a1 = result; return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source