//
// GameLevelManager::storeUserInfo from 0x100567760 to 0x10056780f (175 bytes)
//
// 1 xrefs:
// > GameLevelManager::onGetGJUserInfoCompleted @ 0x1005283cd
//
// 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:11 +0000
//
void __fastcall GameLevelManager::storeUserInfo(__int64 a1, __int64 a2)
{
__int64 v2; // rdx
int v3; // r15d
int v4; // r12d
std::string v5[2]; // [rsp+0h] [rbp-40h] BYREF
if ( a2 )
{
v2 = *(int *)(a2 + 376);
if ( v2 > 0 )
{
cocos2d::CCDictionary::setObject_1(*(_QWORD *)(a1 + 1120), a2, v2);
v3 = *(_DWORD *)(a2 + 372);
v4 = *(_DWORD *)(a2 + 376);
if ( (*(_BYTE *)(a2 + 320) & 1) != 0 )
sub_10001AD30(v5, *(const void **)(a2 + 336), *(_QWORD *)(a2 + 328));
else
v5[0] = *(std::string *)(a2 + 320);
GameLevelManager::storeUserName(a1, v3, v4, v5);
if ( (*(_BYTE *)&v5[0].__r_.__value_.__s.0 & 1) != 0 )
operator delete(v5[0].__r_.__value_.__l.__data_);
}
}
}