{"type": "func", "start": 5370243984, "end": 5370244170, "name": "GJLevelList::getUnpackedDescription", "pseudocode": "// \n// GJLevelList::getUnpackedDescription from 0x140176b90 to 0x140176c4a (186 bytes)\n// \n// 5 xrefs:\n// > GJLevelList::showListInfo @ 0x1401779ae\n// > InfoLayer::init @ 0x1402bb50f\n// > LevelListLayer::onDescription @ 0x14030788f\n// > ShareListLayer::init @ 0x140309fde\n// > <???> @ 0x1406caf8c\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__int64 __fastcall GJLevelList::getUnpackedDescription(__int64 a1, __int64 a2)\n{\n  __int64 v4; // rax\n  __int64 v5; // rdi\n  _BYTE v6[48]; // [rsp+28h] [rbp-30h] BYREF\n\n  if ( *(_QWORD *)(a1 + 544) )\n  {\n    v4 = sub_14003BDB0((__int64)v6, a1 + 528);\n    v5 = v4;\n    if ( *(_QWORD *)(v4 + 16) )\n    {\n      cocos2d::ZipUtils::base64URLDecode(a2, v4);\n    }\n    else\n    {\n      *(_OWORD *)a2 = 0;\n      *(_QWORD *)(a2 + 16) = 0;\n      *(_QWORD *)(a2 + 24) = 0;\n      *(_OWORD *)a2 = *(_OWORD *)v4;\n      *(_OWORD *)(a2 + 16) = *(_OWORD *)(v4 + 16);\n      *(_QWORD *)(v4 + 16) = 0;\n      *(_QWORD *)(v4 + 24) = 15;\n      *(_BYTE *)v4 = 0;\n    }\n    sub_14003A830(v5);\n    return a2;\n  }\n  else\n  {\n    *(_OWORD *)a2 = 0;\n    *(_QWORD *)(a2 + 16) = 0;\n    *(_QWORD *)(a2 + 24) = 15;\n    *(_BYTE *)a2 = 0;\n    return a2;\n  }\n}", "assembly": "; \n; GJLevelList::getUnpackedDescription from 0x140176b90 to 0x140176c4a (186 bytes)\n; \n; 5 xrefs:\n; > GJLevelList::showListInfo @ 0x1401779ae\n; > InfoLayer::init @ 0x1402bb50f\n; > LevelListLayer::onDescription @ 0x14030788f\n; > ShareListLayer::init @ 0x140309fde\n; > <???> @ 0x1406caf8c\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\nmov     [rsp+arg_8], rbx                                               ; +0x0, 0x140176b90\nmov     [rsp+arg_10], rsi                                              ; +0x5, 0x140176b95\npush    rdi                                                            ; +0xa, 0x140176b9a\nsub     rsp, 50h                                                       ; +0xb, 0x140176b9b\nmov     rbx, rdx                                                       ; +0xf, 0x140176b9f\nxor     esi, esi                                                       ; +0x12, 0x140176ba2\ncmp     [rcx+220h], rsi                                                ; +0x14, 0x140176ba4\njnz     short loc_140176BD5                                            ; +0x1b, 0x140176bab\nxorps   xmm0, xmm0                                                     ; +0x1d, 0x140176bad\nmovups  xmmword ptr [rdx], xmm0                                        ; +0x20, 0x140176bb0\nmov     [rdx+10h], rsi                                                 ; +0x23, 0x140176bb3\nmov     qword ptr [rdx+18h], 0Fh                                       ; +0x27, 0x140176bb7\nmov     [rdx], sil                                                     ; +0x2f, 0x140176bbf\nmov     rax, rdx                                                       ; +0x32, 0x140176bc2\nmov     rbx, [rsp+58h+arg_8]                                           ; +0x35, 0x140176bc5\nmov     rsi, [rsp+58h+arg_10]                                          ; +0x3a, 0x140176bca\nadd     rsp, 50h                                                       ; +0x3f, 0x140176bcf\npop     rdi                                                            ; +0x43, 0x140176bd3\nretn                                                                   ; +0x44, 0x140176bd4\nlea     rdx, [rcx+210h]                                                ; +0x45, 0x140176bd5\nlea     rcx, [rsp+58h+var_30]                                          ; +0x4c, 0x140176bdc\ncall    sub_14003BDB0                                                  ; +0x51, 0x140176be1\nmov     rdi, rax                                                       ; +0x56, 0x140176be6\nmov     [rsp+58h+arg_0], rax                                           ; +0x59, 0x140176be9\ncmp     qword ptr [rax+10h], 0                                         ; +0x5e, 0x140176bee\njnz     short loc_140176C22                                            ; +0x63, 0x140176bf3\nxorps   xmm0, xmm0                                                     ; +0x65, 0x140176bf5\nmovups  xmmword ptr [rbx], xmm0                                        ; +0x68, 0x140176bf8\nmov     [rbx+10h], rsi                                                 ; +0x6b, 0x140176bfb\nmov     [rbx+18h], rsi                                                 ; +0x6f, 0x140176bff\nmovups  xmm0, xmmword ptr [rax]                                        ; +0x73, 0x140176c03\nmovups  xmmword ptr [rbx], xmm0                                        ; +0x76, 0x140176c06\nmovups  xmm1, xmmword ptr [rax+10h]                                    ; +0x79, 0x140176c09\nmovups  xmmword ptr [rbx+10h], xmm1                                    ; +0x7d, 0x140176c0d\nmov     [rax+10h], rsi                                                 ; +0x81, 0x140176c11\nmov     qword ptr [rax+18h], 0Fh                                       ; +0x85, 0x140176c15\nmov     byte ptr [rax], 0                                              ; +0x8d, 0x140176c1d\njmp     short loc_140176C2F                                            ; +0x90, 0x140176c20\nmov     rdx, rdi                                                       ; +0x92, 0x140176c22\nmov     rcx, rbx                                                       ; +0x95, 0x140176c25\ncall    cs:?base64URLDecode@ZipUtils@cocos2d@@SA?AV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@AEBV34@@Z; cocos2d::ZipUtils::base64URLDecode(std::string const &) ; +0x98, 0x140176c28\nnop                                                                    ; +0x9e, 0x140176c2e\nmov     rcx, rdi                                                       ; +0x9f, 0x140176c2f\ncall    sub_14003A830                                                  ; +0xa2, 0x140176c32\nmov     rax, rbx                                                       ; +0xa7, 0x140176c37\nmov     rbx, [rsp+58h+arg_8]                                           ; +0xaa, 0x140176c3a\nmov     rsi, [rsp+58h+arg_10]                                          ; +0xaf, 0x140176c3f\nadd     rsp, 50h                                                       ; +0xb4, 0x140176c44\npop     rdi                                                            ; +0xb8, 0x140176c48\nretn                                                                   ; +0xb9, 0x140176c49", "xrefs": ["GJLevelList::showListInfo @ 0x1401779ae", "InfoLayer::init @ 0x1402bb50f", "LevelListLayer::onDescription @ 0x14030788f", "ShareListLayer::init @ 0x140309fde", "<???> @ 0x1406caf8c"], "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"}