{"type": "func", "start": 5371885664, "end": 5371885868, "name": "LevelListLayer::onDescription", "pseudocode": "// \n// LevelListLayer::onDescription from 0x140307860 to 0x14030792c (204 bytes)\n// \n// 2 xrefs:\n// > LevelListLayer::init @ 0x140304a1f\n// > <???> @ 0x1406d44fc\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// Hidden C++ exception states: #wind=1\nvoid LevelListLayer::onDescription(LevelListLayer *a1, cocos2d::CCObject *a2)\n{\n  __int64 UnpackedDescription; // rax\n  _QWORD *v4; // rax\n  ShareCommentDelegate *v5; // rcx\n  _DWORD v6[4]; // [rsp+30h] [rbp-48h] BYREF\n  __int64 v7; // [rsp+40h] [rbp-38h]\n  __int64 v8; // [rsp+48h] [rbp-30h]\n  __int64 v9; // [rsp+50h] [rbp-28h] BYREF\n\n  if ( !a1->m_exiting )\n  {\n    UnpackedDescription = GJLevelList::getUnpackedDescription((__int64)a1->m_levelList, (__int64)&v9);\n    v6[3] = 0;\n    v7 = 11;\n    v8 = 15;\n    strcpy((char *)v6, \"Description\");\n    v4 = (_QWORD *)ShareCommentLayer::create((unsigned int)v6, 300, 4, a1->m_levelList->m_M_ID, UnpackedDescription);\n    v5 = &a1->ShareCommentDelegate;\n    if ( !a1 )\n      v5 = nullptr;\n    v4[97] = v5;\n    (*(void (__fastcall **)(_QWORD *))(*v4 + 1040LL))(v4);\n  }\n}", "assembly": "; \n; LevelListLayer::onDescription from 0x140307860 to 0x14030792c (204 bytes)\n; \n; 2 xrefs:\n; > LevelListLayer::init @ 0x140304a1f\n; > <???> @ 0x1406d44fc\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     r11, rsp                                                       ; +0x0, 0x140307860\nmov     [r11+10h], rbx                                                 ; +0x3, 0x140307863\npush    rdi                                                            ; +0x7, 0x140307867\nsub     rsp, 70h                                                       ; +0x8, 0x140307868\nmov     rbx, rcx                                                       ; +0xc, 0x14030786c\ncmp     byte ptr [rcx+398h], 0                                         ; +0xf, 0x14030786f\njnz     loc_14030791E                                                  ; +0x16, 0x140307876\nlea     rax, [r11-28h]                                                 ; +0x1c, 0x14030787c\nmov     [r11+8], rax                                                   ; +0x20, 0x140307880\nlea     rdx, [r11-28h]                                                 ; +0x24, 0x140307884\nmov     rcx, [rcx+368h]                                                ; +0x28, 0x140307888\ncall    GJLevelList__getUnpackedDescription                            ; +0x2f, 0x14030788f\nnop                                                                    ; +0x34, 0x140307894\nxor     edi, edi                                                       ; +0x35, 0x140307895\nmov     dword ptr [rsp+78h+var_48+0Ch], edi                            ; +0x37, 0x140307897\nmov     [rsp+78h+var_38], 0Bh                                          ; +0x3b, 0x14030789b\nmov     [rsp+78h+var_30], 0Fh                                          ; +0x44, 0x1403078a4\nmovsd   xmm0, cs:qword_1405885A0                                       ; +0x4d, 0x1403078ad\nmovsd   qword ptr [rsp+78h+var_48], xmm0                               ; +0x55, 0x1403078b5\nmovzx   ecx, cs:word_1405885A8                                         ; +0x5b, 0x1403078bb\nmov     word ptr [rsp+78h+var_48+8], cx                                ; +0x62, 0x1403078c2\nmovzx   ecx, cs:byte_1405885AA                                         ; +0x67, 0x1403078c7\nmov     [rsp+78h+var_48+0Ah], cl                                       ; +0x6e, 0x1403078ce\nmov     [rsp+78h+var_48+0Bh], dil                                      ; +0x72, 0x1403078d2\nmov     r9, [rbx+368h]                                                 ; +0x77, 0x1403078d7\nmov     [rsp+78h+var_58], rax                                          ; +0x7e, 0x1403078de\nmov     r9d, [r9+244h]                                                 ; +0x83, 0x1403078e3\nmov     edx, 12Ch                                                      ; +0x8a, 0x1403078ea\nlea     r8d, [rdi+4]                                                   ; +0x8f, 0x1403078ef\nlea     rcx, [rsp+78h+var_48]                                          ; +0x93, 0x1403078f3\ncall    ShareCommentLayer__create                                      ; +0x98, 0x1403078f8\nlea     rcx, [rbx+248h]                                                ; +0x9d, 0x1403078fd\ntest    rbx, rbx                                                       ; +0xa4, 0x140307904\ncmovz   rcx, rdi                                                       ; +0xa7, 0x140307907\nmov     [rax+308h], rcx                                                ; +0xab, 0x14030790b\nmov     rdx, [rax]                                                     ; +0xb2, 0x140307912\nmov     rcx, rax                                                       ; +0xb5, 0x140307915\ncall    qword ptr [rdx+410h]                                           ; +0xb8, 0x140307918\nmov     rbx, [rsp+78h+arg_8]                                           ; +0xbe, 0x14030791e\nadd     rsp, 70h                                                       ; +0xc6, 0x140307926\npop     rdi                                                            ; +0xca, 0x14030792a\nretn                                                                   ; +0xcb, 0x14030792b", "xrefs": ["LevelListLayer::init @ 0x140304a1f", "<???> @ 0x1406d44fc"], "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"}