{"type": "func", "start": 5372451728, "end": 5372451957, "name": "GJMultiplayerManager::getBasePostString", "pseudocode": "// \n// GJMultiplayerManager::getBasePostString from 0x140391b90 to 0x140391c75 (229 bytes)\n// \n// 2 xrefs:\n// > GJMultiplayerManager::uploadComment @ 0x1403913bf\n// > <???> @ 0x140923000\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:11 +0000\n// \n\n// Hidden C++ exception states: #wind=3\n_QWORD *__fastcall GJMultiplayerManager::getBasePostString(__int64 a1, _QWORD *a2)\n{\n  __int64 v3; // rax\n  void **v4; // rdx\n  size_t v5; // r8\n  void *v7; // [rsp+30h] [rbp-38h]\n  void *v8[4]; // [rsp+38h] [rbp-30h] BYREF\n\n  if ( !*(_QWORD *)&qword_14090BFB0 )\n  {\n    v7 = operator new(0x690u);\n    *(_QWORD *)&qword_14090BFB0 = GameLevelManager::GameLevelManager((__int64)v7);\n    (*(void (__fastcall **)(_QWORD))(**(_QWORD **)&qword_14090BFB0 + 72LL))(*(_QWORD *)&qword_14090BFB0);\n  }\n  GameLevelManager::getBasePostString(a1, a2);\n  sub_140044D80(a2, \"&username=\", 0xAu);\n  v3 = GJAccountManager::sharedState();\n  sub_14003F4F0((__int64)v8, v3 + 328);\n  v4 = v8;\n  if ( v8[3] > (void *)0xF )\n    v4 = (void **)v8[0];\n  v5 = -1;\n  do\n    ++v5;\n  while ( *((_BYTE *)v4 + v5) );\n  sub_140044D80(a2, v4, v5);\n  sub_14003D310((__int64)v8);\n  return a2;\n}", "assembly": "; \n; GJMultiplayerManager::getBasePostString from 0x140391b90 to 0x140391c75 (229 bytes)\n; \n; 2 xrefs:\n; > GJMultiplayerManager::uploadComment @ 0x1403913bf\n; > <???> @ 0x140923000\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:11 +0000\n; \npush    rbx                                                            ; +0x0, 0x140391b90\nsub     rsp, 60h                                                       ; +0x2, 0x140391b92\nmov     rax, cs:__security_cookie                                      ; +0x6, 0x140391b96\nxor     rax, rsp                                                       ; +0xd, 0x140391b9d\nmov     [rsp+68h+var_10], rax                                          ; +0x10, 0x140391ba0\nmov     rbx, rdx                                                       ; +0x15, 0x140391ba5\nmov     [rsp+68h+var_40], rdx                                          ; +0x18, 0x140391ba8\nmov     [rsp+68h+var_48], 0                                            ; +0x1d, 0x140391bad\ncmp     cs:qword_14090BFB0, 0                                          ; +0x25, 0x140391bb5\njnz     short loc_140391BE6                                            ; +0x2d, 0x140391bbd\nmov     ecx, 690h; Size                                                ; +0x2f, 0x140391bbf\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x34, 0x140391bc4\nmov     [rsp+68h+var_38], rax                                          ; +0x39, 0x140391bc9\nmov     rcx, rax                                                       ; +0x3e, 0x140391bce\ncall    GameLevelManager__GameLevelManager                             ; +0x41, 0x140391bd1\nmov     rcx, rax                                                       ; +0x46, 0x140391bd6\nmov     cs:qword_14090BFB0, rax                                        ; +0x49, 0x140391bd9\nmov     rax, [rax]                                                     ; +0x50, 0x140391be0\ncall    qword ptr [rax+48h]                                            ; +0x53, 0x140391be3\nmov     rdx, rbx                                                       ; +0x56, 0x140391be6\ncall    GameLevelManager__getBasePostString                            ; +0x59, 0x140391be9\nmov     [rsp+68h+var_48], 1                                            ; +0x5e, 0x140391bee\nmov     r8d, 0Ah; Size                                                 ; +0x66, 0x140391bf6\nlea     rdx, aUsername_1; \"&username=\"                                 ; +0x6c, 0x140391bfc\nmov     rcx, rbx; Src                                                  ; +0x73, 0x140391c03\ncall    sub_140044D80                                                  ; +0x76, 0x140391c06\ncall    GJAccountManager__sharedState                                  ; +0x7b, 0x140391c0b\nlea     rdx, [rax+148h]                                                ; +0x80, 0x140391c10\nlea     rcx, [rsp+68h+var_30]                                          ; +0x87, 0x140391c17\ncall    sub_14003F4F0                                                  ; +0x8c, 0x140391c1c\nmov     [rsp+68h+var_48], 3                                            ; +0x91, 0x140391c21\nlea     rdx, [rsp+68h+var_30]                                          ; +0x99, 0x140391c29\ncmp     [rsp+68h+var_18], 0Fh                                          ; +0x9e, 0x140391c2e\ncmova   rdx, [rsp+68h+var_30]; void *                                  ; +0xa4, 0x140391c34\nmov     r8, 0FFFFFFFFFFFFFFFFh                                         ; +0xaa, 0x140391c3a\ninc     r8; Size                                                       ; +0xb1, 0x140391c41\ncmp     byte ptr [rdx+r8], 0                                           ; +0xb4, 0x140391c44\njnz     short loc_140391C41                                            ; +0xb9, 0x140391c49\nmov     rcx, rbx; Src                                                  ; +0xbb, 0x140391c4b\ncall    sub_140044D80                                                  ; +0xbe, 0x140391c4e\nnop                                                                    ; +0xc3, 0x140391c53\nlea     rcx, [rsp+68h+var_30]                                          ; +0xc4, 0x140391c54\ncall    sub_14003D310                                                  ; +0xc9, 0x140391c59\nmov     rax, rbx                                                       ; +0xce, 0x140391c5e\nmov     rcx, [rsp+68h+var_10]                                          ; +0xd1, 0x140391c61\nxor     rcx, rsp; StackCookie                                          ; +0xd6, 0x140391c66\ncall    __security_check_cookie                                        ; +0xd9, 0x140391c69\nadd     rsp, 60h                                                       ; +0xde, 0x140391c6e\npop     rbx                                                            ; +0xe2, 0x140391c72\nretn                                                                   ; +0xe3, 0x140391c73\ndb 0CCh                                                                ; +0xe4, 0x140391c74", "xrefs": ["GJMultiplayerManager::uploadComment @ 0x1403913bf", "<???> @ 0x140923000"], "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"}