{"type": "func", "start": 5369058272, "end": 5369058393, "name": "CCTextInputNode::setParseEmotes", "pseudocode": "// \n// CCTextInputNode::setParseEmotes from 0x1400553e0 to 0x140055459 (121 bytes)\n// \n// 9 xrefs:\n// > ThreadViewPopup::init @ 0x1400da2cf\n// > NewThreadPopup::init @ 0x1400efff0\n// > NewThreadPopup::applyMode @ 0x1400f0e01\n// > ThreadDescPopup::buildUI @ 0x1400fcc9f\n// > EditLevelLayer::init @ 0x140178e04\n// > SoundPackDescPopup::init @ 0x1401995b0\n// > SetTextPopup::init @ 0x1403a77d0\n// > ShareCommentLayer::init @ 0x14062ef78\n// > <???> @ 0x140910340\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:25:40 +0000\n// \n\n__int64 __fastcall CCTextInputNode::setParseEmotes(__int64 a1, int a2)\n{\n  __int64 v2; // rax\n  _BYTE *v4; // rax\n  size_t v5; // r8\n  __int128 v7; // [rsp+20h] [rbp-28h] BYREF\n  __int64 v8; // [rsp+30h] [rbp-18h]\n  __int64 v9; // [rsp+38h] [rbp-10h]\n\n  v2 = *(_QWORD *)(a1 + 632);\n  *(_DWORD *)(a1 + 520) = a2;\n  if ( v2 )\n    *(_DWORD *)(v2 + 604) = a2;\n  v4 = (_BYTE *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)(*(_QWORD *)(a1 + 592) + 600LL) + 8LL))(*(_QWORD *)(a1 + 592) + 600LL);\n  v7 = 0;\n  v8 = 0;\n  v5 = -1;\n  v9 = 0;\n  do\n    ++v5;\n  while ( v4[v5] );\n  sub_14003D230(&v7, v4, v5);\n  return CCTextInputNode::updateLabel(a1, &v7);\n}", "assembly": "; \n; CCTextInputNode::setParseEmotes from 0x1400553e0 to 0x140055459 (121 bytes)\n; \n; 9 xrefs:\n; > ThreadViewPopup::init @ 0x1400da2cf\n; > NewThreadPopup::init @ 0x1400efff0\n; > NewThreadPopup::applyMode @ 0x1400f0e01\n; > ThreadDescPopup::buildUI @ 0x1400fcc9f\n; > EditLevelLayer::init @ 0x140178e04\n; > SoundPackDescPopup::init @ 0x1401995b0\n; > SetTextPopup::init @ 0x1403a77d0\n; > ShareCommentLayer::init @ 0x14062ef78\n; > <???> @ 0x140910340\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:25:40 +0000\n; \npush    rbx                                                            ; +0x0, 0x1400553e0\nsub     rsp, 40h                                                       ; +0x2, 0x1400553e2\nmov     rax, [rcx+278h]                                                ; +0x6, 0x1400553e6\nmov     rbx, rcx                                                       ; +0xd, 0x1400553ed\nmov     [rcx+208h], edx                                                ; +0x10, 0x1400553f0\ntest    rax, rax                                                       ; +0x16, 0x1400553f6\njz      short loc_140055401                                            ; +0x19, 0x1400553f9\nmov     [rax+25Ch], edx                                                ; +0x1b, 0x1400553fb\nmov     rcx, [rcx+250h]                                                ; +0x21, 0x140055401\nadd     rcx, 258h                                                      ; +0x28, 0x140055408\nmov     rax, [rcx]                                                     ; +0x2f, 0x14005540f\ncall    qword ptr [rax+8]                                              ; +0x32, 0x140055412\nxor     ecx, ecx                                                       ; +0x35, 0x140055415\nxorps   xmm0, xmm0                                                     ; +0x37, 0x140055417\nmovups  [rsp+48h+var_28], xmm0                                         ; +0x3a, 0x14005541a\nmov     [rsp+48h+var_18], rcx                                          ; +0x3f, 0x14005541f\nmov     r8, 0FFFFFFFFFFFFFFFFh                                         ; +0x44, 0x140055424\nmov     [rsp+48h+var_10], rcx                                          ; +0x4b, 0x14005542b\ninc     r8                                                             ; +0x50, 0x140055430\ncmp     [rax+r8], cl                                                   ; +0x53, 0x140055433\njnz     short loc_140055430                                            ; +0x57, 0x140055437\nmov     rdx, rax                                                       ; +0x59, 0x140055439\nlea     rcx, [rsp+48h+var_28]                                          ; +0x5c, 0x14005543c\ncall    sub_14003D230                                                  ; +0x61, 0x140055441\nlea     rdx, [rsp+48h+var_28]                                          ; +0x66, 0x140055446\nmov     rcx, rbx                                                       ; +0x6b, 0x14005544b\ncall    CCTextInputNode__updateLabel                                   ; +0x6e, 0x14005544e\nadd     rsp, 40h                                                       ; +0x73, 0x140055453\npop     rbx                                                            ; +0x77, 0x140055457\nretn                                                                   ; +0x78, 0x140055458", "xrefs": ["ThreadViewPopup::init @ 0x1400da2cf", "NewThreadPopup::init @ 0x1400efff0", "NewThreadPopup::applyMode @ 0x1400f0e01", "ThreadDescPopup::buildUI @ 0x1400fcc9f", "EditLevelLayer::init @ 0x140178e04", "SoundPackDescPopup::init @ 0x1401995b0", "SetTextPopup::init @ 0x1403a77d0", "ShareCommentLayer::init @ 0x14062ef78", "<???> @ 0x140910340"], "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"}