{"type": "func", "start": 4296409104, "end": 4296409244, "name": "GJPFollowCommandLayer::updateTextInputLabel", "pseudocode": "// \n// GJPFollowCommandLayer::updateTextInputLabel from 0x100160010 to 0x10016009c (140 bytes)\n// \n// 2 xrefs:\n// > GJPFollowCommandLayer::init @ 0x10015fcb4\n// > GJPFollowCommandLayer::onUpdateGroupID @ 0x10016000c\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 __fastcall GJPFollowCommandLayer::updateTextInputLabel(GJPFollowCommandLayer *a1)\n{\n  char *CString; // x1\n  cocos2d::CCString *v3; // x0\n  CCTextInputNode *m_targetIDInput; // x20\n  void *__p[2]; // [xsp+8h] [xbp-28h] BYREF\n  char v6; // [xsp+1Fh] [xbp-11h]\n\n  a1->m_disableTextDelegate = 1;\n  if ( a1->m_targetGroupID == -99999 )\n  {\n    CString = \"\";\n  }\n  else\n  {\n    v3 = (cocos2d::CCString *)sub_100268F4C(\"%i\", a1->m_targetGroupID);\n    CString = (char *)cocos2d::CCString::getCString(v3);\n  }\n  m_targetIDInput = a1->m_targetIDInput;\n  sub_100009900(__p, CString);\n  CCTextInputNode::setString(m_targetIDInput, __p);\n  if ( v6 < 0 )\n    operator delete(__p[0]);\n  a1->m_disableTextDelegate = 0;\n}", "assembly": "; \n; GJPFollowCommandLayer::updateTextInputLabel from 0x100160010 to 0x10016009c (140 bytes)\n; \n; 2 xrefs:\n; > GJPFollowCommandLayer::init @ 0x10015fcb4\n; > GJPFollowCommandLayer::onUpdateGroupID @ 0x10016000c\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\nSUB             SP, SP, #0x40                                          ; +0x0, 0x100160010\nSTP             X20, X19, [SP,#0x30+var_10]                            ; +0x4, 0x100160014\nSTP             X29, X30, [SP,#0x30+var_s0]                            ; +0x8, 0x100160018\nADD             X29, SP, #0x30                                         ; +0xc, 0x10016001c\nMOV             X19, X0                                                ; +0x10, 0x100160020\nMOV             W8, #1                                                 ; +0x14, 0x100160024\nSTRB            W8, [X0,#0x2CC]                                        ; +0x18, 0x100160028\nLDR             W8, [X0,#0x410]                                        ; +0x1c, 0x10016002c\nADD             W9, W8, #0x18,LSL#12                                   ; +0x20, 0x100160030\nCMN             W9, #0x69F                                             ; +0x24, 0x100160034\nB.NE            loc_100160048                                          ; +0x28, 0x100160038\nADRL            X1, asc_100746688; \"\"                                  ; +0x2c, 0x10016003c\nB               loc_100160060                                          ; +0x34, 0x100160044\nSTR             X8, [SP,#0x30+var_30]                                  ; +0x38, 0x100160048\nADRL            X0, aI; \"%i\"                                           ; +0x3c, 0x10016004c\nBL              sub_100268F4C                                          ; +0x44, 0x100160054\nBL              cocos2d__CCString__getCString                          ; +0x48, 0x100160058\nMOV             X1, X0; __s                                            ; +0x4c, 0x10016005c\nLDR             X20, [X19,#0x408]                                      ; +0x50, 0x100160060\nADD             X0, SP, #0x30+__p; int                                 ; +0x54, 0x100160064\nBL              sub_100009900                                          ; +0x58, 0x100160068\nADD             X1, SP, #0x30+__p                                      ; +0x5c, 0x10016006c\nMOV             X0, X20                                                ; +0x60, 0x100160070\nBL              CCTextInputNode__setString                             ; +0x64, 0x100160074\nLDRSB           W8, [SP,#0x30+var_11]                                  ; +0x68, 0x100160078\nTBZ             W8, #0x1F, loc_100160088                               ; +0x6c, 0x10016007c\nLDR             X0, [SP,#0x30+__p]; __p                                ; +0x70, 0x100160080\nBL              __ZdlPv; operator delete(void *)                       ; +0x74, 0x100160084\nSTRB            WZR, [X19,#0x2CC]                                      ; +0x78, 0x100160088\nLDP             X29, X30, [SP,#0x30+var_s0]                            ; +0x7c, 0x10016008c\nLDP             X20, X19, [SP,#0x30+var_10]                            ; +0x80, 0x100160090\nADD             SP, SP, #0x40 ; '@'                                    ; +0x84, 0x100160094\nRET                                                                    ; +0x88, 0x100160098", "xrefs": ["GJPFollowCommandLayer::init @ 0x10015fcb4", "GJPFollowCommandLayer::onUpdateGroupID @ 0x10016000c"], "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"}