// // sub_10059ACB0 from 0x10059acb0 to 0x10059ad81 (209 bytes) // // 2 xrefs: // > sub_10059A8E0 @ 0x10059aba4 // > sub_10059BFA0 @ 0x10059c0a8 // // 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:32:30 +0000 // void __fastcall sub_10059ACB0(__int64 a1, __int64 a2) { __int64 v2; // rax __int64 *v3; // rax void *v4; // rsi __int64 v5; // rax void **v6; // rbx void **v7; // r14 void *v8; // rdi void *__p[2]; // [rsp+0h] [rbp-30h] BYREF __int64 v10; // [rsp+10h] [rbp-20h] v2 = cocos2d::CCFileUtils::sharedFileUtils(a1, a2); v3 = (__int64 *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v2 + 136LL))(v2); *(_OWORD *)__p = 0; v10 = 0; sub_1003159F0(__p, *v3, v3[1], 0xAAAAAAAAAAAAAAABLL * ((v3[1] - *v3) >> 3)); v4 = __p[0]; sub_100314FA0((char **)__p, (std::string *)__p[0], a1 + 8); v5 = cocos2d::CCFileUtils::sharedFileUtils(__p, v4); (*(void (__fastcall **)(__int64, void **))(*(_QWORD *)v5 + 112LL))(v5, __p); v6 = (void **)__p[0]; if ( __p[0] ) { v7 = (void **)__p[1]; v8 = __p[0]; if ( __p[1] != __p[0] ) { do { if ( (*(_BYTE *)(v7 - 3) & 1) != 0 ) operator delete(*(v7 - 1)); v7 -= 3; } while ( v7 != v6 ); v8 = __p[0]; } __p[1] = v6; operator delete(v8); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source