{"type": "func", "start": 4300794768, "end": 4300794891, "name": "GJLevelList::getUnpackedDescription", "pseudocode": "// \n// GJLevelList::getUnpackedDescription from 0x10058eb90 to 0x10058ec0b (123 bytes)\n// \n// 3 xrefs:\n// > LevelListLayer::onDescription @ 0x1003494da\n// > ShareListLayer::init @ 0x10034dcc4\n// > InfoLayer::init @ 0x100891f3b\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:25 +0000\n// \n\nstd::string *__fastcall GJLevelList::getUnpackedDescription(std::string *a1, __int64 a2)\n{\n  char v2; // al\n  unsigned __int64 v3; // rdx\n  std::string v5; // [rsp+0h] [rbp-20h] BYREF\n\n  v2 = *(_BYTE *)(a2 + 504);\n  if ( (v2 & 1) == 0 )\n  {\n    if ( v2 )\n    {\n      v5 = *(std::string *)(a2 + 504);\n      goto LABEL_6;\n    }\nLABEL_8:\n    *(_WORD *)&a1->__r_.__value_.__l.0 = 0;\n    return a1;\n  }\n  v3 = *(_QWORD *)(a2 + 512);\n  if ( !v3 )\n    goto LABEL_8;\n  sub_10001AD30(&v5, *(const void **)(a2 + 520), v3);\nLABEL_6:\n  LevelTools::base64DecodeString(a1, &v5);\n  if ( (*(_BYTE *)&v5.__r_.__value_.__s.0 & 1) != 0 )\n    operator delete(v5.__r_.__value_.__l.__data_);\n  return a1;\n}", "assembly": "; \n; GJLevelList::getUnpackedDescription from 0x10058eb90 to 0x10058ec0b (123 bytes)\n; \n; 3 xrefs:\n; > LevelListLayer::onDescription @ 0x1003494da\n; > ShareListLayer::init @ 0x10034dcc4\n; > InfoLayer::init @ 0x100891f3b\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:25 +0000\n; \npush    rbp                                                            ; +0x0, 0x10058eb90\nmov     rbp, rsp                                                       ; +0x1, 0x10058eb91\npush    rbx                                                            ; +0x4, 0x10058eb94\nsub     rsp, 18h                                                       ; +0x5, 0x10058eb95\nmov     rbx, rdi                                                       ; +0x9, 0x10058eb99\nmovzx   eax, byte ptr [rsi+1F8h]                                       ; +0xc, 0x10058eb9c\ntest    al, 1                                                          ; +0x13, 0x10058eba3\njnz     short loc_10058EBC3                                            ; +0x15, 0x10058eba5\ntest    al, al                                                         ; +0x17, 0x10058eba7\njz      short loc_10058EBFC                                            ; +0x19, 0x10058eba9\nadd     rsi, 1F8h                                                      ; +0x1b, 0x10058ebab\nmov     rax, [rsi+10h]                                                 ; +0x22, 0x10058ebb2\nmov     [rbp+__p], rax                                                 ; +0x26, 0x10058ebb6\nmovups  xmm0, xmmword ptr [rsi]                                        ; +0x2a, 0x10058ebba\nmovaps  [rbp+var_20], xmm0                                             ; +0x2d, 0x10058ebbd\njmp     short loc_10058EBDF                                            ; +0x31, 0x10058ebc1\nmov     rdx, [rsi+200h]                                                ; +0x33, 0x10058ebc3\ntest    rdx, rdx                                                       ; +0x3a, 0x10058ebca\njz      short loc_10058EBFC                                            ; +0x3d, 0x10058ebcd\nmov     rsi, [rsi+208h]                                                ; +0x3f, 0x10058ebcf\nlea     rdi, [rbp+var_20]                                              ; +0x46, 0x10058ebd6\ncall    sub_10001AD30                                                  ; +0x4a, 0x10058ebda\nlea     rsi, [rbp+var_20]                                              ; +0x4f, 0x10058ebdf\nmov     rdi, rbx                                                       ; +0x53, 0x10058ebe3\ncall    LevelTools__base64DecodeString                                 ; +0x56, 0x10058ebe6\ntest    byte ptr [rbp+var_20], 1                                       ; +0x5b, 0x10058ebeb\njz      short loc_10058EC01                                            ; +0x5f, 0x10058ebef\nmov     rdi, [rbp+__p]; __p                                            ; +0x61, 0x10058ebf1\ncall    __ZdlPv; operator delete(void *)                               ; +0x65, 0x10058ebf5\njmp     short loc_10058EC01                                            ; +0x6a, 0x10058ebfa\nmov     word ptr [rbx], 0                                              ; +0x6c, 0x10058ebfc\nmov     rax, rbx                                                       ; +0x71, 0x10058ec01\nadd     rsp, 18h                                                       ; +0x74, 0x10058ec04\npop     rbx                                                            ; +0x78, 0x10058ec08\npop     rbp                                                            ; +0x79, 0x10058ec09\nretn                                                                   ; +0x7a, 0x10058ec0a", "xrefs": ["LevelListLayer::onDescription @ 0x1003494da", "ShareListLayer::init @ 0x10034dcc4", "InfoLayer::init @ 0x100891f3b"], "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"}