// // cocos2d::CCFileUtils::removeAllPaths from 0xb05b80 to 0xb05c6c (236 bytes) // // 1 xrefs: // > @ 0xa3038 // // 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 cocos2d::CCFileUtils::removeAllPaths(cocos2d::CCFileUtils *a1) { cocos2d::CCFileUtils_vtbl *v2; // x23 cocos2d::CCFileUtils_vtbl *v3; // x20 cocos2d::CCFileUtils_vtbl *i; // x19 __int64 (__fastcall *getClassTypeInfo)(cocos2d::TypeInfo *__hidden); // x1 __int64 *v6; // x0 unsigned int *v7; // x1 int v8; // w2 v2 = a1[5].__vftable; v3 = a1[6].__vftable; for ( i = v2; v3 != i; i = (cocos2d::CCFileUtils_vtbl *)((char *)i + 8) ) { while ( 1 ) { getClassTypeInfo = i->getClassTypeInfo; v6 = (__int64 *)((char *)i->getClassTypeInfo - 24); if ( v6 != &qword_124B6B0 ) { if ( &pthread_create ) { v7 = (unsigned int *)((char *)getClassTypeInfo - 8); do v8 = __ldaxr(v7); while ( __stlxr(v8 - 1, v7) ); } else { v8 = *((_DWORD *)getClassTypeInfo - 2); *((_DWORD *)getClassTypeInfo - 2) = v8 - 1; } if ( v8 <= 0 ) break; } i = (cocos2d::CCFileUtils_vtbl *)((char *)i + 8); if ( v3 == i ) goto LABEL_10; } operator delete(v6); } LABEL_10: a1[6].__vftable = v2; }
GD Web Decomp Icon

GD Web Decomp

Raw Source