{"type": "func", "start": 4300530912, "end": 4300531150, "name": "GameLevelManager::updateUsernames", "pseudocode": "// \n// GameLevelManager::updateUsernames from 0x10054e4e0 to 0x10054e5ce (238 bytes)\n// \n// 1 xrefs:\n// > GameLevelManager::dataLoaded @ 0x100550fb2\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 12:32:02 +0000\n// \n\nvoid __fastcall GameLevelManager::updateUsernames(__int64 a1)\n{\n  __int64 v1; // rax\n  __int64 v2; // r13\n  __int64 v3; // rax\n  int v4; // r15d\n  int v5; // r12d\n  std::string v6[2]; // [rsp+0h] [rbp-40h] BYREF\n\n  v1 = *(_QWORD *)(a1 + 760);\n  if ( v1 )\n  {\n    v2 = *(_QWORD *)(v1 + 56);\n    while ( v2 )\n    {\n      v3 = *(_QWORD *)(v2 + 264);\n      v2 = *(_QWORD *)(v2 + 288);\n      v4 = *(_DWORD *)(v3 + 576) - *(_DWORD *)(v3 + 580);\n      v5 = *(_DWORD *)(v3 + 588) - *(_DWORD *)(v3 + 592);\n      if ( (*(_BYTE *)(v3 + 416) & 1) != 0 )\n        sub_10001AD30(v6, *(const void **)(v3 + 432), *(_QWORD *)(v3 + 424));\n      else\n        v6[0] = *(std::string *)(v3 + 416);\n      GameLevelManager::storeUserName(a1, v4, v5, v6);\n      if ( (*(_BYTE *)&v6[0].__r_.__value_.__s.0 & 1) != 0 )\n        operator delete(v6[0].__r_.__value_.__l.__data_);\n    }\n  }\n}", "assembly": "; \n; GameLevelManager::updateUsernames from 0x10054e4e0 to 0x10054e5ce (238 bytes)\n; \n; 1 xrefs:\n; > GameLevelManager::dataLoaded @ 0x100550fb2\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 12:32:02 +0000\n; \npush    rbp                                                            ; +0x0, 0x10054e4e0\nmov     rbp, rsp                                                       ; +0x1, 0x10054e4e1\npush    r15                                                            ; +0x4, 0x10054e4e4\npush    r14                                                            ; +0x6, 0x10054e4e6\npush    r13                                                            ; +0x8, 0x10054e4e8\npush    r12                                                            ; +0xa, 0x10054e4ea\npush    rbx                                                            ; +0xc, 0x10054e4ec\nsub     rsp, 18h                                                       ; +0xd, 0x10054e4ed\nmov     rax, [rdi+2F8h]                                                ; +0x11, 0x10054e4f1\ntest    rax, rax                                                       ; +0x18, 0x10054e4f8\njz      loc_10054E5BF                                                  ; +0x1b, 0x10054e4fb\nmov     r13, [rax+38h]                                                 ; +0x21, 0x10054e501\ntest    r13, r13                                                       ; +0x25, 0x10054e505\njz      loc_10054E5BF                                                  ; +0x28, 0x10054e508\nmov     rbx, rdi                                                       ; +0x2e, 0x10054e50e\nlea     r14, [rbp+var_40]                                              ; +0x31, 0x10054e511\njmp     short loc_10054E529                                            ; +0x35, 0x10054e515\nalign 20h                                                              ; +0x37, 0x10054e517\ntest    r13, r13                                                       ; +0x40, 0x10054e520\njz      loc_10054E5BF                                                  ; +0x43, 0x10054e523\nmov     rax, [r13+108h]                                                ; +0x49, 0x10054e529\nmov     r13, [r13+120h]                                                ; +0x50, 0x10054e530\nmov     r15d, [rax+240h]                                               ; +0x57, 0x10054e537\nmov     r12d, [rax+24Ch]                                               ; +0x5e, 0x10054e53e\nsub     r15d, [rax+244h]                                               ; +0x65, 0x10054e545\nsub     r12d, [rax+250h]                                               ; +0x6c, 0x10054e54c\ntest    byte ptr [rax+1A0h], 1                                         ; +0x73, 0x10054e553\njnz     short loc_10054E580                                            ; +0x7a, 0x10054e55a\nadd     rax, 1A0h                                                      ; +0x7c, 0x10054e55c\nmov     rcx, [rax+10h]                                                 ; +0x82, 0x10054e562\nmov     [rbp+__p], rcx                                                 ; +0x86, 0x10054e566\nmovups  xmm0, xmmword ptr [rax]                                        ; +0x8a, 0x10054e56a\nmovaps  [rbp+var_40], xmm0                                             ; +0x8d, 0x10054e56d\njmp     short loc_10054E596                                            ; +0x91, 0x10054e571\nalign 20h                                                              ; +0x93, 0x10054e573\nmov     rdx, [rax+1A8h]                                                ; +0xa0, 0x10054e580\nmov     rsi, [rax+1B0h]                                                ; +0xa7, 0x10054e587\nmov     rdi, r14                                                       ; +0xae, 0x10054e58e\ncall    sub_10001AD30                                                  ; +0xb1, 0x10054e591\nmov     rdi, rbx                                                       ; +0xb6, 0x10054e596\nmov     esi, r15d                                                      ; +0xb9, 0x10054e599\nmov     edx, r12d                                                      ; +0xbc, 0x10054e59c\nmov     rcx, r14                                                       ; +0xbf, 0x10054e59f\ncall    GameLevelManager__storeUserName                                ; +0xc2, 0x10054e5a2\ntest    byte ptr [rbp+var_40], 1                                       ; +0xc7, 0x10054e5a7\njz      loc_10054E520                                                  ; +0xcb, 0x10054e5ab\nmov     rdi, [rbp+__p]; __p                                            ; +0xd1, 0x10054e5b1\ncall    __ZdlPv; operator delete(void *)                               ; +0xd5, 0x10054e5b5\njmp     loc_10054E520                                                  ; +0xda, 0x10054e5ba\nadd     rsp, 18h                                                       ; +0xdf, 0x10054e5bf\npop     rbx                                                            ; +0xe3, 0x10054e5c3\npop     r12                                                            ; +0xe4, 0x10054e5c4\npop     r13                                                            ; +0xe6, 0x10054e5c6\npop     r14                                                            ; +0xe8, 0x10054e5c8\npop     r15                                                            ; +0xea, 0x10054e5ca\npop     rbp                                                            ; +0xec, 0x10054e5cc\nretn                                                                   ; +0xed, 0x10054e5cd", "xrefs": ["GameLevelManager::dataLoaded @ 0x100550fb2"], "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"}