{"type": "func", "start": 5372662384, "end": 5372662614, "name": "ProfilePage::updateUserScoreFinished", "pseudocode": "// \n// ProfilePage::updateUserScoreFinished from 0x1403c5270 to 0x1403c5356 (230 bytes)\n// \n// 3 xrefs:\n// > sub_1403C89FC @ 0x1403c8a00\n// > <???> @ 0x1405cb238\n// > <???> @ 0x1406d7820\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\n// Hidden C++ exception states: #wind=2\nvoid ProfilePage::updateUserScoreFinished(ProfilePage *a1)\n{\n  __int64 v2; // rcx\n  struct cocos2d::CCObject *v3; // rax\n  __int64 v4; // rdx\n  GameLevelManager *v5; // rcx\n  void *v6; // [rsp+30h] [rbp+8h]\n  void *v7; // [rsp+30h] [rbp+8h]\n\n  v2 = qword_1406C2EC0;\n  if ( !qword_1406C2EC0 )\n  {\n    v6 = operator new(0x3D0u);\n    qword_1406C2EC0 = sub_140141280((__int64)v6);\n    (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2EC0 + 72LL))(qword_1406C2EC0);\n    v2 = qword_1406C2EC0;\n  }\n  v3 = cocos2d::CCDictionary::objectForKey(*(cocos2d::CCDictionary **)(v2 + 600), SLODWORD(a1->m_fRotationX));\n  if ( v3 )\n  {\n    (**(void (__fastcall ***)(int *, struct cocos2d::CCObject *))&a1->m_nTag)(&a1->m_nTag, v3);\n  }\n  else\n  {\n    LOBYTE(v4) = 1;\n    (*(void (__fastcall **)(_QWORD, __int64))(**(_QWORD **)&a1->m_sInverse.ty + 320LL))(\n      *(_QWORD *)&a1->m_sInverse.ty,\n      v4);\n    ((void (__fastcall *)(cocos2d::CCGridBase *, _QWORD))a1->m_pGrid->FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCNode::__vftable[3].update)(\n      a1->m_pGrid,\n      0);\n    ProfilePage::setupCommentsBrowser((ProfilePage *)((char *)a1 - 640), nullptr);\n    v5 = (GameLevelManager *)qword_1406C2EC0;\n    if ( !qword_1406C2EC0 )\n    {\n      v7 = operator new(0x3D0u);\n      qword_1406C2EC0 = sub_140141280((__int64)v7);\n      (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2EC0 + 72LL))(qword_1406C2EC0);\n      v5 = (GameLevelManager *)qword_1406C2EC0;\n    }\n    GameLevelManager::getGJUserInfo(v5, LODWORD(a1->m_fRotationX));\n  }\n}", "assembly": "; \n; ProfilePage::updateUserScoreFinished from 0x1403c5270 to 0x1403c5356 (230 bytes)\n; \n; 3 xrefs:\n; > sub_1403C89FC @ 0x1403c8a00\n; > <???> @ 0x1405cb238\n; > <???> @ 0x1406d7820\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\npush    rbx                                                            ; +0x0, 0x1403c5270\nsub     rsp, 20h                                                       ; +0x2, 0x1403c5272\nmov     rbx, rcx                                                       ; +0x6, 0x1403c5276\nmov     rcx, cs:qword_1406C2EC0                                        ; +0x9, 0x1403c5279\ntest    rcx, rcx                                                       ; +0x10, 0x1403c5280\njnz     short loc_1403C52B4                                            ; +0x13, 0x1403c5283\nmov     ecx, 3D0h; Size                                                ; +0x15, 0x1403c5285\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x1a, 0x1403c528a\nmov     [rsp+28h+arg_0], rax                                           ; +0x1f, 0x1403c528f\nmov     rcx, rax                                                       ; +0x24, 0x1403c5294\ncall    sub_140141280                                                  ; +0x27, 0x1403c5297\nnop                                                                    ; +0x2c, 0x1403c529c\nmov     cs:qword_1406C2EC0, rax                                        ; +0x2d, 0x1403c529d\nmov     rdx, [rax]                                                     ; +0x34, 0x1403c52a4\nmov     rcx, rax                                                       ; +0x37, 0x1403c52a7\ncall    qword ptr [rdx+48h]                                            ; +0x3a, 0x1403c52aa\nmov     rcx, cs:qword_1406C2EC0                                        ; +0x3d, 0x1403c52ad\nmovsxd  rdx, dword ptr [rbx+38h]                                       ; +0x44, 0x1403c52b4\nmov     rcx, [rcx+258h]                                                ; +0x48, 0x1403c52b8\ncall    cs:?objectForKey@CCDictionary@cocos2d@@QEAAPEAVCCObject@2@_J@Z; cocos2d::CCDictionary::objectForKey(__int64) ; +0x4f, 0x1403c52bf\ntest    rax, rax                                                       ; +0x55, 0x1403c52c5\njz      short loc_1403C52DC                                            ; +0x58, 0x1403c52c8\nlea     rcx, [rbx+10h]                                                 ; +0x5a, 0x1403c52ca\nmov     r8, [rcx]                                                      ; +0x5e, 0x1403c52ce\nmov     rdx, rax                                                       ; +0x61, 0x1403c52d1\nadd     rsp, 20h                                                       ; +0x64, 0x1403c52d4\npop     rbx                                                            ; +0x68, 0x1403c52d8\njmp     qword ptr [r8]                                                 ; +0x69, 0x1403c52d9\nmov     rcx, [rbx+0B8h]                                                ; +0x6c, 0x1403c52dc\nmov     rax, [rcx]                                                     ; +0x73, 0x1403c52e3\nmov     dl, 1                                                          ; +0x76, 0x1403c52e6\ncall    qword ptr [rax+140h]                                           ; +0x78, 0x1403c52e8\nmov     rcx, [rbx+0C8h]                                                ; +0x7e, 0x1403c52ee\nmov     rax, [rcx]                                                     ; +0x85, 0x1403c52f5\nxor     edx, edx                                                       ; +0x88, 0x1403c52f8\ncall    qword ptr [rax+140h]                                           ; +0x8a, 0x1403c52fa\nlea     rcx, [rbx-280h]                                                ; +0x90, 0x1403c5300\nxor     edx, edx                                                       ; +0x97, 0x1403c5307\ncall    ProfilePage__setupCommentsBrowser                              ; +0x99, 0x1403c5309\nmov     rcx, cs:qword_1406C2EC0                                        ; +0x9e, 0x1403c530e\ntest    rcx, rcx                                                       ; +0xa5, 0x1403c5315\njnz     short loc_1403C5349                                            ; +0xa8, 0x1403c5318\nmov     ecx, 3D0h; Size                                                ; +0xaa, 0x1403c531a\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0xaf, 0x1403c531f\nmov     [rsp+28h+arg_0], rax                                           ; +0xb4, 0x1403c5324\nmov     rcx, rax                                                       ; +0xb9, 0x1403c5329\ncall    sub_140141280                                                  ; +0xbc, 0x1403c532c\nnop                                                                    ; +0xc1, 0x1403c5331\nmov     cs:qword_1406C2EC0, rax                                        ; +0xc2, 0x1403c5332\nmov     rdx, [rax]                                                     ; +0xc9, 0x1403c5339\nmov     rcx, rax                                                       ; +0xcc, 0x1403c533c\ncall    qword ptr [rdx+48h]                                            ; +0xcf, 0x1403c533f\nmov     rcx, cs:qword_1406C2EC0                                        ; +0xd2, 0x1403c5342\nmov     edx, [rbx+38h]                                                 ; +0xd9, 0x1403c5349\nadd     rsp, 20h                                                       ; +0xdc, 0x1403c534c\npop     rbx                                                            ; +0xe0, 0x1403c5350\njmp     GameLevelManager__getGJUserInfo                                ; +0xe1, 0x1403c5351", "xrefs": ["sub_1403C89FC @ 0x1403c8a00", "<???> @ 0x1405cb238", "<???> @ 0x1406d7820"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}