//
// GameLevelManager::storeSearchResult from 0x809a54 to 0x809c10 (444 bytes)
//
// 10 xrefs:
// > GameLevelManager::onGetTopArtistsCompleted @ 0x810a98
// > GameLevelManager::onGetGauntletsCompleted @ 0x81b138
// > GameLevelManager::onGetMapPacksCompleted @ 0x81e404
// > GameLevelManager::onGetOnlineLevelsCompleted @ 0x848688
// > GameLevelManager::onGetLevelListsCompleted @ 0x848d28
// > GameLevelManager::onGetEditorSoundsCompleted @ 0x8491d8
// > GameLevelManager::onGetLeaderboardScoresCompleted @ 0x84980c
// > GameLevelManager::onGetLevelLeaderboardCompleted @ 0x849b00
// > GameLevelManager::onGetUsersCompleted @ 0x849e50
// > ??> @ 0x6f340
//
// 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 12:54:47 +0000
//
__int64 __fastcall GameLevelManager::storeSearchResult(
GameLevelManager *a1,
cocos2d::CCObject *a2,
__int64 a3,
char *a4)
{
size_t v8; // x0
__int64 v9; // x25
__int64 v10; // x23
const char *v11; // x1
size_t v12; // x0
cocos2d::CCObject *v13; // x22
size_t v14; // x0
char *v16; // [xsp+58h] [xbp+58h]
__int64 v17[2]; // [xsp+68h] [xbp+68h] BYREF
void *v18; // [xsp+78h] [xbp+78h]
__int64 v19; // [xsp+80h] [xbp+80h] BYREF
__int64 v20; // [xsp+88h] [xbp+88h]
void *v21; // [xsp+90h] [xbp+90h]
if ( a2 )
{
GameLevelManager::makeTimeStamp(a1, a4);
v19 = 0;
v20 = 0;
v21 = nullptr;
v8 = strlen(a4);
v9 = *((_QWORD *)a1 + 130);
std::string::__init(&v19, a4, v8);
cocos2d::CCDictionary::setObject(v9, a2);
if ( (v19 & 1) != 0 )
operator delete(v21);
v10 = *((_QWORD *)a1 + 131);
v11 = (const char *)(a3 + 1);
if ( (*(_BYTE *)a3 & 1) != 0 )
v11 = *(const char **)(a3 + 16);
v16 = (char *)v11;
v17[0] = 0;
v17[1] = 0;
v18 = nullptr;
v12 = strlen(v11);
std::string::__init(v17, v16, v12);
v13 = (cocos2d::CCObject *)cocos2d::CCString::create(v17);
v19 = 0;
v20 = 0;
v21 = nullptr;
v14 = strlen(a4);
std::string::__init(&v19, a4, v14);
cocos2d::CCDictionary::setObject(v10, v13);
if ( (v19 & 1) != 0 )
operator delete(v21);
if ( (v17[0] & 1) != 0 )
operator delete(v18);
}
return _stack_chk_guard;
}