{"type": "func", "start": 5373097648, "end": 5373097922, "name": "LevelListLayer::onDescription", "pseudocode": "// \n// LevelListLayer::onDescription from 0x14042f6b0 to 0x14042f7c2 (274 bytes)\n// \n// 2 xrefs:\n// > LevelListLayer::init @ 0x14042c7e0\n// > <???> @ 0x140926bd0\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 11:32:14 +0000\n// \n\n// Hidden C++ exception states: #wind=1\nvoid __fastcall LevelListLayer::onDescription(__int64 a1)\n{\n  __int64 v2; // rax\n  _QWORD *v3; // rax\n  __int64 v4; // rcx\n  _DWORD v5[4]; // [rsp+30h] [rbp-68h] BYREF\n  __int64 v6; // [rsp+40h] [rbp-58h]\n  __int64 v7; // [rsp+48h] [rbp-50h]\n  __int128 v8; // [rsp+50h] [rbp-48h] BYREF\n  __int64 v9; // [rsp+60h] [rbp-38h]\n  __int64 v10; // [rsp+68h] [rbp-30h]\n  _BYTE v11[40]; // [rsp+70h] [rbp-28h] BYREF\n\n  if ( !*(_BYTE *)(a1 + 968) )\n  {\n    if ( *(_QWORD *)(*(_QWORD *)(a1 + 920) + 552LL) )\n    {\n      v2 = sub_14003F4F0((__int64)v11, *(_QWORD *)(a1 + 920) + 536LL);\n      LevelTools::base64DecodeString(&v8, v2);\n    }\n    else\n    {\n      v8 = 0;\n      v9 = 0;\n      v10 = 15;\n      LOBYTE(v8) = 0;\n    }\n    v5[3] = 0;\n    v6 = 11;\n    v7 = 15;\n    strcpy((char *)v5, \"Description\");\n    v3 = (_QWORD *)ShareCommentLayer::create(\n                     (unsigned int)v5,\n                     280,\n                     4,\n                     *(_DWORD *)(*(_QWORD *)(a1 + 920) + 588LL),\n                     (__int64)&v8);\n    v4 = a1 + 584;\n    if ( !a1 )\n      v4 = 0;\n    v3[103] = v4;\n    (*(void (__fastcall **)(_QWORD *))(*v3 + 1064LL))(v3);\n  }\n}", "assembly": "; \n; LevelListLayer::onDescription from 0x14042f6b0 to 0x14042f7c2 (274 bytes)\n; \n; 2 xrefs:\n; > LevelListLayer::init @ 0x14042c7e0\n; > <???> @ 0x140926bd0\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 11:32:14 +0000\n; \nmov     r11, rsp                                                       ; +0x0, 0x14042f6b0\nmov     [r11+10h], rbx                                                 ; +0x3, 0x14042f6b3\npush    rdi                                                            ; +0x7, 0x14042f6b7\nsub     rsp, 90h                                                       ; +0x8, 0x14042f6b8\nmov     rbx, rcx                                                       ; +0xf, 0x14042f6bf\nxor     edi, edi                                                       ; +0x12, 0x14042f6c2\ncmp     [rcx+3C8h], dil                                                ; +0x14, 0x14042f6c4\njnz     loc_14042F7B1                                                  ; +0x1b, 0x14042f6cb\nlea     rax, [r11-48h]                                                 ; +0x21, 0x14042f6d1\nmov     [r11+8], rax                                                   ; +0x25, 0x14042f6d5\nmov     rdx, [rcx+398h]                                                ; +0x29, 0x14042f6d9\nadd     rdx, 218h                                                      ; +0x30, 0x14042f6e0\ncmp     [rdx+10h], rdi                                                 ; +0x37, 0x14042f6e7\njnz     short loc_14042F708                                            ; +0x3b, 0x14042f6eb\nxorps   xmm0, xmm0                                                     ; +0x3d, 0x14042f6ed\nmovups  [rsp+98h+var_48], xmm0                                         ; +0x40, 0x14042f6f0\nmov     [r11-38h], rdi                                                 ; +0x45, 0x14042f6f5\nmov     qword ptr [r11-30h], 0Fh                                       ; +0x49, 0x14042f6f9\nmov     byte ptr [rsp+98h+var_48], dil                                 ; +0x51, 0x14042f701\njmp     short loc_14042F720                                            ; +0x56, 0x14042f706\nlea     rcx, [rsp+98h+var_28]                                          ; +0x58, 0x14042f708\ncall    sub_14003F4F0                                                  ; +0x5d, 0x14042f70d\nmov     rdx, rax                                                       ; +0x62, 0x14042f712\nlea     rcx, [rsp+98h+var_48]                                          ; +0x65, 0x14042f715\ncall    LevelTools__base64DecodeString                                 ; +0x6a, 0x14042f71a\nnop                                                                    ; +0x6f, 0x14042f71f\nmov     dword ptr [rsp+98h+var_68+0Ch], edi                            ; +0x70, 0x14042f720\nmov     [rsp+98h+var_58], 0Bh                                          ; +0x74, 0x14042f724\nmov     [rsp+98h+var_50], 0Fh                                          ; +0x7d, 0x14042f72d\nmovsd   xmm0, qword ptr cs:aDescription; \"Description\"                 ; +0x86, 0x14042f736\nmovsd   qword ptr [rsp+98h+var_68], xmm0                               ; +0x8e, 0x14042f73e\nmovzx   eax, word ptr cs:aDescription+8; \"ion\"                         ; +0x94, 0x14042f744\nmov     word ptr [rsp+98h+var_68+8], ax                                ; +0x9b, 0x14042f74b\nmovzx   eax, byte ptr cs:aDescription+0Ah; \"n\"                         ; +0xa0, 0x14042f750\nmov     [rsp+98h+var_68+0Ah], al                                       ; +0xa7, 0x14042f757\nmov     [rsp+98h+var_68+0Bh], 0                                        ; +0xab, 0x14042f75b\nmov     r9, [rbx+398h]                                                 ; +0xb0, 0x14042f760\nlea     rax, [rsp+98h+var_48]                                          ; +0xb7, 0x14042f767\nmov     [rsp+98h+var_78], rax                                          ; +0xbc, 0x14042f76c\nmov     r9d, [r9+24Ch]                                                 ; +0xc1, 0x14042f771\nmov     edx, 118h                                                      ; +0xc8, 0x14042f778\nmov     r8d, 4                                                         ; +0xcd, 0x14042f77d\nlea     rcx, [rsp+98h+var_68]                                          ; +0xd3, 0x14042f783\ncall    ShareCommentLayer__create                                      ; +0xd8, 0x14042f788\nlea     rcx, [rbx+248h]                                                ; +0xdd, 0x14042f78d\ntest    rbx, rbx                                                       ; +0xe4, 0x14042f794\ncmovz   rcx, rdi                                                       ; +0xe7, 0x14042f797\nmov     [rax+338h], rcx                                                ; +0xeb, 0x14042f79b\nmov     rcx, [rax]                                                     ; +0xf2, 0x14042f7a2\nmov     rdx, [rcx+428h]                                                ; +0xf5, 0x14042f7a5\nmov     rcx, rax                                                       ; +0xfc, 0x14042f7ac\ncall    rdx                                                            ; +0xff, 0x14042f7af\nmov     rbx, [rsp+98h+arg_8]                                           ; +0x101, 0x14042f7b1\nadd     rsp, 90h                                                       ; +0x109, 0x14042f7b9\npop     rdi                                                            ; +0x110, 0x14042f7c0\nretn                                                                   ; +0x111, 0x14042f7c1", "xrefs": ["LevelListLayer::init @ 0x14042c7e0", "<???> @ 0x140926bd0"], "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"}