// // GameLevelManager::setFolderName from 0x10053a890 to 0x10053a988 (248 bytes) // // 1 xrefs: // > SetFolderPopup::setTextPopupClosed @ 0x1002ae743 // // 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 GameLevelManager::setFolderName(__int64 a1, double a2, __int64 a3, __int64 a4, unsigned int a5) { __int64 v5; // rbx cocos2d::CCObject *v6; // r14 cocos2d::CCString *v7; // rax const char *CString; // r12 size_t v9; // rax size_t v10; // r15 char *v11; // r13 __int64 v12; // r14 size_t v13; // rbx char v14; // [rsp+0h] [rbp-50h] cocos2d::CCObject *v15; // [rsp+8h] [rbp-48h] _QWORD __dst[2]; // [rsp+10h] [rbp-40h] BYREF void *__p; // [rsp+20h] [rbp-30h] v5 = *(_QWORD *)(a1 + 8LL * a5 + 432); v6 = (cocos2d::CCObject *)sub_1007AB360(a4); v7 = (cocos2d::CCString *)sub_1007AB580("%i", v14); CString = cocos2d::CCString::getCString(v7); v9 = strlen(CString); if ( v9 >= 0xFFFFFFFFFFFFFFF8LL ) sub_100006BF0(a2); v10 = v9; if ( v9 >= 0x17 ) { v15 = v6; v12 = v5; v13 = 26; if ( (v9 | 7) != 0x17 ) v13 = (v9 | 7) + 1; v11 = (char *)operator new(v13); __p = v11; __dst[0] = v13 + 1; v5 = v12; v6 = v15; __dst[1] = v10; goto LABEL_8; } LOBYTE(__dst[0]) = 2 * v9; v11 = (char *)__dst + 1; if ( v9 ) LABEL_8: memmove(v11, CString, v10); v11[v10] = 0; cocos2d::CCDictionary::setObject_1(v5, v6, (char *)__dst); if ( (__dst[0] & 1) != 0 ) operator delete(__p); }
GD Web Decomp Icon

GD Web Decomp

Raw Source