{"type": "func", "start": 5371346640, "end": 5371346869, "name": "GJMultiplayerManager::getBasePostString", "pseudocode": "// \n// GJMultiplayerManager::getBasePostString from 0x140283ed0 to 0x140283fb5 (229 bytes)\n// \n// 2 xrefs:\n// > GJMultiplayerManager::uploadComment @ 0x140283738\n// > <???> @ 0x1406d14e4\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=3\n_QWORD *__fastcall GJMultiplayerManager::getBasePostString(__int64 a1, _QWORD *a2)\n{\n  GJAccountManager *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_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  }\n  GameLevelManager::getBasePostString(a1, a2);\n  sub_140041270(a2, \"&username=\", 0xAu);\n  v3 = GJAccountManager::sharedState();\n  sub_14003BDB0((__int64)v8, (__int64)&v3->m_username);\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_140041270(a2, v4, v5);\n  sub_14003A830((__int64)v8);\n  return a2;\n}", "assembly": "; \n; GJMultiplayerManager::getBasePostString from 0x140283ed0 to 0x140283fb5 (229 bytes)\n; \n; 2 xrefs:\n; > GJMultiplayerManager::uploadComment @ 0x140283738\n; > <???> @ 0x1406d14e4\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, 0x140283ed0\nsub     rsp, 60h                                                       ; +0x2, 0x140283ed2\nmov     rax, cs:__security_cookie                                      ; +0x6, 0x140283ed6\nxor     rax, rsp                                                       ; +0xd, 0x140283edd\nmov     [rsp+68h+var_10], rax                                          ; +0x10, 0x140283ee0\nmov     rbx, rdx                                                       ; +0x15, 0x140283ee5\nmov     [rsp+68h+var_40], rdx                                          ; +0x18, 0x140283ee8\nmov     [rsp+68h+var_48], 0                                            ; +0x1d, 0x140283eed\ncmp     cs:qword_1406C2EC0, 0                                          ; +0x25, 0x140283ef5\njnz     short loc_140283F26                                            ; +0x2d, 0x140283efd\nmov     ecx, 3D0h; Size                                                ; +0x2f, 0x140283eff\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x34, 0x140283f04\nmov     [rsp+68h+var_38], rax                                          ; +0x39, 0x140283f09\nmov     rcx, rax                                                       ; +0x3e, 0x140283f0e\ncall    sub_140141280                                                  ; +0x41, 0x140283f11\nmov     rcx, rax                                                       ; +0x46, 0x140283f16\nmov     cs:qword_1406C2EC0, rax                                        ; +0x49, 0x140283f19\nmov     rax, [rax]                                                     ; +0x50, 0x140283f20\ncall    qword ptr [rax+48h]                                            ; +0x53, 0x140283f23\nmov     rdx, rbx                                                       ; +0x56, 0x140283f26\ncall    GameLevelManager__getBasePostString                            ; +0x59, 0x140283f29\nmov     [rsp+68h+var_48], 1                                            ; +0x5e, 0x140283f2e\nmov     r8d, 0Ah; Size                                                 ; +0x66, 0x140283f36\nlea     rdx, aUsername_1; \"&username=\"                                 ; +0x6c, 0x140283f3c\nmov     rcx, rbx; Src                                                  ; +0x73, 0x140283f43\ncall    sub_140041270                                                  ; +0x76, 0x140283f46\ncall    GJAccountManager__sharedState                                  ; +0x7b, 0x140283f4b\nlea     rdx, [rax+148h]                                                ; +0x80, 0x140283f50\nlea     rcx, [rsp+68h+var_30]                                          ; +0x87, 0x140283f57\ncall    sub_14003BDB0                                                  ; +0x8c, 0x140283f5c\nmov     [rsp+68h+var_48], 3                                            ; +0x91, 0x140283f61\nlea     rdx, [rsp+68h+var_30]                                          ; +0x99, 0x140283f69\ncmp     [rsp+68h+var_18], 0Fh                                          ; +0x9e, 0x140283f6e\ncmova   rdx, [rsp+68h+var_30]; void *                                  ; +0xa4, 0x140283f74\nmov     r8, 0FFFFFFFFFFFFFFFFh                                         ; +0xaa, 0x140283f7a\ninc     r8; Size                                                       ; +0xb1, 0x140283f81\ncmp     byte ptr [rdx+r8], 0                                           ; +0xb4, 0x140283f84\njnz     short loc_140283F81                                            ; +0xb9, 0x140283f89\nmov     rcx, rbx; Src                                                  ; +0xbb, 0x140283f8b\ncall    sub_140041270                                                  ; +0xbe, 0x140283f8e\nnop                                                                    ; +0xc3, 0x140283f93\nlea     rcx, [rsp+68h+var_30]                                          ; +0xc4, 0x140283f94\ncall    sub_14003A830                                                  ; +0xc9, 0x140283f99\nmov     rax, rbx                                                       ; +0xce, 0x140283f9e\nmov     rcx, [rsp+68h+var_10]                                          ; +0xd1, 0x140283fa1\nxor     rcx, rsp; StackCookie                                          ; +0xd6, 0x140283fa6\ncall    __security_check_cookie                                        ; +0xd9, 0x140283fa9\nadd     rsp, 60h                                                       ; +0xde, 0x140283fae\npop     rbx                                                            ; +0xe2, 0x140283fb2\nretn                                                                   ; +0xe3, 0x140283fb3\ndb 0CCh                                                                ; +0xe4, 0x140283fb4", "xrefs": ["GJMultiplayerManager::uploadComment @ 0x140283738", "<???> @ 0x1406d14e4"], "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"}