//
// InfoLayer::commentUploadFinished from 0x1403d2340 to 0x1403d23fb (187 bytes)
//
// 2 xrefs:
// > ??> @ 0x140785830
// > ??> @ 0x140924764
//
// 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=1
void __fastcall InfoLayer::commentUploadFinished(__int64 a1, int a2)
{
int v2; // r8d
__int64 v3; // rbx
__int64 v4; // rax
int ID; // eax
__int64 v6; // rcx
void *v7; // [rsp+30h] [rbp+8h]
v2 = a2;
if ( !*(_QWORD *)(a1 + 32) || *(_BYTE *)(a1 + 216) )
{
v3 = a1 - 672;
v4 = *(_QWORD *)(a1 - 672 + 704);
if ( v4 && *(_BYTE *)(v3 + 888) )
ID = *(_DWORD *)(v4 + 392);
else
ID = InfoLayer::getID((_QWORD *)(a1 - 672));
if ( v2 == ID )
{
v6 = qword_14090BFD0;
if ( !qword_14090BFD0 )
{
v7 = operator new(0x6E8u);
qword_14090BFD0 = GameManager::GameManager((__int64)v7);
(*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BFD0 + 72LL))(qword_14090BFD0);
v6 = qword_14090BFD0;
}
GameManager::setGameVariable(v6, "0069", 0);
InfoLayer::updateCommentModeButtons(v3);
InfoLayer::loadPage(v3, 0, 0);
}
}
}