// // cocos2d::CCFileUtils::dCCFileUtils from 0x1004285e0 to 0x1004286cd (237 bytes) // // 2 xrefs: // > sub_1006E6D30 @ 0x1006e6d35 // > sub_1006E6D40 @ 0x1006e6d49 // // 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 12:30:18 +0000 // void __fastcall cocos2d::CCFileUtils::dCCFileUtils(__int64 a1) { __int64 v2; // rdi __int64 v3; // r14 __int64 v4; // r15 void *v5; // rdi __int64 v6; // r14 __int64 v7; // r15 void *v8; // rdi *(_QWORD *)a1 = &off_100B41DB8; v2 = *(_QWORD *)(a1 + 8); if ( v2 ) cocos2d::CCObject::release(v2); if ( (*(_BYTE *)(a1 + 112) & 1) != 0 ) operator delete(*(void **)(a1 + 128)); sub_1001525B0(a1 + 88, *(_QWORD **)(a1 + 96)); if ( (*(_BYTE *)(a1 + 64) & 1) != 0 ) operator delete(*(void **)(a1 + 80)); v3 = *(_QWORD *)(a1 + 40); if ( v3 ) { v4 = *(_QWORD *)(a1 + 48); v5 = *(void **)(a1 + 40); if ( v4 != v3 ) { do { if ( (*(_BYTE *)(v4 - 24) & 1) != 0 ) operator delete(*(void **)(v4 - 8)); v4 -= 24; } while ( v4 != v3 ); v5 = *(void **)(a1 + 40); } *(_QWORD *)(a1 + 48) = v3; operator delete(v5); } v6 = *(_QWORD *)(a1 + 16); if ( v6 ) { v7 = *(_QWORD *)(a1 + 24); v8 = *(void **)(a1 + 16); if ( v7 != v6 ) { do { if ( (*(_BYTE *)(v7 - 24) & 1) != 0 ) operator delete(*(void **)(v7 - 8)); v7 -= 24; } while ( v7 != v6 ); v8 = *(void **)(a1 + 16); } *(_QWORD *)(a1 + 24) = v6; operator delete(v8); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source