//
// GameLevelManager::storeCommentsResult from 0x4afdbc to 0x4afe8e (210 bytes)
//
// 4 xrefs:
// > GameLevelManager::onGetUserMessagesCompleted @ 0x4d282c
// > GameLevelManager::onGetLevelCommentsCompleted @ 0x4d2cf2
// > GameLevelManager::onGetAccountCommentsCompleted @ 0x4d2f16
// > GameLevelManager::onGetFriendRequestsCompleted @ 0x4d4e2c
//
// 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:50:02 +0000
//
int __fastcall GameLevelManager::storeCommentsResult(GameLevelManager *a1, cocos2d::CCObject *a2, float a3, char *a4)
{
size_t v8; // r0
int v9; // r10
int v10; // r9
const char *v11; // r6
size_t v12; // r0
cocos2d::CCObject *v13; // r6
size_t v14; // r0
int v16[3]; // [sp+4h] [bp-1Ch] BYREF
int v17; // [sp+10h] [bp-10h] BYREF
int v18; // [sp+14h] [bp-Ch]
int v19; // [sp+18h] [bp-8h]
GameLevelManager::makeTimeStamp(a1, a4, a3, _stack_chk_guard);
v17 = 0;
v18 = 0;
v19 = 0;
v8 = strlen(a4);
v9 = *((_DWORD *)a1 + 181);
std::string::__init(&v17, a4, v8);
cocos2d::CCDictionary::setObject(v9, a2);
std::string::~string((int)&v17);
v10 = *((_DWORD *)a1 + 182);
if ( (*(_BYTE *)LODWORD(a3) & 1) != 0 )
v11 = *(const char **)(LODWORD(a3) + 8);
else
v11 = (const char *)(LODWORD(a3) + 1);
memset(v16, 0, sizeof(v16));
v12 = strlen(v11);
std::string::__init(v16, v11, v12);
v13 = (cocos2d::CCObject *)cocos2d::CCString::create(v16);
v17 = 0;
v18 = 0;
v19 = 0;
v14 = strlen(a4);
std::string::__init(&v17, a4, v14);
cocos2d::CCDictionary::setObject(v10, v13);
std::string::~string((int)&v17);
return std::string::~string((int)v16);
}