// // GameLevelManager::setFolderName from 0x10054ee10 to 0x10054ef08 (248 bytes) // // 1 xrefs: // > SetFolderPopup::setTextPopupClosed @ 0x10029a623 // // 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:02 +0000 // void __fastcall GameLevelManager::setFolderName(__int64 a1, __int64 a2, __int64 a3, unsigned int a4) { __int64 v4; // rbx __int64 v5; // r14 __int64 v6; // rax const char *CString; // r12 size_t v8; // rax size_t v9; // r15 char *v10; // r13 __int64 v11; // r14 size_t v12; // rbx char v13; // [rsp+0h] [rbp-50h] __int64 v14; // [rsp+8h] [rbp-48h] _QWORD __dst[2]; // [rsp+10h] [rbp-40h] BYREF void *__p; // [rsp+20h] [rbp-30h] v4 = *(_QWORD *)(a1 + 8LL * a4 + 832); v5 = sub_10088E600(a3); v6 = sub_10088E820("%i", v13); CString = (const char *)cocos2d::CCString::getCString(v6); v8 = strlen(CString); if ( v8 >= 0xFFFFFFFFFFFFFFF8LL ) sub_100003630(); v9 = v8; if ( v8 >= 0x17 ) { v14 = v5; v11 = v4; v12 = 26; if ( (v8 | 7) != 0x17 ) v12 = (v8 | 7) + 1; v10 = (char *)operator new(v12); __p = v10; __dst[0] = v12 + 1; v4 = v11; v5 = v14; __dst[1] = v9; goto LABEL_8; } LOBYTE(__dst[0]) = 2 * v8; v10 = (char *)__dst + 1; if ( v8 ) LABEL_8: memmove(v10, CString, v9); v10[v9] = 0; cocos2d::CCDictionary::setObject(v4, v5, (char *)__dst); if ( (__dst[0] & 1) != 0 ) operator delete(__p); }
GD Web Decomp Icon

GD Web Decomp

Raw Source