//
// sub_100952310 from 0x100952310 to 0x100952381 (113 bytes)
//
// 0 xrefs:
//
// 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:38:39 +0000
//
__int64 __fastcall sub_100952310(__int64 a1, __int64 a2, __int64 a3)
{
int v3; // r14d
__int64 v4; // rax
if ( !a2 )
return 0;
*(_QWORD *)(a1 + 1040) = a3;
*(_QWORD *)(a1 + 1032) = a2;
cocos2d::CCObject::retain(a2);
v3 = *(_DWORD *)(*(_QWORD *)(a1 + 1032) + 200LL);
v4 = GJAccountManager::sharedState(a2, a2);
return ThreadDescPopup::buildUI(
a1,
v3 == *(_DWORD *)(v4 + 352) - *(_DWORD *)(v4 + 356),
*(_QWORD *)(a1 + 1032) + 216LL,
*(_QWORD *)(a1 + 1032) + 240LL);
}