// // cocos2d::CCFileUtils::addSearchResolutionsOrder from 0x10042a6c0 to 0x10042a77d (189 bytes) // // 2 xrefs: // > @ 0x100b41e18 // > @ 0x100b93f58 // // 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:19 +0000 // void __fastcall cocos2d::CCFileUtils::addSearchResolutionsOrder(__int64 a1, const char *a2) { size_t v2; // rax size_t v3; // r14 char *v4; // r12 size_t v5; // r13 _QWORD __dst[2]; // [rsp+0h] [rbp-40h] BYREF void *__p; // [rsp+10h] [rbp-30h] v2 = strlen(a2); if ( v2 >= 0xFFFFFFFFFFFFFFF8LL ) sub_100003630(); v3 = v2; if ( v2 >= 0x17 ) { v5 = 26; if ( (v2 | 7) != 0x17 ) v5 = (v2 | 7) + 1; v4 = (char *)operator new(v5); __p = v4; __dst[0] = v5 + 1; __dst[1] = v3; goto LABEL_8; } LOBYTE(__dst[0]) = 2 * v2; v4 = (char *)__dst + 1; if ( v2 ) LABEL_8: memcpy(v4, a2, v3); v4[v3] = 0; sub_1001593B0(a1 + 16, (__int64)__dst); if ( (__dst[0] & 1) != 0 ) operator delete(__p); }
GD Web Decomp Icon

GD Web Decomp

Raw Source