//
// InfoLayer::updateUserScoreFinished from 0x1403d2200 to 0x1403d2313 (275 bytes)
//
// 2 xrefs:
// > ??> @ 0x140785948
// > ??> @ 0x140924758
//
// 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 11:31:35 +0000
//
// Hidden C++ exception states: #wind=2
void __fastcall InfoLayer::updateUserScoreFinished(__int64 a1)
{
int v2; // edi
__int64 v3; // rsi
cocos2d::CCActionManager **v4; // rbp
unsigned int ID; // eax
int v6; // r8d
void *v7; // [rsp+50h] [rbp+8h]
void *v8; // [rsp+50h] [rbp+8h]
if ( *(_BYTE *)(a1 + 216) )
{
*(_BYTE *)(a1 + 216) = 0;
if ( *(_BYTE *)(a1 + 224) )
v2 = (*(_QWORD *)(a1 + 40) != 0) + 4;
else
v2 = *(_DWORD *)(a1 + 220);
v3 = qword_14090BFD0;
if ( !qword_14090BFD0 )
{
v7 = operator new(0x6E8u);
qword_14090BFD0 = GameManager::GameManager((__int64)v7);
(*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BFD0 + 72LL))(qword_14090BFD0);
v3 = qword_14090BFD0;
}
v4 = *(cocos2d::CCActionManager ***)&qword_14090BFB0;
if ( !*(_QWORD *)&qword_14090BFB0 )
{
v8 = operator new(0x690u);
*(_QWORD *)&qword_14090BFB0 = GameLevelManager::GameLevelManager((__int64)v8);
(*(void (__fastcall **)(_QWORD))(**(_QWORD **)&qword_14090BFB0 + 72LL))(*(_QWORD *)&qword_14090BFB0);
v4 = *(cocos2d::CCActionManager ***)&qword_14090BFB0;
}
GameManager::getGameVariable(v3, "0069");
ID = InfoLayer::getID((_QWORD *)(a1 - 664));
GameLevelManager::getLevelComments(v4, ID, *(_DWORD *)(a1 + 212), *(_DWORD *)(a1 + 200), v6, v2);
}
}