{"type": "func", "start": 5371256752, "end": 5371256966, "name": "GJUserScore::isCurrentUser", "pseudocode": "// \n// GJUserScore::isCurrentUser from 0x14026dfb0 to 0x14026e086 (214 bytes)\n// \n// 4 xrefs:\n// > CustomListView::setupList @ 0x1401466e2\n// > GJScoreCell::loadFromScore @ 0x140155807\n// > GJLevelScoreCell::loadFromScore @ 0x140157638\n// > <???> @ 0x14091ca6c\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:28:53 +0000\n// \n\n// Hidden C++ exception states: #wind=1\n__int64 __fastcall GJUserScore::isCurrentUser(__int64 a1)\n{\n  char v2; // di\n  __int64 v3; // rax\n  int v4; // edx\n  __int64 v5; // rdx\n  unsigned __int8 v6; // bl\n  void *v8; // [rsp+28h] [rbp-40h]\n  _QWORD Buf2[4]; // [rsp+30h] [rbp-38h] BYREF\n\n  v2 = 0;\n  v3 = GJAccountManager::sharedState(a1);\n  v4 = *(_DWORD *)(v3 + 360) - *(_DWORD *)(v3 + 364);\n  if ( !v4 || v4 != *(_DWORD *)(a1 + 392) )\n  {\n    v5 = qword_14090BFD0;\n    if ( !qword_14090BFD0 )\n    {\n      v8 = operator new(0x6E8u);\n      qword_14090BFD0 = GameManager::GameManager(v8);\n      (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BFD0 + 72LL))(qword_14090BFD0);\n      v5 = qword_14090BFD0;\n    }\n    sub_14003F4F0((__int64)Buf2, v5 + 624);\n    v2 = 3;\n    if ( sub_14003D160((_QWORD *)(a1 + 352), Buf2) )\n    {\n      v6 = 0;\nLABEL_8:\n      sub_14003D310((__int64)Buf2);\n      return v6;\n    }\n  }\n  v6 = 1;\n  if ( (v2 & 1) != 0 )\n    goto LABEL_8;\n  return v6;\n}", "assembly": "; \n; GJUserScore::isCurrentUser from 0x14026dfb0 to 0x14026e086 (214 bytes)\n; \n; 4 xrefs:\n; > CustomListView::setupList @ 0x1401466e2\n; > GJScoreCell::loadFromScore @ 0x140155807\n; > GJLevelScoreCell::loadFromScore @ 0x140157638\n; > <???> @ 0x14091ca6c\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:28:53 +0000\n; \nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x14026dfb0\npush    rdi                                                            ; +0x5, 0x14026dfb5\nsub     rsp, 60h                                                       ; +0x6, 0x14026dfb6\nmov     rax, cs:__security_cookie                                      ; +0xa, 0x14026dfba\nxor     rax, rsp                                                       ; +0x11, 0x14026dfc1\nmov     [rsp+68h+var_18], rax                                          ; +0x14, 0x14026dfc4\nmov     rbx, rcx                                                       ; +0x19, 0x14026dfc9\nxor     edi, edi                                                       ; +0x1c, 0x14026dfcc\nmov     dword ptr [rsp+68h+var_40], edi                                ; +0x1e, 0x14026dfce\ncall    GJAccountManager__sharedState                                  ; +0x22, 0x14026dfd2\nmov     edx, [rax+168h]                                                ; +0x27, 0x14026dfd7\nsub     edx, [rax+16Ch]                                                ; +0x2d, 0x14026dfdd\njz      short loc_14026DFED                                            ; +0x33, 0x14026dfe3\ncmp     edx, [rbx+188h]                                                ; +0x35, 0x14026dfe5\njz      short loc_14026E05A                                            ; +0x3b, 0x14026dfeb\nmov     rdx, cs:qword_14090BFD0                                        ; +0x3d, 0x14026dfed\ntest    rdx, rdx                                                       ; +0x44, 0x14026dff4\njnz     short loc_14026E02B                                            ; +0x47, 0x14026dff7\nmov     ecx, 6E8h; Size                                                ; +0x49, 0x14026dff9\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x4e, 0x14026dffe\nmov     [rsp+68h+var_40], rax                                          ; +0x53, 0x14026e003\nmov     rcx, rax                                                       ; +0x58, 0x14026e008\ncall    GameManager__GameManager                                       ; +0x5b, 0x14026e00b\nnop                                                                    ; +0x60, 0x14026e010\nmov     cs:qword_14090BFD0, rax                                        ; +0x61, 0x14026e011\nmov     rcx, [rax]                                                     ; +0x68, 0x14026e018\nmov     rdx, [rcx+48h]                                                 ; +0x6b, 0x14026e01b\nmov     rcx, rax                                                       ; +0x6f, 0x14026e01f\ncall    rdx                                                            ; +0x72, 0x14026e022\nmov     rdx, cs:qword_14090BFD0                                        ; +0x74, 0x14026e024\nadd     rdx, 270h                                                      ; +0x7b, 0x14026e02b\nlea     rcx, [rsp+68h+Buf2]                                            ; +0x82, 0x14026e032\ncall    sub_14003F4F0                                                  ; +0x87, 0x14026e037\nmov     edi, 3                                                         ; +0x8c, 0x14026e03c\nlea     rcx, [rbx+160h]; Buf1                                          ; +0x91, 0x14026e041\nlea     rdx, [rsp+68h+Buf2]; Buf2                                      ; +0x98, 0x14026e048\ncall    sub_14003D160                                                  ; +0x9d, 0x14026e04d\ntest    eax, eax                                                       ; +0xa2, 0x14026e052\njz      short loc_14026E05A                                            ; +0xa4, 0x14026e054\nxor     bl, bl                                                         ; +0xa6, 0x14026e056\njmp     short loc_14026E061                                            ; +0xa8, 0x14026e058\nmov     bl, 1                                                          ; +0xaa, 0x14026e05a\ntest    bl, dil                                                        ; +0xac, 0x14026e05c\njz      short loc_14026E06B                                            ; +0xaf, 0x14026e05f\nlea     rcx, [rsp+68h+Buf2]                                            ; +0xb1, 0x14026e061\ncall    sub_14003D310                                                  ; +0xb6, 0x14026e066\nmovzx   eax, bl                                                        ; +0xbb, 0x14026e06b\nmov     rcx, [rsp+68h+var_18]                                          ; +0xbe, 0x14026e06e\nxor     rcx, rsp; StackCookie                                          ; +0xc3, 0x14026e073\ncall    __security_check_cookie                                        ; +0xc6, 0x14026e076\nmov     rbx, [rsp+68h+arg_0]                                           ; +0xcb, 0x14026e07b\nadd     rsp, 60h                                                       ; +0xd0, 0x14026e080\npop     rdi                                                            ; +0xd4, 0x14026e084\nretn                                                                   ; +0xd5, 0x14026e085", "xrefs": ["CustomListView::setupList @ 0x1401466e2", "GJScoreCell::loadFromScore @ 0x140155807", "GJLevelScoreCell::loadFromScore @ 0x140157638", "<???> @ 0x14091ca6c"], "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"}