{"type": "func", "start": 5372715520, "end": 5372715795, "name": "InfoLayer::updateUserScoreFinished", "pseudocode": "// \n// InfoLayer::updateUserScoreFinished from 0x1403d2200 to 0x1403d2313 (275 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x140785948\n// > <???> @ 0x140924758\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=2\nvoid __fastcall InfoLayer::updateUserScoreFinished(__int64 a1)\n{\n  int v2; // edi\n  __int64 v3; // rsi\n  cocos2d::CCActionManager **v4; // rbp\n  unsigned int ID; // eax\n  int v6; // r8d\n  void *v7; // [rsp+50h] [rbp+8h]\n  void *v8; // [rsp+50h] [rbp+8h]\n\n  if ( *(_BYTE *)(a1 + 216) )\n  {\n    *(_BYTE *)(a1 + 216) = 0;\n    if ( *(_BYTE *)(a1 + 224) )\n      v2 = (*(_QWORD *)(a1 + 40) != 0) + 4;\n    else\n      v2 = *(_DWORD *)(a1 + 220);\n    v3 = 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      v3 = qword_14090BFD0;\n    }\n    v4 = *(cocos2d::CCActionManager ***)&qword_14090BFB0;\n    if ( !*(_QWORD *)&qword_14090BFB0 )\n    {\n      v8 = operator new(0x690u);\n      *(_QWORD *)&qword_14090BFB0 = GameLevelManager::GameLevelManager((__int64)v8);\n      (*(void (__fastcall **)(_QWORD))(**(_QWORD **)&qword_14090BFB0 + 72LL))(*(_QWORD *)&qword_14090BFB0);\n      v4 = *(cocos2d::CCActionManager ***)&qword_14090BFB0;\n    }\n    GameManager::getGameVariable(v3, \"0069\");\n    ID = InfoLayer::getID((_QWORD *)(a1 - 664));\n    GameLevelManager::getLevelComments(v4, ID, *(_DWORD *)(a1 + 212), *(_DWORD *)(a1 + 200), v6, v2);\n  }\n}", "assembly": "; \n; InfoLayer::updateUserScoreFinished from 0x1403d2200 to 0x1403d2313 (275 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x140785948\n; > <???> @ 0x140924758\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; \nmov     [rsp+arg_8], rbx                                               ; +0x0, 0x1403d2200\nmov     [rsp+arg_10], rbp                                              ; +0x5, 0x1403d2205\npush    rsi                                                            ; +0xa, 0x1403d220a\npush    rdi                                                            ; +0xb, 0x1403d220b\npush    r14                                                            ; +0xc, 0x1403d220c\nsub     rsp, 30h                                                       ; +0xe, 0x1403d220e\nmov     rbx, rcx                                                       ; +0x12, 0x1403d2212\ncmp     byte ptr [rcx+0D8h], 0                                         ; +0x15, 0x1403d2215\njz      loc_1403D2300                                                  ; +0x1c, 0x1403d221c\nmov     byte ptr [rcx+0D8h], 0                                         ; +0x22, 0x1403d2222\ncmp     byte ptr [rcx+0E0h], 0                                         ; +0x29, 0x1403d2229\njnz     short loc_1403D223A                                            ; +0x30, 0x1403d2230\nmov     edi, [rcx+0DCh]                                                ; +0x32, 0x1403d2232\njmp     short loc_1403D2247                                            ; +0x38, 0x1403d2238\nxor     edi, edi                                                       ; +0x3a, 0x1403d223a\ncmp     [rcx+28h], rdi                                                 ; +0x3c, 0x1403d223c\nsetnz   dil                                                            ; +0x40, 0x1403d2240\nadd     edi, 4                                                         ; +0x44, 0x1403d2244\nmov     rsi, cs:qword_14090BFD0                                        ; +0x47, 0x1403d2247\ntest    rsi, rsi                                                       ; +0x4e, 0x1403d224e\njnz     short loc_1403D2285                                            ; +0x51, 0x1403d2251\nmov     ecx, 6E8h; Size                                                ; +0x53, 0x1403d2253\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x58, 0x1403d2258\nmov     [rsp+48h+arg_0], rax                                           ; +0x5d, 0x1403d225d\nmov     rcx, rax                                                       ; +0x62, 0x1403d2262\ncall    GameManager__GameManager                                       ; +0x65, 0x1403d2265\nnop                                                                    ; +0x6a, 0x1403d226a\nmov     cs:qword_14090BFD0, rax                                        ; +0x6b, 0x1403d226b\nmov     rcx, [rax]                                                     ; +0x72, 0x1403d2272\nmov     rdx, [rcx+48h]                                                 ; +0x75, 0x1403d2275\nmov     rcx, rax                                                       ; +0x79, 0x1403d2279\ncall    rdx                                                            ; +0x7c, 0x1403d227c\nmov     rsi, cs:qword_14090BFD0                                        ; +0x7e, 0x1403d227e\nmov     rbp, cs:qword_14090BFB0                                        ; +0x85, 0x1403d2285\ntest    rbp, rbp                                                       ; +0x8c, 0x1403d228c\njnz     short loc_1403D22C0                                            ; +0x8f, 0x1403d228f\nmov     ecx, 690h; Size                                                ; +0x91, 0x1403d2291\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x96, 0x1403d2296\nmov     [rsp+48h+arg_0], rax                                           ; +0x9b, 0x1403d229b\nmov     rcx, rax                                                       ; +0xa0, 0x1403d22a0\ncall    GameLevelManager__GameLevelManager                             ; +0xa3, 0x1403d22a3\nnop                                                                    ; +0xa8, 0x1403d22a8\nmov     cs:qword_14090BFB0, rax                                        ; +0xa9, 0x1403d22a9\nmov     rdx, [rax]                                                     ; +0xb0, 0x1403d22b0\nmov     rcx, rax                                                       ; +0xb3, 0x1403d22b3\ncall    qword ptr [rdx+48h]                                            ; +0xb6, 0x1403d22b6\nmov     rbp, cs:qword_14090BFB0                                        ; +0xb9, 0x1403d22b9\nlea     rdx, a0069; \"0069\"                                             ; +0xc0, 0x1403d22c0\nmov     rcx, rsi                                                       ; +0xc7, 0x1403d22c7\ncall    GameManager__getGameVariable                                   ; +0xca, 0x1403d22ca\nmovzx   r8d, al                                                        ; +0xcf, 0x1403d22cf\nlea     rcx, [rbx-298h]                                                ; +0xd3, 0x1403d22d3\ncall    InfoLayer__getID                                               ; +0xda, 0x1403d22da\nmov     edx, eax                                                       ; +0xdf, 0x1403d22df\nmov     [rsp+48h+var_20], edi                                          ; +0xe1, 0x1403d22e1\nmov     [rsp+48h+var_28], r8d                                          ; +0xe5, 0x1403d22e5\nmov     r9d, [rbx+0C8h]                                                ; +0xea, 0x1403d22ea\nmov     r8d, [rbx+0D4h]                                                ; +0xf1, 0x1403d22f1\nmov     rcx, rbp                                                       ; +0xf8, 0x1403d22f8\ncall    GameLevelManager__getLevelComments                             ; +0xfb, 0x1403d22fb\nmov     rbx, [rsp+48h+arg_8]                                           ; +0x100, 0x1403d2300\nmov     rbp, [rsp+48h+arg_10]                                          ; +0x105, 0x1403d2305\nadd     rsp, 30h                                                       ; +0x10a, 0x1403d230a\npop     r14                                                            ; +0x10e, 0x1403d230e\npop     rdi                                                            ; +0x110, 0x1403d2310\npop     rsi                                                            ; +0x111, 0x1403d2311\nretn                                                                   ; +0x112, 0x1403d2312", "xrefs": ["<???> @ 0x140785948", "<???> @ 0x140924758"], "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"}