//
// ProfilePage::updateUserScoreFinished from 0x1403c5270 to 0x1403c5356 (230 bytes)
//
// 3 xrefs:
// > sub_1403C89FC @ 0x1403c8a00
// > ??> @ 0x1405cb238
// > ??> @ 0x1406d7820
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
// Hidden C++ exception states: #wind=2
void ProfilePage::updateUserScoreFinished(ProfilePage *a1)
{
__int64 v2; // rcx
struct cocos2d::CCObject *v3; // rax
__int64 v4; // rdx
GameLevelManager *v5; // rcx
void *v6; // [rsp+30h] [rbp+8h]
void *v7; // [rsp+30h] [rbp+8h]
v2 = qword_1406C2EC0;
if ( !qword_1406C2EC0 )
{
v6 = operator new(0x3D0u);
qword_1406C2EC0 = sub_140141280((__int64)v6);
(*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2EC0 + 72LL))(qword_1406C2EC0);
v2 = qword_1406C2EC0;
}
v3 = cocos2d::CCDictionary::objectForKey(*(cocos2d::CCDictionary **)(v2 + 600), SLODWORD(a1->m_fRotationX));
if ( v3 )
{
(**(void (__fastcall ***)(int *, struct cocos2d::CCObject *))&a1->m_nTag)(&a1->m_nTag, v3);
}
else
{
LOBYTE(v4) = 1;
(*(void (__fastcall **)(_QWORD, __int64))(**(_QWORD **)&a1->m_sInverse.ty + 320LL))(
*(_QWORD *)&a1->m_sInverse.ty,
v4);
((void (__fastcall *)(cocos2d::CCGridBase *, _QWORD))a1->m_pGrid->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCNode::__vftable[3].update)(
a1->m_pGrid,
0);
ProfilePage::setupCommentsBrowser((ProfilePage *)((char *)a1 - 640), nullptr);
v5 = (GameLevelManager *)qword_1406C2EC0;
if ( !qword_1406C2EC0 )
{
v7 = operator new(0x3D0u);
qword_1406C2EC0 = sub_140141280((__int64)v7);
(*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2EC0 + 72LL))(qword_1406C2EC0);
v5 = (GameLevelManager *)qword_1406C2EC0;
}
GameLevelManager::getGJUserInfo(v5, LODWORD(a1->m_fRotationX));
}
}