{"type": "func", "start": 5371274960, "end": 5371275098, "name": "GJFollowCommandLayer::updateTextInputLabel2", "pseudocode": "// \n// GJFollowCommandLayer::updateTextInputLabel2 from 0x1402726d0 to 0x14027275a (138 bytes)\n// \n// 3 xrefs:\n// > GJFollowCommandLayer::init @ 0x14027197f\n// > GJFollowCommandLayer::onUpdateGroupID2 @ 0x14027211c\n// > <???> @ 0x1406d0e60\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\nvoid GJFollowCommandLayer::updateTextInputLabel2(GJFollowCommandLayer *a1)\n{\n  int m_followGroupID; // edx\n  char *CString; // rax\n  cocos2d::CCString *v4; // rax\n  size_t v5; // r8\n  __int128 v6; // [rsp+20h] [rbp-28h] BYREF\n  __int64 v7; // [rsp+30h] [rbp-18h]\n  __int64 v8; // [rsp+38h] [rbp-10h]\n\n  m_followGroupID = a1->m_followGroupID;\n  CString = byte_140518980;\n  a1->m_disableTextDelegate = 1;\n  if ( m_followGroupID != -99999 )\n  {\n    v4 = cocos2d::CCString::createWithFormat(\"%i\", m_followGroupID);\n    CString = (char *)cocos2d::CCString::getCString(v4);\n  }\n  v6 = 0;\n  v7 = 0;\n  v5 = -1;\n  v8 = 0;\n  do\n    ++v5;\n  while ( CString[v5] );\n  sub_14003A930(&v6, CString, v5);\n  CCTextInputNode::setString((__int64)a1->m_followIDInput, &v6);\n  a1->m_disableTextDelegate = 0;\n}", "assembly": "; \n; GJFollowCommandLayer::updateTextInputLabel2 from 0x1402726d0 to 0x14027275a (138 bytes)\n; \n; 3 xrefs:\n; > GJFollowCommandLayer::init @ 0x14027197f\n; > GJFollowCommandLayer::onUpdateGroupID2 @ 0x14027211c\n; > <???> @ 0x1406d0e60\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\npush    rbx                                                            ; +0x0, 0x1402726d0\nsub     rsp, 40h                                                       ; +0x2, 0x1402726d2\nmov     edx, [rcx+400h]                                                ; +0x6, 0x1402726d6\nlea     rax, byte_140518980                                            ; +0xc, 0x1402726dc\nmov     byte ptr [rcx+2CCh], 1                                         ; +0x13, 0x1402726e3\nmov     rbx, rcx                                                       ; +0x1a, 0x1402726ea\ncmp     edx, 0FFFE7961h                                                ; +0x1d, 0x1402726ed\njz      short loc_14027270B                                            ; +0x23, 0x1402726f3\nlea     rcx, aI_11; \"%i\"                                               ; +0x25, 0x1402726f5\ncall    cs:?createWithFormat@CCString@cocos2d@@SAPEAV12@PEBDZZ; cocos2d::CCString::createWithFormat(char const *,...) ; +0x2c, 0x1402726fc\nmov     rcx, rax                                                       ; +0x32, 0x140272702\ncall    cs:?getCString@CCString@cocos2d@@QEBAPEBDXZ; cocos2d::CCString::getCString(void) ; +0x35, 0x140272705\nxor     ecx, ecx                                                       ; +0x3b, 0x14027270b\nxorps   xmm0, xmm0                                                     ; +0x3d, 0x14027270d\nmovups  [rsp+48h+var_28], xmm0                                         ; +0x40, 0x140272710\nmov     [rsp+48h+var_18], rcx                                          ; +0x45, 0x140272715\nmov     r8, 0FFFFFFFFFFFFFFFFh                                         ; +0x4a, 0x14027271a\nmov     [rsp+48h+var_10], rcx                                          ; +0x51, 0x140272721\ninc     r8                                                             ; +0x56, 0x140272726\ncmp     [rax+r8], cl                                                   ; +0x59, 0x140272729\njnz     short loc_140272726                                            ; +0x5d, 0x14027272d\nmov     rdx, rax                                                       ; +0x5f, 0x14027272f\nlea     rcx, [rsp+48h+var_28]                                          ; +0x62, 0x140272732\ncall    sub_14003A930                                                  ; +0x67, 0x140272737\nmov     rcx, [rbx+3F8h]                                                ; +0x6c, 0x14027273c\nlea     rdx, [rsp+48h+var_28]                                          ; +0x73, 0x140272743\ncall    CCTextInputNode__setString                                     ; +0x78, 0x140272748\nmov     byte ptr [rbx+2CCh], 0                                         ; +0x7d, 0x14027274d\nadd     rsp, 40h                                                       ; +0x84, 0x140272754\npop     rbx                                                            ; +0x88, 0x140272758\nretn                                                                   ; +0x89, 0x140272759", "xrefs": ["GJFollowCommandLayer::init @ 0x14027197f", "GJFollowCommandLayer::onUpdateGroupID2 @ 0x14027211c", "<???> @ 0x1406d0e60"], "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"}