{"type": "func", "start": 4296242288, "end": 4296242428, "name": "GJFollowCommandLayer::updateTextInputLabel", "pseudocode": "// \n// GJFollowCommandLayer::updateTextInputLabel from 0x100137470 to 0x1001374fc (140 bytes)\n// \n// 2 xrefs:\n// > GJFollowCommandLayer::init @ 0x1001370f8\n// > GJFollowCommandLayer::onUpdateGroupID @ 0x100137410\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 GJFollowCommandLayer::updateTextInputLabel(GJFollowCommandLayer *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; GJFollowCommandLayer::updateTextInputLabel from 0x100137470 to 0x1001374fc (140 bytes)\n; \n; 2 xrefs:\n; > GJFollowCommandLayer::init @ 0x1001370f8\n; > GJFollowCommandLayer::onUpdateGroupID @ 0x100137410\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, 0x100137470\nSTP             X20, X19, [SP,#0x30+var_10]                            ; +0x4, 0x100137474\nSTP             X29, X30, [SP,#0x30+var_s0]                            ; +0x8, 0x100137478\nADD             X29, SP, #0x30                                         ; +0xc, 0x10013747c\nMOV             X19, X0                                                ; +0x10, 0x100137480\nMOV             W8, #1                                                 ; +0x14, 0x100137484\nSTRB            W8, [X0,#0x2CC]                                        ; +0x18, 0x100137488\nLDR             W8, [X0,#0x3F8]                                        ; +0x1c, 0x10013748c\nADD             W9, W8, #0x18,LSL#12                                   ; +0x20, 0x100137490\nCMN             W9, #0x69F                                             ; +0x24, 0x100137494\nB.NE            loc_1001374A8                                          ; +0x28, 0x100137498\nADRL            X1, asc_100746688; \"\"                                  ; +0x2c, 0x10013749c\nB               loc_1001374C0                                          ; +0x34, 0x1001374a4\nSTR             X8, [SP,#0x30+var_30]                                  ; +0x38, 0x1001374a8\nADRL            X0, aI; \"%i\"                                           ; +0x3c, 0x1001374ac\nBL              sub_100268F4C                                          ; +0x44, 0x1001374b4\nBL              cocos2d__CCString__getCString                          ; +0x48, 0x1001374b8\nMOV             X1, X0; __s                                            ; +0x4c, 0x1001374bc\nLDR             X20, [X19,#0x3F0]                                      ; +0x50, 0x1001374c0\nADD             X0, SP, #0x30+__p; int                                 ; +0x54, 0x1001374c4\nBL              sub_100009900                                          ; +0x58, 0x1001374c8\nADD             X1, SP, #0x30+__p                                      ; +0x5c, 0x1001374cc\nMOV             X0, X20                                                ; +0x60, 0x1001374d0\nBL              CCTextInputNode__setString                             ; +0x64, 0x1001374d4\nLDRSB           W8, [SP,#0x30+var_11]                                  ; +0x68, 0x1001374d8\nTBZ             W8, #0x1F, loc_1001374E8                               ; +0x6c, 0x1001374dc\nLDR             X0, [SP,#0x30+__p]; __p                                ; +0x70, 0x1001374e0\nBL              __ZdlPv; operator delete(void *)                       ; +0x74, 0x1001374e4\nSTRB            WZR, [X19,#0x2CC]                                      ; +0x78, 0x1001374e8\nLDP             X29, X30, [SP,#0x30+var_s0]                            ; +0x7c, 0x1001374ec\nLDP             X20, X19, [SP,#0x30+var_10]                            ; +0x80, 0x1001374f0\nADD             SP, SP, #0x40 ; '@'                                    ; +0x84, 0x1001374f4\nRET                                                                    ; +0x88, 0x1001374f8", "xrefs": ["GJFollowCommandLayer::init @ 0x1001370f8", "GJFollowCommandLayer::onUpdateGroupID @ 0x100137410"], "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"}