{"type": "func", "start": 4297049212, "end": 4297049320, "name": "CCTextInputNode::setParseEmotes", "pseudocode": "// \n// CCTextInputNode::setParseEmotes from 0x1001fc47c to 0x1001fc4e8 (108 bytes)\n// \n// 8 xrefs:\n// > EditLevelLayer::init @ 0x10010f500\n// > ShareCommentLayer::init @ 0x10026d1dc\n// > sub_10037C930 @ 0x10037cdac\n// > sub_1004D4894 @ 0x1004d4b54\n// > ThreadViewPopup::init @ 0x1004f8c88\n// > sub_100508F28 @ 0x100509d24\n// > sub_10050B100 @ 0x10050b320\n// > ThreadDescPopup::buildUI @ 0x100512f60\n// \n// This function is hookable on this platform (idp: arm, 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:00:43 +0000\n// \n\nvoid __fastcall CCTextInputNode::setParseEmotes(__int64 a1, int a2)\n{\n  __int64 v3; // x0\n  char *v4; // x0\n  std::string __p; // [xsp+8h] [xbp-28h] BYREF\n\n  *(_DWORD *)(a1 + 504) = a2;\n  v3 = *(_QWORD *)(a1 + 616);\n  if ( v3 )\n    sub_10011B3D8(v3, a2);\n  v4 = (char *)(*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 576) + 1248LL))(*(_QWORD *)(a1 + 576));\n  sub_100009900(&__p, v4);\n  CCTextInputNode::updateLabel(a1, &__p);\n  if ( SHIBYTE(__p.__r_.__value_.__r.__words[2]) < 0 )\n    operator delete(__p.__r_.__value_.__l.__data_);\n}", "assembly": "; \n; CCTextInputNode::setParseEmotes from 0x1001fc47c to 0x1001fc4e8 (108 bytes)\n; \n; 8 xrefs:\n; > EditLevelLayer::init @ 0x10010f500\n; > ShareCommentLayer::init @ 0x10026d1dc\n; > sub_10037C930 @ 0x10037cdac\n; > sub_1004D4894 @ 0x1004d4b54\n; > ThreadViewPopup::init @ 0x1004f8c88\n; > sub_100508F28 @ 0x100509d24\n; > sub_10050B100 @ 0x10050b320\n; > ThreadDescPopup::buildUI @ 0x100512f60\n; \n; This function is hookable on this platform (idp: arm, 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:00:43 +0000\n; \nSUB             SP, SP, #0x40                                          ; +0x0, 0x1001fc47c\nSTP             X20, X19, [SP,#0x30+var_10]                            ; +0x4, 0x1001fc480\nSTP             X29, X30, [SP,#0x30+var_s0]                            ; +0x8, 0x1001fc484\nADD             X29, SP, #0x30                                         ; +0xc, 0x1001fc488\nMOV             X19, X0                                                ; +0x10, 0x1001fc48c\nSTR             W1, [X0,#0x1F8]                                        ; +0x14, 0x1001fc490\nLDR             X0, [X0,#0x268]                                        ; +0x18, 0x1001fc494\nCBZ             X0, loc_1001FC4A0                                      ; +0x1c, 0x1001fc498\nBL              sub_10011B3D8                                          ; +0x20, 0x1001fc49c\nLDR             X0, [X19,#0x240]                                       ; +0x24, 0x1001fc4a0\nLDR             X8, [X0]                                               ; +0x28, 0x1001fc4a4\nLDR             X8, [X8,#0x4E0]                                        ; +0x2c, 0x1001fc4a8\nBLR             X8                                                     ; +0x30, 0x1001fc4ac\nMOV             X1, X0; __s                                            ; +0x34, 0x1001fc4b0\nADD             X0, SP, #0x30+__p; int                                 ; +0x38, 0x1001fc4b4\nBL              sub_100009900                                          ; +0x3c, 0x1001fc4b8\nADD             X1, SP, #0x30+__p                                      ; +0x40, 0x1001fc4bc\nMOV             X0, X19                                                ; +0x44, 0x1001fc4c0\nBL              CCTextInputNode__updateLabel                           ; +0x48, 0x1001fc4c4\nLDRSB           W8, [SP,#0x30+var_11]                                  ; +0x4c, 0x1001fc4c8\nTBZ             W8, #0x1F, loc_1001FC4D8                               ; +0x50, 0x1001fc4cc\nLDR             X0, [SP,#0x30+__p]; __p                                ; +0x54, 0x1001fc4d0\nBL              __ZdlPv; operator delete(void *)                       ; +0x58, 0x1001fc4d4\nLDP             X29, X30, [SP,#0x30+var_s0]                            ; +0x5c, 0x1001fc4d8\nLDP             X20, X19, [SP,#0x30+var_10]                            ; +0x60, 0x1001fc4dc\nADD             SP, SP, #0x40 ; '@'                                    ; +0x64, 0x1001fc4e0\nRET                                                                    ; +0x68, 0x1001fc4e4", "xrefs": ["EditLevelLayer::init @ 0x10010f500", "ShareCommentLayer::init @ 0x10026d1dc", "sub_10037C930 @ 0x10037cdac", "sub_1004D4894 @ 0x1004d4b54", "ThreadViewPopup::init @ 0x1004f8c88", "sub_100508F28 @ 0x100509d24", "sub_10050B100 @ 0x10050b320", "ThreadDescPopup::buildUI @ 0x100512f60"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "arm", "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"}