// // EditorSoundConfigInfoLayer::soundPackDescSaved from 0xccf584 to 0xccf860 (732 bytes) // // 3 xrefs: // > `non-virtual thunk to'EditorSoundConfigInfoLayer::soundPackDescSaved @ 0xccf864 // > @ 0x69ee0 // > @ 0x14fee88 // // This function is hookable on this platform (idp: arm, 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 13:06:26 +0000 // __int64 __fastcall EditorSoundConfigInfoLayer::soundPackDescSaved(EditorSoundConfigInfoLayer *a1, char *a2, __int64 a3) { __int64 v5; // x20 char v6; // w0 void *v7; // x2 __int64 v8; // x0 __int64 v9; // x1 __int64 *v10; // x0 char v11; // w0 __int64 v12; // x20 __int64 v13; // x0 size_t v14; // x1 __int64 *v15; // x0 _BOOL8 v16; // x0 GameLevelManager *v18; // x0 cocos2d::CCObject *v19; // x24 __int64 v20; // x0 unsigned int v21; // w20 size_t v22; // x1 int updated; // w20 __int64 v24; // x0 __int64 v25; // x0 char v26; // w1 __int64 v27; // [xsp+48h] [xbp+48h] BYREF __int64 v28; // [xsp+50h] [xbp+50h] void *v29; // [xsp+58h] [xbp+58h] __int64 v30; // [xsp+60h] [xbp+60h] BYREF size_t v31; // [xsp+68h] [xbp+68h] void *v32; // [xsp+70h] [xbp+70h] v5 = *((_QWORD *)a1 + 136); if ( v5 ) { v6 = *a2; v27 = 0; v28 = 0; v29 = nullptr; if ( (v6 & 1) != 0 ) { std::string::__init(&v27, *((void **)a2 + 2), *((_QWORD *)a2 + 1)); } else { v7 = *((void **)a2 + 2); v8 = *(_QWORD *)a2; v9 = *((_QWORD *)a2 + 1); v29 = v7; v27 = v8; v28 = v9; } LevelTools::base64EncodeString((__int64)&v27, &v30); v10 = (__int64 *)(v5 + 400); if ( (__int64 *)(v5 + 400) != &v30 ) { if ( (v30 & 1) != 0 ) std::string::assign(v10, v32, v31); else std::string::assign(v10, (char *)&v30 + 1, (unsigned __int8)v30 >> 1); } if ( (v30 & 1) != 0 ) operator delete(v32); if ( (v27 & 1) != 0 ) operator delete(v29); v11 = *(_BYTE *)a3; v30 = 0; v31 = 0; v32 = nullptr; v12 = *((_QWORD *)a1 + 136); if ( (v11 & 1) != 0 ) { std::string::__init(&v30, *(void **)(a3 + 16), *(_QWORD *)(a3 + 8)); } else { v13 = *(_QWORD *)a3; v14 = *(_QWORD *)(a3 + 8); v32 = *(void **)(a3 + 16); v30 = v13; v31 = v14; } v15 = (__int64 *)(v12 + 424); if ( (__int64 *)(v12 + 424) != &v30 ) { if ( (v30 & 1) != 0 ) std::string::assign(v15, v32, v31); else std::string::assign(v15, (char *)&v30 + 1, (unsigned __int8)v30 >> 1); } if ( (v30 & 1) != 0 ) operator delete(v32); v16 = EditorSoundConfigInfoLayer::editsServerDescription(a1); if ( v16 ) { v18 = (GameLevelManager *)GameLevelManager::sharedState((GameLevelManager *)v16); *((_QWORD *)v18 + 170) = (char *)a1 + 1064; v19 = (cocos2d::CCObject *)GameLevelManager::sharedState(v18); v20 = *((_QWORD *)a1 + 136); v21 = *(_DWORD *)(v20 + 316); v30 = 0; v31 = 0; v32 = nullptr; if ( (*(_BYTE *)(v20 + 400) & 1) != 0 ) { std::string::__init(&v30, *(void **)(v20 + 416), *(_QWORD *)(v20 + 408)); } else { v22 = *(_QWORD *)(v20 + 408); v30 = *(_QWORD *)(v20 + 400); v31 = v22; v32 = *(void **)(v20 + 416); } updated = (unsigned __int8)GameLevelManager::updateEditorSoundDescription( v19, (const char *)v21, (__int64)&v30, a3); if ( (v30 & 1) != 0 ) operator delete(v32); if ( updated ) { v24 = *((_QWORD *)a1 + 150); if ( v24 ) { *(_QWORD *)(v24 + 664) = 0; *((_QWORD *)a1 + 150) = 0; } v30 = 0; v31 = 0; v32 = nullptr; std::string::__init(&v30, "Updating description...", 0x17u); v25 = UploadActionPopup::create((__int64)a1 + 1072, (char *)&v30); v26 = v30; *((_QWORD *)a1 + 150) = v25; if ( (v26 & 1) != 0 ) { operator delete(v32); v25 = *((_QWORD *)a1 + 150); } (*(void (__fastcall **)(__int64))(*(_QWORD *)v25 + 1312LL))(v25); } } } return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source