{"type": "func", "start": 5372715840, "end": 5372716027, "name": "InfoLayer::commentUploadFinished", "pseudocode": "// \n// InfoLayer::commentUploadFinished from 0x1403d2340 to 0x1403d23fb (187 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x140785830\n// > <???> @ 0x140924764\n// \n// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 11:31:35 +0000\n// \n\n// Hidden C++ exception states: #wind=1\nvoid __fastcall InfoLayer::commentUploadFinished(__int64 a1, int a2)\n{\n  int v2; // r8d\n  __int64 v3; // rbx\n  __int64 v4; // rax\n  int ID; // eax\n  __int64 v6; // rcx\n  void *v7; // [rsp+30h] [rbp+8h]\n\n  v2 = a2;\n  if ( !*(_QWORD *)(a1 + 32) || *(_BYTE *)(a1 + 216) )\n  {\n    v3 = a1 - 672;\n    v4 = *(_QWORD *)(a1 - 672 + 704);\n    if ( v4 && *(_BYTE *)(v3 + 888) )\n      ID = *(_DWORD *)(v4 + 392);\n    else\n      ID = InfoLayer::getID((_QWORD *)(a1 - 672));\n    if ( v2 == ID )\n    {\n      v6 = qword_14090BFD0;\n      if ( !qword_14090BFD0 )\n      {\n        v7 = operator new(0x6E8u);\n        qword_14090BFD0 = GameManager::GameManager((__int64)v7);\n        (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BFD0 + 72LL))(qword_14090BFD0);\n        v6 = qword_14090BFD0;\n      }\n      GameManager::setGameVariable(v6, \"0069\", 0);\n      InfoLayer::updateCommentModeButtons(v3);\n      InfoLayer::loadPage(v3, 0, 0);\n    }\n  }\n}", "assembly": "; \n; InfoLayer::commentUploadFinished from 0x1403d2340 to 0x1403d23fb (187 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x140785830\n; > <???> @ 0x140924764\n; \n; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 11:31:35 +0000\n; \npush    rbx                                                            ; +0x0, 0x1403d2340\nsub     rsp, 20h                                                       ; +0x2, 0x1403d2342\nmov     r8d, edx                                                       ; +0x6, 0x1403d2346\ncmp     qword ptr [rcx+20h], 0                                         ; +0x9, 0x1403d2349\njz      short loc_1403D235D                                            ; +0xe, 0x1403d234e\ncmp     byte ptr [rcx+0D8h], 0                                         ; +0x10, 0x1403d2350\njz      loc_1403D23F5                                                  ; +0x17, 0x1403d2357\nlea     rbx, [rcx-2A0h]                                                ; +0x1d, 0x1403d235d\nmov     rax, [rbx+2C0h]                                                ; +0x24, 0x1403d2364\ntest    rax, rax                                                       ; +0x2b, 0x1403d236b\njz      short loc_1403D2381                                            ; +0x2e, 0x1403d236e\ncmp     byte ptr [rbx+378h], 0                                         ; +0x30, 0x1403d2370\njz      short loc_1403D2381                                            ; +0x37, 0x1403d2377\nmov     eax, [rax+188h]                                                ; +0x39, 0x1403d2379\njmp     short loc_1403D2389                                            ; +0x3f, 0x1403d237f\nmov     rcx, rbx                                                       ; +0x41, 0x1403d2381\ncall    InfoLayer__getID                                               ; +0x44, 0x1403d2384\ncmp     r8d, eax                                                       ; +0x49, 0x1403d2389\njnz     short loc_1403D23F5                                            ; +0x4c, 0x1403d238c\nmov     rcx, cs:qword_14090BFD0                                        ; +0x4e, 0x1403d238e\ntest    rcx, rcx                                                       ; +0x55, 0x1403d2395\njnz     short loc_1403D23CC                                            ; +0x58, 0x1403d2398\nmov     ecx, 6E8h; Size                                                ; +0x5a, 0x1403d239a\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x5f, 0x1403d239f\nmov     [rsp+28h+arg_0], rax                                           ; +0x64, 0x1403d23a4\nmov     rcx, rax                                                       ; +0x69, 0x1403d23a9\ncall    GameManager__GameManager                                       ; +0x6c, 0x1403d23ac\nnop                                                                    ; +0x71, 0x1403d23b1\nmov     cs:qword_14090BFD0, rax                                        ; +0x72, 0x1403d23b2\nmov     rcx, [rax]                                                     ; +0x79, 0x1403d23b9\nmov     rdx, [rcx+48h]                                                 ; +0x7c, 0x1403d23bc\nmov     rcx, rax                                                       ; +0x80, 0x1403d23c0\ncall    rdx                                                            ; +0x83, 0x1403d23c3\nmov     rcx, cs:qword_14090BFD0                                        ; +0x85, 0x1403d23c5\nxor     r8d, r8d                                                       ; +0x8c, 0x1403d23cc\nlea     rdx, a0069; \"0069\"                                             ; +0x8f, 0x1403d23cf\ncall    GameManager__setGameVariable                                   ; +0x96, 0x1403d23d6\nmov     rcx, rbx                                                       ; +0x9b, 0x1403d23db\ncall    InfoLayer__updateCommentModeButtons                            ; +0x9e, 0x1403d23de\nxor     r8d, r8d                                                       ; +0xa3, 0x1403d23e3\nxor     edx, edx                                                       ; +0xa6, 0x1403d23e6\nmov     rcx, rbx                                                       ; +0xa8, 0x1403d23e8\nadd     rsp, 20h                                                       ; +0xab, 0x1403d23eb\npop     rbx                                                            ; +0xaf, 0x1403d23ef\njmp     InfoLayer__loadPage                                            ; +0xb0, 0x1403d23f0\nadd     rsp, 20h                                                       ; +0xb5, 0x1403d23f5\npop     rbx                                                            ; +0xb9, 0x1403d23f9\nretn                                                                   ; +0xba, 0x1403d23fa", "xrefs": ["<???> @ 0x140785830", "<???> @ 0x140924764"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}