{"type": "func", "start": 4300600944, "end": 4300601067, "name": "GJGameLevel::getUnpackedLevelDescription", "pseudocode": "// \n// GJGameLevel::getUnpackedLevelDescription from 0x10055f670 to 0x10055f6eb (123 bytes)\n// \n// 4 xrefs:\n// > EditLevelLayer::init @ 0x1001fb151\n// > ShareLevelLayer::init @ 0x1002805e8\n// > InfoLayer::init @ 0x1007aec7b\n// > InfoLayer::onLevelInfo @ 0x1007b1a11\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\nstd::string *__fastcall GJGameLevel::getUnpackedLevelDescription(std::string *a1, __int64 a2, __m128 a3)\n{\n  char v3; // al\n  __m128 *v4; // rsi\n  unsigned __int64 v5; // rdx\n  std::string v7; // [rsp+0h] [rbp-20h] BYREF\n\n  v3 = *(_BYTE *)(a2 + 368);\n  if ( (v3 & 1) == 0 )\n  {\n    if ( v3 )\n    {\n      v4 = (__m128 *)(a2 + 368);\n      v7.__r_.__value_.__r.__words[2] = v4[1].u64[0];\n      a3 = *v4;\n      *(__m128 *)&v7.__r_.__value_.__l.0 = *v4;\n      goto LABEL_6;\n    }\nLABEL_8:\n    *(_WORD *)&a1->__r_.__value_.__l.0 = 0;\n    return a1;\n  }\n  v5 = *(_QWORD *)(a2 + 376);\n  if ( !v5 )\n    goto LABEL_8;\n  sub_100006B70(&v7, *(const void **)(a2 + 384), v5, *(double *)a3.i64);\nLABEL_6:\n  LevelTools::base64DecodeString(a1, &v7, *(double *)a3.i64);\n  if ( (*(_BYTE *)&v7.__r_.__value_.__s.0 & 1) != 0 )\n    operator delete(v7.__r_.__value_.__l.__data_);\n  return a1;\n}", "assembly": "; \n; GJGameLevel::getUnpackedLevelDescription from 0x10055f670 to 0x10055f6eb (123 bytes)\n; \n; 4 xrefs:\n; > EditLevelLayer::init @ 0x1001fb151\n; > ShareLevelLayer::init @ 0x1002805e8\n; > InfoLayer::init @ 0x1007aec7b\n; > InfoLayer::onLevelInfo @ 0x1007b1a11\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, 0x10055f670\nmov     rbp, rsp                                                       ; +0x1, 0x10055f671\npush    rbx                                                            ; +0x4, 0x10055f674\nsub     rsp, 18h                                                       ; +0x5, 0x10055f675\nmov     rbx, rdi                                                       ; +0x9, 0x10055f679\nmovzx   eax, byte ptr [rsi+170h]                                       ; +0xc, 0x10055f67c\ntest    al, 1                                                          ; +0x13, 0x10055f683\njnz     short loc_10055F6A3                                            ; +0x15, 0x10055f685\ntest    al, al                                                         ; +0x17, 0x10055f687\njz      short loc_10055F6DC                                            ; +0x19, 0x10055f689\nadd     rsi, 170h                                                      ; +0x1b, 0x10055f68b\nmov     rax, [rsi+10h]                                                 ; +0x22, 0x10055f692\nmov     [rbp+__p], rax                                                 ; +0x26, 0x10055f696\nmovups  xmm0, xmmword ptr [rsi]                                        ; +0x2a, 0x10055f69a\nmovaps  [rbp+var_20], xmm0                                             ; +0x2d, 0x10055f69d\njmp     short loc_10055F6BF                                            ; +0x31, 0x10055f6a1\nmov     rdx, [rsi+178h]                                                ; +0x33, 0x10055f6a3\ntest    rdx, rdx                                                       ; +0x3a, 0x10055f6aa\njz      short loc_10055F6DC                                            ; +0x3d, 0x10055f6ad\nmov     rsi, [rsi+180h]                                                ; +0x3f, 0x10055f6af\nlea     rdi, [rbp+var_20]                                              ; +0x46, 0x10055f6b6\ncall    sub_100006B70                                                  ; +0x4a, 0x10055f6ba\nlea     rsi, [rbp+var_20]                                              ; +0x4f, 0x10055f6bf\nmov     rdi, rbx                                                       ; +0x53, 0x10055f6c3\ncall    LevelTools__base64DecodeString                                 ; +0x56, 0x10055f6c6\ntest    byte ptr [rbp+var_20], 1                                       ; +0x5b, 0x10055f6cb\njz      short loc_10055F6E1                                            ; +0x5f, 0x10055f6cf\nmov     rdi, [rbp+__p]; __p                                            ; +0x61, 0x10055f6d1\ncall    __ZdlPv; operator delete(void *)                               ; +0x65, 0x10055f6d5\njmp     short loc_10055F6E1                                            ; +0x6a, 0x10055f6da\nmov     word ptr [rbx], 0                                              ; +0x6c, 0x10055f6dc\nmov     rax, rbx                                                       ; +0x71, 0x10055f6e1\nadd     rsp, 18h                                                       ; +0x74, 0x10055f6e4\npop     rbx                                                            ; +0x78, 0x10055f6e8\npop     rbp                                                            ; +0x79, 0x10055f6e9\nretn                                                                   ; +0x7a, 0x10055f6ea", "xrefs": ["EditLevelLayer::init @ 0x1001fb151", "ShareLevelLayer::init @ 0x1002805e8", "InfoLayer::init @ 0x1007aec7b", "InfoLayer::onLevelInfo @ 0x1007b1a11"], "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"}