{"type": "func", "start": 4296242456, "end": 4296242596, "name": "GJFollowCommandLayer::updateTextInputLabel2", "pseudocode": "// \n// GJFollowCommandLayer::updateTextInputLabel2 from 0x100137518 to 0x1001375a4 (140 bytes)\n// \n// 2 xrefs:\n// > GJFollowCommandLayer::init @ 0x100137100\n// > GJFollowCommandLayer::onUpdateGroupID2 @ 0x10013746c\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::updateTextInputLabel2(GJFollowCommandLayer *a1)\n{\n  char *CString; // x1\n  cocos2d::CCString *v3; // x0\n  CCTextInputNode *m_followIDInput; // 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_followGroupID == -99999 )\n  {\n    CString = \"\";\n  }\n  else\n  {\n    v3 = (cocos2d::CCString *)sub_100268F4C(\"%i\", a1->m_followGroupID);\n    CString = (char *)cocos2d::CCString::getCString(v3);\n  }\n  m_followIDInput = a1->m_followIDInput;\n  sub_100009900(__p, CString);\n  CCTextInputNode::setString(m_followIDInput, __p);\n  if ( v6 < 0 )\n    operator delete(__p[0]);\n  a1->m_disableTextDelegate = 0;\n}", "assembly": "; \n; GJFollowCommandLayer::updateTextInputLabel2 from 0x100137518 to 0x1001375a4 (140 bytes)\n; \n; 2 xrefs:\n; > GJFollowCommandLayer::init @ 0x100137100\n; > GJFollowCommandLayer::onUpdateGroupID2 @ 0x10013746c\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, 0x100137518\nSTP             X20, X19, [SP,#0x30+var_10]                            ; +0x4, 0x10013751c\nSTP             X29, X30, [SP,#0x30+var_s0]                            ; +0x8, 0x100137520\nADD             X29, SP, #0x30                                         ; +0xc, 0x100137524\nMOV             X19, X0                                                ; +0x10, 0x100137528\nMOV             W8, #1                                                 ; +0x14, 0x10013752c\nSTRB            W8, [X0,#0x2CC]                                        ; +0x18, 0x100137530\nLDR             W8, [X0,#0x408]                                        ; +0x1c, 0x100137534\nADD             W9, W8, #0x18,LSL#12                                   ; +0x20, 0x100137538\nCMN             W9, #0x69F                                             ; +0x24, 0x10013753c\nB.NE            loc_100137550                                          ; +0x28, 0x100137540\nADRL            X1, asc_100746688; \"\"                                  ; +0x2c, 0x100137544\nB               loc_100137568                                          ; +0x34, 0x10013754c\nSTR             X8, [SP,#0x30+var_30]                                  ; +0x38, 0x100137550\nADRL            X0, aI; \"%i\"                                           ; +0x3c, 0x100137554\nBL              sub_100268F4C                                          ; +0x44, 0x10013755c\nBL              cocos2d__CCString__getCString                          ; +0x48, 0x100137560\nMOV             X1, X0; __s                                            ; +0x4c, 0x100137564\nLDR             X20, [X19,#0x400]                                      ; +0x50, 0x100137568\nADD             X0, SP, #0x30+__p; int                                 ; +0x54, 0x10013756c\nBL              sub_100009900                                          ; +0x58, 0x100137570\nADD             X1, SP, #0x30+__p                                      ; +0x5c, 0x100137574\nMOV             X0, X20                                                ; +0x60, 0x100137578\nBL              CCTextInputNode__setString                             ; +0x64, 0x10013757c\nLDRSB           W8, [SP,#0x30+var_11]                                  ; +0x68, 0x100137580\nTBZ             W8, #0x1F, loc_100137590                               ; +0x6c, 0x100137584\nLDR             X0, [SP,#0x30+__p]; __p                                ; +0x70, 0x100137588\nBL              __ZdlPv; operator delete(void *)                       ; +0x74, 0x10013758c\nSTRB            WZR, [X19,#0x2CC]                                      ; +0x78, 0x100137590\nLDP             X29, X30, [SP,#0x30+var_s0]                            ; +0x7c, 0x100137594\nLDP             X20, X19, [SP,#0x30+var_10]                            ; +0x80, 0x100137598\nADD             SP, SP, #0x40 ; '@'                                    ; +0x84, 0x10013759c\nRET                                                                    ; +0x88, 0x1001375a0", "xrefs": ["GJFollowCommandLayer::init @ 0x100137100", "GJFollowCommandLayer::onUpdateGroupID2 @ 0x10013746c"], "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"}