{"type": "func", "start": 4300543968, "end": 4300544080, "name": "GameLevelManager::uploadLevelComment", "pseudocode": "// \n// GameLevelManager::uploadLevelComment from 0x1005517e0 to 0x100551850 (112 bytes)\n// \n// 1 xrefs:\n// > ShareCommentLayer::onShare @ 0x1005e11e4\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\nvoid __fastcall GameLevelManager::uploadLevelComment(\n        __int64 a1,\n        unsigned int a2,\n        __int128 *a3,\n        unsigned int a4,\n        double a5)\n{\n  __int128 v6; // [rsp+0h] [rbp-30h] BYREF\n  void *__p; // [rsp+10h] [rbp-20h]\n\n  if ( (*(_BYTE *)a3 & 1) != 0 )\n  {\n    sub_100006B70(&v6, *((const void **)a3 + 2), *((_QWORD *)a3 + 1), a5);\n  }\n  else\n  {\n    __p = *((void **)a3 + 2);\n    v6 = *a3;\n  }\n  GameLevelManager::uploadComment(a1, &v6, 0, a2, a4);\n  if ( (v6 & 1) != 0 )\n    operator delete(__p);\n}", "assembly": "; \n; GameLevelManager::uploadLevelComment from 0x1005517e0 to 0x100551850 (112 bytes)\n; \n; 1 xrefs:\n; > ShareCommentLayer::onShare @ 0x1005e11e4\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    rbp                                                            ; +0x0, 0x1005517e0\nmov     rbp, rsp                                                       ; +0x1, 0x1005517e1\npush    r15                                                            ; +0x4, 0x1005517e4\npush    r14                                                            ; +0x6, 0x1005517e6\npush    rbx                                                            ; +0x8, 0x1005517e8\nsub     rsp, 18h                                                       ; +0x9, 0x1005517e9\nmov     ebx, ecx                                                       ; +0xd, 0x1005517ed\nmov     r14d, esi                                                      ; +0xf, 0x1005517ef\ntest    byte ptr [rdx], 1                                              ; +0x12, 0x1005517f2\njnz     short loc_100551808                                            ; +0x15, 0x1005517f5\nmov     rax, [rdx+10h]                                                 ; +0x17, 0x1005517f7\nmov     [rbp+__p], rax                                                 ; +0x1b, 0x1005517fb\nmovups  xmm0, xmmword ptr [rdx]                                        ; +0x1f, 0x1005517ff\nmovaps  [rbp+var_30], xmm0                                             ; +0x22, 0x100551802\njmp     short loc_100551825                                            ; +0x26, 0x100551806\nmov     rax, [rdx+8]                                                   ; +0x28, 0x100551808\nmov     rsi, [rdx+10h]                                                 ; +0x2c, 0x10055180c\nlea     rcx, [rbp+var_30]                                              ; +0x30, 0x100551810\nmov     r15, rdi                                                       ; +0x34, 0x100551814\nmov     rdi, rcx                                                       ; +0x37, 0x100551817\nmov     rdx, rax                                                       ; +0x3a, 0x10055181a\ncall    sub_100006B70                                                  ; +0x3d, 0x10055181d\nmov     rdi, r15                                                       ; +0x42, 0x100551822\nlea     rsi, [rbp+var_30]                                              ; +0x45, 0x100551825\nxor     edx, edx                                                       ; +0x49, 0x100551829\nmov     ecx, r14d                                                      ; +0x4b, 0x10055182b\nmov     r8d, ebx                                                       ; +0x4e, 0x10055182e\ncall    GameLevelManager__uploadComment                                ; +0x51, 0x100551831\ntest    byte ptr [rbp+var_30], 1                                       ; +0x56, 0x100551836\njz      short loc_100551845                                            ; +0x5a, 0x10055183a\nmov     rdi, [rbp+__p]; __p                                            ; +0x5c, 0x10055183c\ncall    __ZdlPv; operator delete(void *)                               ; +0x60, 0x100551840\nadd     rsp, 18h                                                       ; +0x65, 0x100551845\npop     rbx                                                            ; +0x69, 0x100551849\npop     r14                                                            ; +0x6a, 0x10055184a\npop     r15                                                            ; +0x6c, 0x10055184c\npop     rbp                                                            ; +0x6e, 0x10055184e\nretn                                                                   ; +0x6f, 0x10055184f", "xrefs": ["ShareCommentLayer::onShare @ 0x1005e11e4"], "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"}