// // EditorSFXManager::overwriteMyConfigFromLive from 0x77f6ec to 0x77f7e4 (248 bytes) // // 1 xrefs: // > EditorSoundConfigInfoLayer::FLAlert_Clicked @ 0x788868 // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // 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 11:59:27 +0000 // int __fastcall EditorSFXManager::overwriteMyConfigFromLive(int a1, int a2, int *a3) { int MyConfig; // r6 int v6; // r5 int v7; // r3 _DWORD *v8; // r5 int v9; // r4 int v10; // r9 cocos2d::CCArray **v11; // r10 int v12; // r3 _BYTE v14[4]; // [sp+4h] [bp-1Ch] BYREF int v15; // [sp+8h] [bp-18h] int v16[3]; // [sp+10h] [bp-10h] BYREF MyConfig = EditorSFXManager::getMyConfig((cocos2d::CCArray **)a1, a2); if ( MyConfig ) { EditorSFXManager::serializeCompressed((EditorSFXManager *)v14, a1); if ( (v14[0] & 1) != 0 ) v7 = v15; else v7 = (int)v14[0] >> 1; if ( v7 ) { v8 = *(_DWORD **)(a1 + 8); v9 = 0; v10 = 0; while ( v8 ) { v11 = (cocos2d::CCArray **)v8[3]; if ( v11 && *v11 && cocos2d::CCArray::count(*v11) ) { ++v10; v9 += cocos2d::CCArray::count(*v11); } v8 = (_DWORD *)*v8; } std::string::basic_string(v16, (int)v14); std::string::operator=((unsigned __int8 *)(MyConfig + 372), (unsigned __int8 *)v16); v6 = 1; std::string::~string((int)v16); v12 = *(_DWORD *)(MyConfig + 276); *(_BYTE *)(MyConfig + 384) = 1; *(_DWORD *)(MyConfig + 304) = v9; *(_DWORD *)(MyConfig + 300) = v10; *(_DWORD *)(MyConfig + 276) = v12 + 1; *(_DWORD *)(MyConfig + 316) = time(nullptr); } else { if ( a3 ) std::string::assign(a3, "No active sound actions to save."); v6 = 0; } std::string::~string((int)v14); } else { v6 = 0; if ( a3 ) std::string::assign(a3, "List not found."); } return v6; }
GD Web Decomp Icon

GD Web Decomp

Raw Source