// // sub_10056DBF0 from 0x10056dbf0 to 0x10056dcc1 (209 bytes) // // 2 xrefs: // > sub_10056D820 @ 0x10056dae4 // > sub_10056EEE0 @ 0x10056efe8 // // 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 __fastcall sub_10056DBF0(__int64 a1) { cocos2d::CCFileUtils *v1; // rax __int64 *v2; // rax cocos2d::CCFileUtils *v3; // rax void **v4; // rbx void **v5; // r14 void *v6; // rdi void *__p[2]; // [rsp+0h] [rbp-30h] BYREF __int64 v8; // [rsp+10h] [rbp-20h] v1 = cocos2d::CCFileUtils::sharedFileUtils(); v2 = (__int64 *)((__int64 (__fastcall *)(cocos2d::CCFileUtils *))v1->getWritablePath2)(v1); *(_OWORD *)__p = 0; v8 = 0; sub_10032A2E0(__p, *v2, v2[1], 0xAAAAAAAAAAAAAAABLL * ((v2[1] - *v2) >> 3), (__m128)0LL); sub_100329890((char **)__p, (std::string *)__p[0], a1 + 8, 0.0); v3 = cocos2d::CCFileUtils::sharedFileUtils(); ((void (__fastcall *)(cocos2d::CCFileUtils *, void **))v3->getPathForFilename)(v3, __p); v4 = (void **)__p[0]; if ( __p[0] ) { v5 = (void **)__p[1]; v6 = __p[0]; if ( __p[1] != __p[0] ) { do { if ( (*(_BYTE *)(v5 - 3) & 1) != 0 ) operator delete(*(v5 - 1)); v5 -= 3; } while ( v5 != v4 ); v6 = __p[0]; } __p[1] = v4; operator delete(v6); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source